An LLM app made with Ollama, LangChain and Streamlit.
-
Install Ollama from Ollama
-
Download LLaMa 3
ollama pull llama3
-
Clone the repository
-
Create a Virtual Environment and activate it
conda create --name <my-env>
conda activate <my-env>
- Install dependencies
pip install -r requirements.txt
- Create a project on Google Cloud Console and get an API Key. Create a new file named .env and add this API key.
GOOGLE_API_KEY=your-google-api-key
- Create a Google Custom Search Engine key from Programmable Search Engine. Select "Search the entire web" under What to Search? Add this to .env file
GOOGLE_CSE_ID=your-google-cse-key
- Run the app
streamlit run app.py