- Built-in support for Large Language Models (LLM)
- Built-in support for local search engine
- Customizable pretty UI interface
- Shareable, cached search results
Follow this tutorial to guide you through connecting Pathway to your data stored on Google Drive. Make sure to place credentials.json
in the same directory as pathway_retriever.py
.
Note
We recommend using the built-in llm and kv functions with Lepton. Run the following commands to set them up automatically.
pip install -U leptonai && lep login
- Run Pathway’s vector store for up-to-date knowledge and information retrieval for your Google Drive.
export OPENAI_API_KEY=YOUR_OPENAI_API_KEY # temporary
python pathway_retriever.py
- Build the web interface.
cd web && npm install && npm run build
- Run the server.
BACKEND=LOCAL python search_with_lepton.py