diff --git a/src/typescript/constants/ai.ts b/src/typescript/constants/ai.ts index 53391fd..b537e44 100644 --- a/src/typescript/constants/ai.ts +++ b/src/typescript/constants/ai.ts @@ -26,7 +26,13 @@ export const APIS = { }, EMBED_MANY: { METHOD: 'ai.embedMany', - } + }, + GENERATE_OBJECT: { + METHOD: 'ai.generateObject', + }, + STREAM_OBJECT: { + METHOD: 'ai.streamObject', + }, } as const export type VercelAIFunctions = typeof APIS[keyof typeof APIS]['METHOD'] export const VercelAIFunctionNames: VercelAIFunctions[] = Object.values(APIS).map((api) => api.METHOD) diff --git a/src/typescript/package.json b/src/typescript/package.json index 0f3ce2e..6bcc48a 100644 --- a/src/typescript/package.json +++ b/src/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@langtrase/trace-attributes", - "version": "7.0.1", + "version": "7.1.0", "description": "LangTrace - Trace Attributes", "main": "dist/index.js", "types": "dist/index.d.ts",