v1ConvaiKnowledgeBaseDocumentationIdChunkChunkIdGet method
Future<Response<KnowledgeBaseDocumentChunkResponseModel> >
v1ConvaiKnowledgeBaseDocumentationIdChunkChunkIdGet({})
Get Documentation Chunk From Knowledge Base @param documentation_id The id of a document from the knowledge base. This is returned on document addition. @param chunk_id The id of a document RAG chunk from the knowledge base. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Implementation
Future<chopper.Response<KnowledgeBaseDocumentChunkResponseModel>>
v1ConvaiKnowledgeBaseDocumentationIdChunkChunkIdGet({
required String? documentationId,
required String? chunkId,
String? xiApiKey,
}) {
generatedMapping.putIfAbsent(
KnowledgeBaseDocumentChunkResponseModel,
() => KnowledgeBaseDocumentChunkResponseModel.fromJsonFactory,
);
return _v1ConvaiKnowledgeBaseDocumentationIdChunkChunkIdGet(
documentationId: documentationId,
chunkId: chunkId,
xiApiKey: xiApiKey?.toString(),
);
}