This is an example application showing how to create vector embeddings of documentation using OpenAI's API and storing them in a Pinecone index.
You can find the full tutorial here: https://marcushellberg.dev/how-to-build-a-chatgpt-assistant-for-your-documentation
- Node 18+
Copy the .env.example
file to .env
and fill in the values.
Install the dependencies:
npm install
Then run the app with npm:
node process-docs.js