Get up and running with the Knowledge Plugin in 5 minutes
OPENAI_API_KEY
in your .env
file for embeddings.
OPENAI_API_KEY=your-api-key
to your .env
file. This is used for creating document embeddings, even if you’re using a different AI provider for chat.docs
folder in your project root:
.env
file:
docs
folder!
.txt
, .md
, .csv
, .json
, .xml
, .yaml
.pdf
, .doc
, .docx
.js
, .ts
, .py
, .java
, .cpp
, .html
, .css
and many morehttp://localhost:3000
http://localhost:3000
company_q3_earnings.pdf
)@elizaos/plugin-openai
) for embeddings.
Q: Can I upload documents while the agent is running?docs
folder exists in the right locationLOAD_DOCS_ON_STARTUP=true
is in your .env
fileelizaos start
)http://localhost:3000