Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSamkharadze committed Nov 27, 2023
1 parent ab29555 commit f2cb238
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ const openai = new OpenAI({
});

async function main() {
// Argument model is optional, but it could also be single model or list of models
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
// model: 'gpt-3.5-turbo', // Optional argument, router chooses the best model for you
// model: 'gpt-3.5-turbo' // Optional argument, router chooses the best model for you
// model: ['gpt-3.5-turbo', 'claude-v1'], // If more than one is specified, the router chooses the best among them
});
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "martian-node",
"version": "4.20.0",
"version": "4.20.1",
"description": "Node.js library for the Martian API",
"author": "Martian <contact@withmartian.com>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '4.20.0'; // x-release-please-version
export const VERSION = '4.20.1'; // x-release-please-version

0 comments on commit f2cb238

Please sign in to comment.