Easily get the embedding vectors for text in a csv file
-
Open the dev container
-
Replace
data.csv
with the your dataNOTE column named content will be used to create embedding vector
-
Add your OpenAI API key to .env
-
python3 main.py
tokens
- number of tokens in content cell (API limit = 8191 per request)
ada_embedding
- embedding vector
Some dependencies require Rust, so the dev container is based on rust:latest