This is a LLM playground
-
Install Anaconda
-
Create a virtual environment for Python
conda create -n myenv python=3.10
-
Run
pip install -r requirements.txt
-
Register an account on OpenAI, HuggingFace and Pinecone. Get the API keys/access tokens.
-
Put the keys/access tokens in
.env
file. (Check.env.template
)
analyer.py
- a showcase of analyzing Play Store Review with LangChain's retrieval API, HuggingFace embeddings and Pinecone vector store.
- To use Pinecone, you have to create an index on Pinecone. (Use 768 as dimension size if you're using
HuggingFaceEmbeddings
, use 1536 if you're usingOpenAIEmbeddings
)