(Feature) Vercel AI SDK (#2024)
This commit is contained in:
36
vercel-ai-sdk/src/mem0-chat-settings.ts
Normal file
36
vercel-ai-sdk/src/mem0-chat-settings.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import { OpenAIChatSettings } from "@ai-sdk/openai/internal";
|
||||
|
||||
export type Mem0ChatModelId =
|
||||
| "o1-preview"
|
||||
| "o1-mini"
|
||||
| "gpt-4o"
|
||||
| "gpt-4o-2024-05-13"
|
||||
| "gpt-4o-2024-08-06"
|
||||
| "gpt-4o-audio-preview"
|
||||
| "gpt-4o-audio-preview-2024-10-01"
|
||||
| "gpt-4o-mini"
|
||||
| "gpt-4o-mini-2024-07-18"
|
||||
| "gpt-4-turbo"
|
||||
| "gpt-4-turbo-2024-04-09"
|
||||
| "gpt-4-turbo-preview"
|
||||
| "gpt-4-0125-preview"
|
||||
| "gpt-4-1106-preview"
|
||||
| "gpt-4"
|
||||
| "gpt-4-0613"
|
||||
| "gpt-3.5-turbo-0125"
|
||||
| "gpt-3.5-turbo"
|
||||
| "gpt-3.5-turbo-1106"
|
||||
| (string & NonNullable<unknown>);
|
||||
|
||||
export interface Mem0ChatSettings extends OpenAIChatSettings {
|
||||
user_id?: string;
|
||||
app_id?: string;
|
||||
agent_id?: string;
|
||||
run_id?: string;
|
||||
org_name?: string;
|
||||
project_name?: string;
|
||||
mem0ApiKey?: string;
|
||||
structuredOutputs?: boolean;
|
||||
}
|
||||
|
||||
export interface Mem0Config extends Mem0ChatSettings {}
|
||||
Reference in New Issue
Block a user