git clone --recurse-submodules https://github.com/NCTU-SYNC/sync-server-llm.git
cd sync-server-llm
uv run gen-protos
Please configure the configs/config.toml
file (refer to configs/example.toml
for the options).
The following environment variables are required (export
them or place them in a .env
file):
OPENAI_API_KEY
: Your ChatGPT API key.QDRANT_HOST
: The Qdrant host address.QDRANT_PORT
: The Qdrant host port.QDRANT_COLLECTION
: The Qdrant collection name.
uv run serve --config configs/config.toml
Refer to the protobuf files in the protos/
directory for the features provided by the server.