Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

missuo/FreeDuckDuckGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeDuckDuckGo

Docker Compose

FreeDuckDuckGo Service

mkdir FreeDuckDuckGo && cd FreeDuckDuckGo
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeDuckDuckGo/main/compose.yaml
docker compose up -d

Test FreeDuckDuckGo

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
    }'