donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
44 lines • 1.26 kB
TypeScript
export type AnthropicConfig = {
type: 'ANTHROPIC';
apiKey: string;
modelName: string;
};
export type AnthropicAwsBedrockConfig = {
type: 'ANTHROPIC_AWS_BEDROCK';
region: string;
modelName: string;
accessKeyId?: string;
secretAccessKey?: string;
};
export type GoogleGeminiConfig = {
type: 'GOOGLE_GEMINI';
apiKey: string;
modelName: string;
};
export type OpenApiConfig = {
type: 'OPENAI';
apiKey: string;
modelName: string;
};
export type OpenApiAzureConfig = {
type: 'OPENAI_AZURE';
};
export type LlamaLocalConfig = {
type: 'LLAMA_LOCAL';
};
export type LlamaHuggingFaceConfig = {
type: 'LLAMA_HUGGING_FACE';
};
export type VercelAiConfig = {
type: 'VERCEL_AI';
provider: string;
modelName: string;
};
/**
* A resource structure that can be used to establish connectivity with a
* particular GPT platform and model. If there are an 'apiKey', and/or a
* `secretAccessKey` fields, they will be redacted before being returned
* through the API.
*/
export type GptConfig = AnthropicConfig | AnthropicAwsBedrockConfig | GoogleGeminiConfig | OpenApiConfig | OpenApiAzureConfig | LlamaLocalConfig | LlamaHuggingFaceConfig | VercelAiConfig;
//# sourceMappingURL=GptConfig.d.ts.map