How to use Solace

Using the API is easier than you think, no code necessary; Follow the steps

  1. Setup your virtual environment

python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate
  1. Install libraries

pip install -U phidata openai duckduckgo-search
  1. Export your OpenAI key

export OPENAI_API_KEY=sk-***
  1. Run the Agent

python web_search.py

Last updated