mirror of
https://github.com/Ed1s0nZ/PrivHunterAI.git
synced 2025-09-17 20:41:37 +00:00
Update deepseek.go
This commit is contained in:
parent
cee135d7bf
commit
c760a03be7
@ -81,7 +81,7 @@ func CreateChatCompletion(request ChatCompletionRequestDeepSeek) (*ChatCompletio
|
|||||||
return &response, nil
|
return &response, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func DeepSeek(url, respA, respB string) (string, error) {
|
func DeepSeek(reqA, respA, respB, statusB string) (string, error) {
|
||||||
// 示例请求
|
// 示例请求
|
||||||
request := ChatCompletionRequestDeepSeek{
|
request := ChatCompletionRequestDeepSeek{
|
||||||
Model: "deepseek-chat", // 根据实际模型名称修改
|
Model: "deepseek-chat", // 根据实际模型名称修改
|
||||||
@ -92,7 +92,7 @@ func DeepSeek(url, respA, respB string) (string, error) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Role: "user",
|
Role: "user",
|
||||||
Content: "url:" + url + "A:" + respA + "B:" + respB,
|
Content: "reqA:" + reqA + "\n" + "responseA:" + respA + "\n" + "responseB:" + respB + "\n" + "statusB:" + statusB,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Temperature: 0.7,
|
Temperature: 0.7,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user