This project is a demonstration of a search and summarization application using LangChain and OpenAI.
- Search: Uses Tavily API to search for information.
- Summarization: Uses OpenAI's API to summarize search results.
- Python 3.7 or higher
- Streamlit
- LangChain
- OpenAI API Key
- Tavily API Key
- Clone the repository:
git clone https://github.com/solaius/TavilyAISearch.git cd TavilyAISearch
- Virt Environment:
python -m venv env env/scripts/acvitate
- Install dependencies:
python.exe -m pip install --upgrade pip pip install -r requirements.txt
- Add Environment Varaiable in .env file
Add TAVILY_API_KEY - https://app.tavily.com/home Add OPENAI_API_KEY - https://platform.openai.com/api-keys
- Run app:
streamlit run app.py