A package to evaluate the models.
Project description
pycvtools
Functionality of the pyevaltool
- Automated testing of the bot response deployed gpt
pip install pyevaltool
To run
from pyevaltool import *
For GPT test -
from pyevaltool import gpt_test
url = # frontend_url something like https://****.azurewebsites.net****
token = token / key
chat_completion_format = {
"chatId": "",
"siteInfo": {
"domain": ""
},
"messages": [
{
"role": "user",
"content": ''
}
],
"model": "",
"stream": False
}
input_file = input_file_path
gpt_test(url,token,chat_completion_format,input_file)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyevaltool-0.1.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pyevaltool-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc270dd78fa144f5d6757e92555dbf855e10ea225cb4121d01a71f6bc8f58d2f |
|
MD5 | c83b4ac4e2f43e026089b5fd9de4df78 |
|
BLAKE2b-256 | 36920e6a2ad19de1af1cf4428fc2b6790e2bfd632eb9f15f248cd85c8e181bf5 |