KnowledgeBase
is a collection of documents that are used to generate test cases for a specific domain or task. Usually refered as the Vector Database for retrieval augmented generation (RAG).
This documents are grouped by topics, if not defined the KnowledgeBase
will generate automatically the topics.
id
and content
fields.3 * max_tokens
).n_neighbors
, n_components
, and initialization strategy are tuned based on document count.label = -1
).max_docs
samples per topic and truncates each sample to max_doc_length
.