Closed friofry closed 2 months ago
Thanks for flagging this! You can now define custom OpenAI embedding sizes. For instance:
Change default embedding model:
python src/index.py iuliaturc/detextify --embedder_type=openai --embedding_model=text-embedding-3-large --vector_store_type=pinecone --index_name=test-3072
Change default embedding model AND reduce the default embedding size:
python src/index.py iuliaturc/detextify --embedder_type=openai --embedding_model=text-embedding-3-large --embedding_size=256 --vector_store_type=pinecone --index_name=test-256
I've created a pinecone index with dimension 3072, and I get this error when running
python src/index.py $GITHUB_REPO_NAME --pinecone_index_name=$PINECONE_INDEX_NAME
.I think it would be helpful to mention in the docs that the index should be created with dimension 1536.