Knowledge bases response models
The 10 response models returned by the knowledge bases resources of the Future AGI Python and TypeScript SDKs, with every field and its type.
The models returned by client.knowledge_bases, client.file_knowledge_bases, importable from fi.platform.models (Python) and @future-agi/sdk/platform/models (TypeScript). Types are language-neutral: string[] is a Python list[str] and a TypeScript string[], and a type named after another model links to that model. Parsing is tolerant by default: a response that leaves a field out or adds one never breaks a call. In Python, Client(strict_responses=True) rejects a response that misses a field the contract requires (see the overview); TypeScript has no strict mode.
Models
| Model | Fields |
|---|---|
KnowledgeBaseItem | id: string, name: string, embedding_model: string, chunk_size: integer, organization: string, created_at: string, updated_at: string |
LegacyKnowledgeBaseCreateResult | detail: string, kb_id: string, kb_name: string, file_ids: string[] |
LegacyKnowledgeBaseFileRow | id: string, name: string, file_size: integer, status: string, updated: string, updated_by: string, error: string |
LegacyKnowledgeBaseFilesResult | table_data: LegacyKnowledgeBaseFileRow[], last_updated: string, status: string, status_count: integer, total_rows: integer |
LegacyKnowledgeBaseListResult | table_data: LegacyKnowledgeBaseOption[] |
LegacyKnowledgeBaseMutationResult | id: string, name: string, organization: string, status: string, files: string[], updated_at: string, created_by: string, last_error: string |
LegacyKnowledgeBaseOption | id: string, name: string |
LegacyKnowledgeBaseTableColumn | id: string, name: string |
LegacyKnowledgeBaseTableResult | column_config: LegacyKnowledgeBaseTableColumn[], table_data: LegacyKnowledgeBaseTableRow[], total_rows: integer |
LegacyKnowledgeBaseTableRow | id: string, name: string, files_uploaded: integer, status: string, error: string, updated_at: string, created_by: string |
Questions & Discussion