chatbolt-dev / apps /db-connector /libs /shared /src /entities /agent.entity.d.ts
MTayyaBH
Refactor code structure for improved readability and maintainability
d714fad
Raw
History Blame Contribute Delete
1.3 kB
import { Tenant } from './tenant.entity';
import { DbConnection } from './db-connection.entity';
import { ApiKey } from './api-key.entity';
import { KnowledgeItem } from './knowledge-item.entity';
import { Conversation } from './conversation.entity';
export declare enum GroqModel {
LLAMA33_70B = "llama-3.3-70b-versatile",
LLAMA31_8B = "llama-3.1-8b-instant",
LLAMA3_8B = "llama3-8b-8192",
GEMMA2_9B = "gemma2-9b-it",
LLAMA31_70B = "llama-3.1-70b-versatile"
}
export declare class Agent {
id: string;
tenant_id: string;
name: string;
description: string;
model: string;
ai_provider: string;
ai_api_key_encrypted: string;
system_prompt: string;
is_active: boolean;
multilingual: boolean;
max_history_messages: number;
use_langgraph: boolean;
use_categories: boolean;
categories: Array<{
id: string;
slug: string;
name: string;
description: string;
prompt: string;
}> | null;
core_prompt: string | null;
style_prompt: string | null;
widget_config: Record<string, any>;
created_at: Date;
updated_at: Date;
tenant: Tenant;
db_connections: DbConnection[];
api_keys: ApiKey[];
knowledge_items: KnowledgeItem[];
conversations: Conversation[];
}