Migration to Carbon
Here’s a guide on how to migrate existing embeddings and chunks to another vector database using Carbon.
1. Upload Files
/upload_text
endpoint).Upload the appropriate files for the embeddings and chunks through the uploadfile
or upload_text
endpoint. If you plan to upload existing embeddings for the files, set skip_embedding_generation
to true.
2. Upload Embeddings and chunks
Use the upload_chunks_and_embeddings
endpoint to upload the corresponding chunks and embeddings for the files from the previous step. You can upload multiple chunks and their respective embeddings at once, as well as assign a sequential chunk number to each chunk.
Specify the model used to generate the embeddings through the embedding_generator
parameter. Ensure the model is one of Carbon’s supported embedding models (Check models here).
Example
After completing steps #1 and #2, your files, chunks, and embeddings will be ready for use on Carbon. You can use them with our managed vector database or one that we directly integrate with.