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.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pyevaltool-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83d0a6e513a987a6576736eb664c54f194ca1606e714923ed3e78dc4d28c1cd6 |
|
MD5 | bb309a0a93fd8d4c3a0a9c37c5645c2e |
|
BLAKE2b-256 | 9271d1b9593f82091373efbf267aa407ceaad7b1d0eb4dbdd80a658d37df29ab |