ruby-openai
ruby-openai | discourse-ai | |
---|---|---|
12 | 2 | |
2,429 | 54 | |
- | - | |
9.5 | 9.7 | |
5 days ago | 4 days ago | |
Ruby | Ruby | |
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
discourse-ai
-
Show HN: I scraped all of OpenAI's Community Forum
That's super cool, thanks for sharing! I will share this as an easy to follow example of what we can with AI.
> Allowing a Q&A interface using these embeddings over the post contents could speed up research over the community posts (if you know the right questions to ask :P). Let's view some posts similar to this one complaining about function calling
That's indeed a great thing to surface, and that's exactly how the the OpenAI forum selects the "Related Topics" to show at the end of every topic. We use embeddings for this feature, and the entire thing is open-source: https://github.com/discourse/discourse-ai/blob/main/lib/embe...
We also embeddings for suggesting tags, categories, HyDE search and more. It's by far my favorite tech of this new AI/ML gen so far in terms of applicability.
> Using Twitter-roBERTa-base for sentiment analysis, we generated a post_sentiment label (negative, positive, neutral) and post_sentiment_score confidence score for each post.
We do the same, with even the same model, and conveniently show that information on the admin interface of the forum. Again all open source: https://github.com/discourse/discourse-ai/tree/main/lib/sent...
Disclaimer: I'm the tech lead on the AI parts of Discourse, the open source software that powers OpenAI's community forum.
-
Workers AI: serverless GPU-powered inference on Cloudflare’s global network
Embedding cost and model choice makes this a very compelling choice. I'm working on leveraging embeddings in https://github.com/discourse/discourse-ai where it powers offering related topics, semantic search, tag and category recommendations among other things.
A cheap offering like this can make it a lot more reasonable for self-hosters.
What are some alternatives?
langchainrb - Build LLM-powered applications in Ruby
get-beam - Run GPU inference and training jobs on serverless infrastructure that scales with you.
chat-with-gpt - An open-source ChatGPT app with a voice
deep-chat - Fully customizable AI chatbot component for your website
boxcars - Building applications with composability using Boxcars with LLM's. Inspired by LangChain.
whisper-turbo - Cross-Platform, GPU Accelerated Whisper 🏎️
pycall.rb - Calling Python functions from the Ruby language
ChatGPT3-Free-Prompt-List - A free guide for learning to create ChatGPT3 Prompts
openai-python - The official Python library for the OpenAI API
ask_chatgpt - AI-Powered Assistant Gem right in your Rails console. Full power of ChatGPT in Rails
gpt-language-learning-experiments - An exploration of new ways to learn a language using GPT3 and friends.
AiTreasureBox - 🤖 Collect practical AI repos, tools, websites, papers and tutorials on AI. 实用的AI百宝箱 💎