ruby-openai
openai-cookbook
ruby-openai | openai-cookbook | |
---|---|---|
12 | 215 | |
2,429 | 55,954 | |
- | 1.0% | |
9.5 | 9.5 | |
5 days ago | 6 days ago | |
Ruby | MDX | |
MIT License | MIT License |
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.
ruby-openai
-
tiktoken_ruby VS ruby-openai - a user suggested alternative
2 projects | 3 May 2024
If you are using Open AI's API, this tokenizer is more accurate than the one coming with `ruby-openai` gem.
-
ruby and ML/AI chatgpt
ruby-openai
-
Building an app around a LLM, Rails + Python or just Python?
If you can just interact with OpenAI api directly without langchain then that eliminates need for python. Here’s a gem for interacting with the OpenAI api : https://github.com/alexrudall/ruby-openai
- Use OpenAI embeddings with Rails?
-
I need help building a Chatbot using Openai Chatgpt API
There is a gem developed by Alex - https://github.com/alexrudall/ruby-openai.
-
Looking for self-hosted tools with OpenAI API support
I've been playing with ruby-openai, a Ruby gem (ie, library) that interfaces with the OpenAI API. I'm building myself a small movie-recommendation tool, just a personal need, as well as to teach myself how this stuff works. It's unlikely I'll ever build it into a proper app, as I'm okay with interacting in the shell and with text files, versus a web-based thing. But if there's interest, I'll push my tool up to Github.
-
Creating AI assistant with GPT and Ruby and Redis using embeddings
Can use https://github.com/alexrudall/ruby-openai to do this sort of thing also :)
- OpenAI API and Ruby Now with ChatGPT
-
ChatGPT and Whisper APIs
Added to the Ruby library here if any Rubyists interested! https://github.com/alexrudall/ruby-openai
- development around data and AI libraries in the Ruby world
openai-cookbook
-
Question-Answer System Architectures using LLMs
A pretrained LLM is a closed-book system: It can only access information that it was trained on. With domain fine-tuning, the system manifests additional material. An early prototype of this technique was shown in this OpenAi cookbook: For the target domain, text was embedded using an API, and then when using the LLM, embeddings were retrieved using semantic similarity search to formulate an answer. Although this approach evolved to retrieval-augmented generation, its still a technique to adapt a Gen2 (2020) or Gen3 (2022) LLM into a question-answering system.
-
Ask HN: High quality Python scripts or small libraries to learn from
https://github.com/openai/openai-cookbook/blob/main/examples...
- Collection of notebooks showcasing some fun and effective ways of using Claude
- OpenAI Cookbook: Techniques to improve reliability
- OpenAI Cookbooks
-
How to fine tune vit/convnet to focus on the layout of the input room image and ignore other things ?
It sounds like you are trying to tweak embeddings for similarity search. Rather than fine-tune the model's layers, you may want to try training a linear transformation the existing model's output embedding. Openai has a cookbook on how to do that. You will need some data though - but I think you can try it with ~20 pieces of synthetically generated data.
-
Best base model 1B or 7B for full finetuning
tutorial from OpenAI https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb
-
Resources to learn ChatGPT and the OpenAI API
OpenAI Cookbook
- OpenAI Cookbook
-
Another Major Outage Across ChatGPT and API
OpenAI community repo with lots of examples: https://github.com/openai/openai-cookbook
What are some alternatives?
langchainrb - Build LLM-powered applications in Ruby
langchain - ⚡ Building applications with LLMs through composability ⚡ [Moved to: https://github.com/langchain-ai/langchain]
chat-with-gpt - An open-source ChatGPT app with a voice
gpt4-pdf-chatbot-langchain - GPT4 & LangChain Chatbot for large PDF docs
boxcars - Building applications with composability using Boxcars with LLM's. Inspired by LangChain.
chatgpt-retrieval-plugin - The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language.
pycall.rb - Calling Python functions from the Ruby language
askai - Command Line Interface for OpenAi ChatGPT
discourse-ai
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]
openai-python - The official Python library for the OpenAI API
txtai - 💡 All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows