Skip to main content

A package to evaluate the models.

Project description

pycvtools

forthebadge made-with-python
Python 3.10

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


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)

Uploaded Source

Built Distribution

pyevaltool-0.1.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page