Installation process
- Get Code: Cloning repositories via git
git clone https://github.com/zilliztech/deep-searcher.git - Creating a Virtual Environment: Create a standalone environment using python commands
python3 -m venv .venv - activation environment: executed on Unix systems
source .venv/bin/activate - Installation of dependencies: After entering the catalog, execute
pip install -e .
Configuration Guide
- LLM Configuration: Edit the examples/example1.py file to example configure the OpenAI model:
config.set_provider_config("llm", "OpenAI", {"model": "gpt-4o"}) - Database settings: Configure Milvus connection parameters as required
- Data preparation: Use
load_from_local_files()method to load a local document
caveat
For the first time you need to make sure that Python version 3.7+ is installed and apply for the access key for each API in advance.
This answer comes from the articleDeep Searcher: Efficient Retrieval of Enterprise Private Documents and Intelligent Q&AThe































