43 lines
1.0 KiB
TypeScript
43 lines
1.0 KiB
TypeScript
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;
|
|
org_id?: string;
|
|
project_id?: string;
|
|
metadata?: Record<string, any>;
|
|
filters?: Record<string, any>;
|
|
infer?: boolean;
|
|
page?: number;
|
|
page_size?: number;
|
|
}
|
|
|
|
export interface Mem0Config extends Mem0ChatSettings {} |