Function rag_doc_chunks_to_embeddings

Source
pub async fn rag_doc_chunks_to_embeddings(
    embedding_request: &EmbeddingRequest,
) -> Result<EmbeddingsResponse, LlamaCoreError>
Available on crate feature rag only.
Expand description

Convert document chunks to embeddings.

§Arguments

  • embedding_request - A reference to an EmbeddingRequest object.

§Returns

Name of the Qdrant collection if successful.