Skip to content

Commit

Permalink
feat: update schemas
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
  • Loading branch information
Tomas2D committed May 28, 2024
1 parent 12bdf72 commit ac84a12
Show file tree
Hide file tree
Showing 6 changed files with 1,374 additions and 411 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ import { GenAIChatModel } from '@ibm-generative-ai/node-sdk/langchain';
import { SystemMessage, HumanMessage } from '@langchain/core/messages';

const client = new GenAIChatModel({
model_id: 'meta-llama/llama-2-70b-chat',
model_id: 'meta-llama/llama-3-70b-instruct',
client: new Client({
endpoint: process.env.ENDPOINT,
apiKey: process.env.API_KEY,
Expand Down
2 changes: 1 addition & 1 deletion examples/langchain/llm-chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Client } from '../../src/index.js';

const makeClient = () =>
new GenAIChatModel({
model_id: 'meta-llama/llama-2-70b-chat',
model_id: 'meta-llama/llama-3-70b-instruct',
client: new Client({
endpoint: process.env.ENDPOINT,
apiKey: process.env.API_KEY,
Expand Down
2 changes: 1 addition & 1 deletion examples/shared/constants.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const MODEL = 'google/flan-ul2';
export const CHAT_MODEL = 'meta-llama/llama-2-70b-chat';
export const CHAT_MODEL = 'meta-llama/llama-3-70b-instruct';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ibm-generative-ai/node-sdk",
"version": "0.0.0",
"version": "2.0.6",
"description": "IBM Generative AI Node.js SDK (Tech Preview)",
"keywords": [
"ai",
Expand Down
Loading

0 comments on commit ac84a12

Please sign in to comment.