feat: blackbox chat_llama updated

This commit is contained in:
0Xiao0
2024-06-02 01:11:21 +08:00
parent b3f8de2393
commit a96e845807
4 changed files with 6567 additions and 9 deletions

View File

@ -243,8 +243,8 @@ class Chat(Blackbox):
}
fastchat_response = requests.post(url, json=chat_inputs, headers=header)
print("\n\n","fastchat_response",fastchat_response.json()["choices"][0]["message"]["content"],"\n\n")
print("\n", fastchat_response.json())
print("\n","fastchat_response",fastchat_response.json()["choices"][0]["message"]["content"],"\n\n")
return fastchat_response.json()["choices"][0]["message"]["content"]