{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "created",
"description": "<string>",
"document_types": [
"<string>"
],
"kb_type": "temporary",
"size": 123,
"num_docs": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"error": {},
"total_documents": 123,
"training_documents": 123,
"trained_documents": 123,
"error_documents": 123,
"uploaded_documents": 123,
"source_types": {},
"training_source_types": [
"Document"
],
"settings_": {
"allowed_sources": [
"Document",
"Google Drive",
"OneDrive",
"Website"
],
"ingestion": {
"batch_size": 8,
"default_chunk_size": 1024,
"default_chunk_overlap": 256,
"enrich_chunks_mode": "inject_summary",
"enrich_pre_made_qa": false,
"methods": {
"application/pdf": {
"chunk_overlap": 256,
"chunk_size": 1024,
"enrich_chunks_mode": "inject_summary",
"extract_images": true,
"extract_qa_pairs": false,
"supported_mime_types": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/msword",
"application/vnd.ms-powerpoint"
],
"type": "pdf"
},
"default": {
"chunk_size": 1024,
"chunk_overlap": 256,
"enrich_chunks_mode": "inject_summary",
"extract_qa_pairs": false,
"type": "default",
"supported_mime_types": [
"text/plain",
"text/html",
"text/markdown",
"application/json"
]
},
"image/*": {
"supported_mime_types": [
"image/jpeg",
"image/png",
"image/bmp"
],
"type": "image"
},
"text/html": {
"chunk_overlap": 256,
"chunk_size": 1024,
"enrich_chunks_mode": "inject_summary",
"extract_qa_pairs": false,
"extract_text_only": true,
"include_images": false,
"include_tables": true,
"supported_mime_types": [
"text/html"
],
"type": "html"
},
"text/plain": {
"chunk_overlap": 256,
"chunk_size": 1024,
"chunking": true,
"enrich_chunks_mode": "inject_summary",
"extract_qa_pairs": false,
"preserve_formatting": true,
"supported_mime_types": [
"text/plain",
"text/html",
"text/markdown",
"application/json"
],
"type": "text"
}
}
},
"retrieval": {
"type": "hybrid_reranking",
"hybrid_settings": {
"fts_weight": 0.7,
"full_text_search": {
"type": "full_text_search"
},
"semantic_search": {
"sets_threshold": false,
"threshold": 0,
"top_k": 25,
"type": "semantic"
},
"semantic_weight": 0.3,
"threshold": 0,
"type": "hybrid_relative_score"
},
"reranker_settings": {
"model_name": "semantic-ranker-512@latest",
"ranking_config": "default_ranking_config",
"sets_threshold": false,
"threshold": 0,
"top_k": 10,
"type": "vertex"
}
},
"embeddings": {
"text_model": "vertexai/text-multilingual-embedding-002",
"mm_model": "vertexai/multimodalembedding@001"
}
}
}Update a knowledge base
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "created",
"description": "<string>",
"document_types": [
"<string>"
],
"kb_type": "temporary",
"size": 123,
"num_docs": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"error": {},
"total_documents": 123,
"training_documents": 123,
"trained_documents": 123,
"error_documents": 123,
"uploaded_documents": 123,
"source_types": {},
"training_source_types": [
"Document"
],
"settings_": {
"allowed_sources": [
"Document",
"Google Drive",
"OneDrive",
"Website"
],
"ingestion": {
"batch_size": 8,
"default_chunk_size": 1024,
"default_chunk_overlap": 256,
"enrich_chunks_mode": "inject_summary",
"enrich_pre_made_qa": false,
"methods": {
"application/pdf": {
"chunk_overlap": 256,
"chunk_size": 1024,
"enrich_chunks_mode": "inject_summary",
"extract_images": true,
"extract_qa_pairs": false,
"supported_mime_types": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/msword",
"application/vnd.ms-powerpoint"
],
"type": "pdf"
},
"default": {
"chunk_size": 1024,
"chunk_overlap": 256,
"enrich_chunks_mode": "inject_summary",
"extract_qa_pairs": false,
"type": "default",
"supported_mime_types": [
"text/plain",
"text/html",
"text/markdown",
"application/json"
]
},
"image/*": {
"supported_mime_types": [
"image/jpeg",
"image/png",
"image/bmp"
],
"type": "image"
},
"text/html": {
"chunk_overlap": 256,
"chunk_size": 1024,
"enrich_chunks_mode": "inject_summary",
"extract_qa_pairs": false,
"extract_text_only": true,
"include_images": false,
"include_tables": true,
"supported_mime_types": [
"text/html"
],
"type": "html"
},
"text/plain": {
"chunk_overlap": 256,
"chunk_size": 1024,
"chunking": true,
"enrich_chunks_mode": "inject_summary",
"extract_qa_pairs": false,
"preserve_formatting": true,
"supported_mime_types": [
"text/plain",
"text/html",
"text/markdown",
"application/json"
],
"type": "text"
}
}
},
"retrieval": {
"type": "hybrid_reranking",
"hybrid_settings": {
"fts_weight": 0.7,
"full_text_search": {
"type": "full_text_search"
},
"semantic_search": {
"sets_threshold": false,
"threshold": 0,
"top_k": 25,
"type": "semantic"
},
"semantic_weight": 0.3,
"threshold": 0,
"type": "hybrid_relative_score"
},
"reranker_settings": {
"model_name": "semantic-ranker-512@latest",
"ranking_config": "default_ranking_config",
"sets_threshold": false,
"threshold": 0,
"top_k": 10,
"type": "vertex"
}
},
"embeddings": {
"text_model": "vertexai/text-multilingual-embedding-002",
"mm_model": "vertexai/multimodalembedding@001"
}
}
}created, trained, training, error temporary, entity Show child attributes
Document, Google Drive, Notion, Website, OneDrive, Slack, Linear, Github, Teams, Sharepoint, Custom Show child attributes
1 <= x <= 1281 <= x <= 40961 <= x <= 1024inject_summary, contextual Show child attributes
Show child attributes
inject_summary, contextual "default"Successful Response
created, trained, training, error temporary, entity Document, Google Drive, Notion, Website, OneDrive, Slack, Linear, Github, Teams, Sharepoint, Custom Show child attributes
Document, Google Drive, Notion, Website, OneDrive, Slack, Linear, Github, Teams, Sharepoint, Custom Show child attributes
1 <= x <= 1281 <= x <= 40961 <= x <= 1024inject_summary, contextual Show child attributes
Show child attributes
inject_summary, contextual "default"