1234567891011121314 |
- import asyncio
- from applications.api import fetch_deepseek_completion
- prompt = "你好"
- res = fetch_deepseek_completion(model="defa", prompt=prompt)
- print(res)
- """
- curl -X POST http://127.0.0.1:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_gzh_articles", "account_method": "search", "crawl_mode": "search", "strategy": "V1"}'
- """
|