v1ConvaiKnowledgeBaseDocumentationIdChunkChunkIdGet method

Future<Response<KnowledgeBaseDocumentChunkResponseModel>> v1ConvaiKnowledgeBaseDocumentationIdChunkChunkIdGet({
  1. required String? documentationId,
  2. required String? chunkId,
  3. String? xiApiKey,
})

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(),
  );
}