🌐 Deployment
This guide explains how to deploy DeepSearcher as a web service.
⚙️ Configure Modules
You can configure all arguments by modifying the configuration file:
# config.yaml - https://github.com/zilliztech/deep-searcher/blob/main/config.yaml
llm:
provider: "OpenAI"
api_key: "your_openai_api_key_here"
# Additional configuration options...
Important: Set your
OPENAI_API_KEY
in thellm
section of the YAML file.
🚀 Start Service
The main script will run a FastAPI service with default address localhost:8000
:
$ python main.py
Once started, you should see output indicating the service is running successfully.
🔍 Access via Browser
You can access the web service through your browser:
- Open your browser and navigate to http://localhost:8000/docs
- The Swagger UI will display all available API endpoints
- Click the "Try it out" button on any endpoint to interact with it
- Fill in the required parameters and execute the request
This interactive documentation makes it easy to test and use all DeepSearcher API functionality.