(Feature) Vercel AI SDK (#2024)

This commit is contained in:
Saket Aryan
2024-11-19 23:53:58 +05:30
committed by GitHub
parent a02597ed59
commit 13374a12e9
70 changed files with 4074 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { OpenAICompletionSettings } from "@ai-sdk/openai/internal";
export type Mem0CompletionModelId =
| "gpt-3.5-turbo"
| (string & NonNullable<unknown>);
export interface Mem0CompletionSettings extends OpenAICompletionSettings {
user_id?: string;
app_id?: string;
agent_id?: string;
run_id?: string;
org_name?: string;
project_name?: string;
mem0ApiKey?: string;
structuredOutputs?: boolean;
modelType?: string;
}
export interface Mem0Config extends Mem0CompletionSettings {}