openai-python
ruby-openai
openai-python | ruby-openai | |
---|---|---|
71 | 14 | |
27,279 | 3,121 | |
1.7% | 1.0% | |
9.7 | 9.0 | |
4 days ago | 10 days ago | |
Python | Ruby | |
Apache License 2.0 | 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.
openai-python
- Structured Output with LangChain and Llamafile
-
🚀 Building an Azure OpenAI Chatbot: Challenges, Solutions & Why JavaScript Beats Python for the Web
Check the official migration guide for updates.
-
XAI Has Acquired X
Okay, I know Tesla's extremely high P/E ratio is because it's worth is not just tied to cars, and so xAI priced at $20B more than Anthropic does not necessarily mean xAI's AI products are that much better than Anthropic's (e.g. presumably xAI's worth is tied to synergies with Tesla FSD, Optimus, and maybe even Neurolink)...but what products does xAI actually offer, other than Grok being an add-on for premium X subscriptions?
Not only does the Grok API not have access to Grok 3, which was released more than a month ago, it doesn't even have it's own SDK? [0]
> Some of Grok users might have migrated from other LLM providers. xAI API is designed to be compatible with both OpenAI and Anthropic SDKs, except certain capabilities not offered by respective SDK. If you can use either SDKs, we recommend using OpenAI SDK for better stability.
(every code example has a call for `from openai import OpenAI`)
How would using Grok be viable for any enterprise? And if Grok's API is designed to be drop-in replacement for OpenAI's, how are they not able to just use Grok to whip up their own SDK variant based on OpenAI's open-sourced SDK [1] and API spec?
[0] https://docs.x.ai/docs/guides/migration
[1] https://github.com/openai/openai-python
-
New Tools for Building Agents
If you want to get an idea for the changes, here's a giant commit where they updated ALL of the Python library examples in one go from the old chat completions to the new resources APIs: https://github.com/openai/openai-python/commit/2954945ecc185...
-
Build your next AI Tech Startup with DeepSeek
The API itself is pretty straightforward. You can use it with the OpenAI package on NPM or PIP, or make an HTTP Request. Note for this demo I will be using NodeJS. I will be working in an empty folder with an index.js file, and a package.json file.
-
Introduction to Using Generative AI Models: Create Your Own Chatbot!
To interact with the OpenAI API, you will install the openai package:
-
Exploring Job Market for Software Engineers
Python was chosen for its versatile libraries, particularly linkedin_jobs_scraper and openai. These packages streamlined the scraping and processing of job data.
- OpenAI adds new o1 models
-
LLM Fine-Tuning: Domain Embeddings with GPT-3
The essential library for this project is OpenAI, supported by two helper libraries. Install them with the poetry dependency manager a shown:
- The Stainless SDK Generator
ruby-openai
-
Official OpenAI Ruby Gem
What’s the relationship, if any, with https://github.com/alexrudall/ruby-openai ?
That gem is actively maintained and widely used. It’s a good gem! But by definition they’re always playing catch up.
- RubyLLM: A delightful Ruby way to work with AI
-
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
What are some alternatives?
Awesome-LLMOps - An awesome & curated list of best LLMOps tools for developers
langchainrb - Build LLM-powered applications in Ruby
maelstrom - A workbench for writing toy implementations of distributed systems.
pycall.rb - Calling Python functions from the Ruby language
openai-node - Official JavaScript / TypeScript library for the OpenAI API
discourse-ai