Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 641 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 641 Bytes

PyFreeDuckDuckGo

This is a Python implementation of FreeDuckDuckGo.

Docker Compose

PyFreeDuckDuckGo Service

mkdir PyFreeDuckDuckGo && cd PyFreeDuckDuckGo
curl -o compose.yaml https://raw.githubusercontent.com/victorfu/PyFreeDuckDuckGo/master/compose.yaml
docker compose up -d

Test PyFreeDuckDuckGo

curl http://127.0.0.1:3456/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "stream": true
    }'