openai-cookbook VS askai

Compare openai-cookbook vs askai and see what are their differences.

askai

Command Line Interface for OpenAi ChatGPT (by yudax42)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
openai-cookbook askai
215 1,752
55,954 86
1.0% -
9.5 10.0
6 days ago over 1 year ago
MDX TypeScript
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

openai-cookbook

Posts with mentions or reviews of openai-cookbook. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.

askai

Posts with mentions or reviews of askai. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • The ChatGPT URL have changed
    1 project | news.ycombinator.com | 4 May 2024
  • Chat.openai.com now redirects (me) to chatgpt.com
    1 project | news.ycombinator.com | 3 May 2024
  • Unofficial ChatGPT API
    2 projects | news.ycombinator.com | 3 May 2024
    This API allows you to interact with ChatGPT programmatically, and I've built some cool agents on top of it. Check out the code and let me know what you think! :

    ChatGPT unofficial API :

    This project is a Node.js application that interacts with the ChatGPT conversational AI model using Puppeteer, a Node.js library for automating web browsers.

    Files chatgptv1.js: This file contains the main logic for the ChatGPT bot, including methods for initializing the browser, sending messages, receiving replies, and handling errors.

    bart.js: This file contains a function that uses the Cloudflare API to summarize the conversation history when an error occurs, in order to resume the conversation.

    twochatbotsconv.js: This file is simple use of the API , which creates two instances of the ChatGPT class, initiates a conversation between them, and saves the conversation history to a file.

    .env: This file contains the API token for the Cloudflare API, which is used in the bart.js file.

    Dependencies :

    puppeteer: A Node.js library for automating web browsers. fs: The built-in file system module in Node.js. winston: A logging library for Node.js. crypto: The built-in cryptography module in Node.js. axios: A popular HTTP client library for Node.js. dotenv: A zero-dependency module that loads environment variables from a .env file.

    Usage:

    Install the dependencies by running npm install in your project directory. Create a .env file in the project directory and add your Cloudflare API token:

    API_TOKEN=YourfreeCloudFlareAPIToken In your code, create a new instance of the ChatGPT class and use the sendMessage and getReply methods to interact with the ChatGPT model:

    const ChatGPT = require('./chatgptv1');

    const chatgpt = new ChatGPT(); await chatgpt.initializeBrowser();

    await chatgpt.sendMessage('Hello, ChatGPT!'); const reply = await chatgpt.getReply(); console.log(reply);

    await chatgpt.closeBrowser(); If an error occurs during the conversation, the handleError method will attempt to save the conversation history and resume the conversation using the summarized context.

    Before Running :

    run Google chrom in the debug mode using 9220 port , run : google-chrome-stable --remote-debugging-port=9222

    Customization :

    You can customize the behavior of the ChatGPT bot by passing options to the ChatGPT constructor:

    chatbotUrl: The URL of the ChatGPT interface (default: 'https://chat.openai.com/'). headless: Whether to run the browser in headless mode (default: false). saveConversationCallback: A callback function that will be called with the conversation summary and the conversation file name when an error occurs.

    License:

    This project is licensed under the MIT License.

  • It's a shame – chat.openai.com redirect to chatgpt.com is broken
    1 project | news.ycombinator.com | 2 May 2024
  • Building a Basic Forex Rate Assistant Using Agents for Amazon Bedrock
    4 projects | dev.to | 29 Apr 2024
    After wrestling with it for a bit and eventually giving up, I instead turned to ChatGPT to see if it is smart enough for the task. With my free plan, I asked ChatGPT 3.5 the following:
  • Learn to ask for help
    2 projects | dev.to | 20 Apr 2024
  • How to build a custom GPT: Step-by-step tutorial
    1 project | dev.to | 18 Apr 2024
    Go to chat.openai.com and log in
  • Chat.openai.com no longer requires login
    1 project | news.ycombinator.com | 14 Apr 2024
  • Integrating Strapi with ChatGPT and Next.js
    3 projects | dev.to | 12 Apr 2024
    In this tutorial, we will learn how to use Strapi, ChatGPT, and Next.js to build an app that displays recipes using AI.
  • GPT-4 Turbo with Vision is a step backwards for coding
    5 projects | news.ycombinator.com | 10 Apr 2024
    Maybe I am bit dim, but how one can choose GPT-4 Turbo? Is this available from https://chat.openai.com/ ?

What are some alternatives?

When comparing openai-cookbook and askai you can also consider the following projects:

langchain - ⚡ Building applications with LLMs through composability ⚡ [Moved to: https://github.com/langchain-ai/langchain]

ChatGPT - 🔮 ChatGPT Desktop Application (Mac, Windows and Linux)

gpt4-pdf-chatbot-langchain - GPT4 & LangChain Chatbot for large PDF docs

gpt-4chan-model

chatgpt-retrieval-plugin - The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language.

ai-cli - Get answers for CLI commands from ChatGPT right from your terminal

gpt_index - LlamaIndex (GPT Index) is a project that provides a central interface to connect your LLM's with external data. [Moved to: https://github.com/jerryjliu/llama_index]

KoboldAI-Client

txtai - 💡 All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows

text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.

knowledge_gpt - Accurate answers and instant citations for your documents.

civitai - A repository of models, textual inversions, and more