数据导入分析接口调整
This commit is contained in:
@ -36,14 +36,13 @@ async def main() -> None:
|
||||
},
|
||||
"llm_model": "deepseek:deepseek-chat",
|
||||
"temperature": 0.2,
|
||||
"max_output_tokens": 256,
|
||||
"callback_url": CALLBACK_URL,
|
||||
}
|
||||
|
||||
async with httpx.AsyncClient(timeout=httpx.Timeout(15.0)) as client:
|
||||
async with httpx.AsyncClient(timeout=httpx.Timeout(60.0)) as client:
|
||||
response = await client.post(API_URL, json=payload)
|
||||
print("Status:", response.status_code)
|
||||
print("Body:", response.json())
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@ -35,7 +35,7 @@ async def main() -> None:
|
||||
}
|
||||
],
|
||||
"temperature": 0.1,
|
||||
"max_tokens": 1024,
|
||||
"max_tokens": 2048,
|
||||
}
|
||||
|
||||
async with httpx.AsyncClient(timeout=httpx.Timeout(15.0)) as client:
|
||||
|
||||
Reference in New Issue
Block a user