mkdir FreeDuckDuckGo && cd FreeDuckDuckGo
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeDuckDuckGo/main/compose.yaml
docker compose up -d
curl http://127.0.0.1:3456/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"stream": true
}'