openrouter-runner
openai-node
openrouter-runner | openai-node | |
---|---|---|
11 | 22 | |
353 | 6,961 | |
23.5% | 3.0% | |
9.5 | 9.5 | |
17 days ago | 6 days ago | |
Python | TypeScript | |
MIT License | Apache License 2.0 |
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.
openrouter-runner
- Openrouter
- Integra múltiples APIs de IA en una sola plataforma
-
Collection of notebooks showcasing some fun and effective ways of using Claude
Why not use something like http://openrouter.ai? Pay as you go and you can select any model you want. Heaven!
-
World_SIM: LLM prompted to act as a sentient CLI universe simulator
teknium / Nous released Mistral finetunes (Hermes) that are quite great, and even published the datasets used for training.
But for the worldsim I think they are really using Claude (probably Haiku or Sonnet) via openrouter (https://openrouter.ai/).
-
Show HN: Plandex – an AI coding engine for complex tasks
Not affiliated with the project but you could use something like OpenRouter to give users a massive list of models to choose from with fairly minimal effort
https://openrouter.ai/
-
The Next Generation of Claude (Claude 3)
> I hate that they require a phone number
https://openrouter.ai/ lets you make one account and get API access to a bunch of different models. They also provide access to hosted versions of a bunch of open models.
Useful if you want to compare 15 different models without bothering to create 15 different accounts or download 15 x 20GB of models :)
-
The killer app of Gemini Pro 1.5 is video
You sure can! NeuroEngine[1] hosts some nice free demos of what are basically the state of the art in unfiltered models, and if you need API access, OpenRouter[2] has dozens of unfiltered models to choose from.
[1] https://www.neuroengine.ai/
[2] https://openrouter.ai/
-
OpenAI has Text to Speech Support now!
However, this needs to be changed as other providers like OpenRouter can also start supporting this feature in the future.
-
How to narrow down interest and where to begin?
Great resources for me are - The LangChain Blog: Very technical but great graphics of complex topics. Gives you a good understanding of what is currently possible and what the hot topics are - Product Hunt: Great resource to see what others are building with AI - Replicate and OpenRouter for custom made / fine tuned models - AI Twitter
- Show HN: Ranking LLMs by Usage over Time
openai-node
-
Website Optimization Using Strapi, Astro.js and OpenAI
Okay, now we've confirmed the API endpoint is working, let's connect it to OpenAI first, install the OpenAI package, navigate to the route directory, and run the command below in our terminal
-
JSON {} With OpenAI 🤖✨
For my setup, I am using the node version of the openai sdk.
-
The Stainless SDK Generator
We try to keep it to a minimum, especially in JS (though we have some nice improvements coming soon when we deprecate node-fetch in favor of built-in fetch). The package sizes aren't tiny because we include thorough types and sourcemaps, but the bundle sizes are fairly tidy.
Here's an example of a typical RESTful endpoint (Lithic's `client.cards.create()`:
https://github.com/lithic-com/lithic-node/blob/36d4a6a70597e...
Here are some example repos produced by Stainless:
1. https://github.com/openai/openai-node
-
OpenAI: Streaming is now available in the Assistants API
Have you seen/tried the `.runTools()` helper?
Docs: https://github.com/openai/openai-node?tab=readme-ov-file#aut...
Example: https://github.com/openai/openai-node/blob/bb4bce30ff1bfb06d...
(if what you're fundamentally trying to do is really just get JSON out, then I can see how json_mode is still easier).
-
OpenAI has Text to Speech Support now!
And so, I impulsively upgraded to the latest version of openai (I guess not anymore) without the fear of getting cut by cutting edge 😝 and got it working for some random text
-
AI for Web Devs: Faster Responses with HTTP Streaming
UPDATE 2023/11/15: I used fetch and custom streams because at the time of writing, the openai module on NPM did not properly support streaming responses. That issue has been fixed, and I think a better solution would be to use that module and pipe their data through a TransformStream to send to the client. That version is not reflected here.
-
AI for Web Devs: Your First API Request to OpenAI
You may notice the JavaScript package available on NPM called openai. We will not be using this, as it doesn’t quite support some things we’ll want to do, that fetch can.
-
Building and deploying AI agents with E2B
openai - For using the GPT-3.5-turbo model to answer the questions
-
Aiconfig – source control format for gen AI prompts, models and settings
We have a bit of context about this in the readme: https://github.com/lastmile-ai/aiconfig#what-problem-it-solv.... The main issue with keeping it in code is that it tangles application code with prompts and model-specific logic.
That makes it hard to evaluate the genAI parts of the application, and also iterating on the prompts is not as straightforward as opening up a playground.
Having the config be the source of truth let's you connect it to your application code (and still source controlled), lets you evaluate the config as the AI artifact, and also lets you open the config in a playground to edit and iterate.
For example, compare how much simpler openai function calling becomes with storing the stuff as a config: https://github.com/lastmile-ai/aiconfig/blob/main/cookbooks/... vs using vanilla openai directly (https://github.com/openai/openai-node/blob/v4/examples/funct...)
-
Build a Chatbot With OpenAI, Vercel AI and Xata
In your preferred serverless environment, make sure you install the OpenAI API Library and Vercel AI library to get started.
What are some alternatives?
llm - Access large language models from the command-line
liboai - A C++17 library to access the entire OpenAI API.
llm-claude-3 - LLM plugin for interacting with the Claude 3 family of models
openai-python - The official Python library for the OpenAI API
plandex - An AI coding engine for building complex, real-world software with LLMs
fern - 🌿 Stripe-level SDKs and Docs for your API
vrite - Open-source developer content platform
tiptap - The headless rich text editor framework for web artisans.
ai - Build AI-powered applications with React, Svelte, Vue, and Solid [Moved to: https://github.com/vercel/ai]
stepci - Automated API Testing and Quality Assurance
aiconfig - AIConfig is a config-based framework to build generative AI applications.
AdaGPT - @AdaGPT: AI support for Issues and Pull Requests right at your fingertips!