简体中文
联网搜索
enable_search
true
curl --location --request POST 'https://geekai.co/api/v1/chat/completions' \ --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}' \ --header 'Content-Type: application/json' \ --data-raw '{ "model": "gpt-4o-mini", "messages": [ { "role": "user", "content": "今天杭州西湖天气如何" } ], "enable_search": true }'
glm/search_std
search_config
engine
curl --location --request POST 'https://geekai.dev/api/v1/chat/completions' \ --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}' \ --header 'Content-Type: application/json' \ --data-raw '{ "model": "gpt-4o-mini", "messages": [ { "role": "user", "content": "今天杭州西湖天气如何" } ], "enable_search": true, "search_config": { "engine": "glm/search-pro", "return_result": true }, "stream": true }'