Spaces:
Runtime error
Runtime error
FaziHamza
Refactor code structure for improved readability and maintainability; remove redundant sections and optimize logic flow.
9d729e7 Download apps/db-connector/libs/shared/src/entities/agent.entity.d.ts from XtroEdge/chatbolt-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/spaces/XtroEdge/chatbolt-dev/resolve/main/apps/db-connector/libs/shared/src/entities/agent.entity.d.ts
- Command line
-
hf download hf://spaces/XtroEdge/chatbolt-dev/apps/db-connector/libs/shared/src/entities/agent.entity.d.ts
-
curl -L -o agent.entity.d.ts https://huggingface.co/spaces/XtroEdge/chatbolt-dev/resolve/main/apps/db-connector/libs/shared/src/entities/agent.entity.d.ts
1.43 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; | |
| ai_auth_mode: 'api_key' | 'oauth'; | |
| ai_oauth_refresh_token_encrypted: string | null; | |
| ai_oauth_expires_at: string | null; | |
| 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[]; | |
| } | |