/sag-documentation-embeddings

Primary LanguagePythonApache License 2.0Apache-2.0

OpenAI embeddings

Install the following libraries:

pip install langchain
pip install unstructured
pip install pypdf
pip install tiktoken
pip install chromadb
pip install openai
pip install langchain_community
pip install langchain_openai
pip install markdown

install all dependencies:

pip install -r requirements.txt

Create an environment variable to store your OpenAI key

export OPENAI_API_KEY=<OPENAI-KEY>