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.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pyevaltool-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 414fc8f24c175fefe841438fb83fdb523454edbf572e3887739d80c8e3a41f60 |
|
MD5 | be4bc7cce4c0ca41ca113232d5bad09a |
|
BLAKE2b-256 | 9f6139f5d8fc76c247921f9138332991b1c45d5166eeac6ae2325b076ed24f0e |