Skip to main content

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 -

url = '' # Add the frontend url 
token = '' # add your token or key - Apim-Subscription-Key or Bearer token
# change the chat completion format if required. 
# This code will work only if the question asked is at chat_completion_format['messages'][0]["content"]
chat_completion_format = {'chatId': '', 'siteInfo': {'domain': ''}, 'messages': [{'role': 'user', 'content': ''}], 'model': '', 'stream': False} 
answer_loc = "['choices'][0]['messages'][0]['content']" #in string format
input_file = " " # Here you add your input file link
gpt_test(url,token,chat_completion_format,answer_loc,input_file,output_file = "output.csv" )

Release files for pyevaltool 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyevaltool 0.1.8
File Size Uploaded
pyevaltool-0.1.8.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyevaltool 0.1.8
File Interpreter ABI Platform
pyevaltool-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size:7.5 kB

Release files / pyevaltool-0.1.8.tar.gz

Download URL pyevaltool-0.1.8.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c158b9c9301cfeaa0d478fef8fe6426c817cbc257bba62d51278308a7efda773
BLAKE2b-256 checksum
How to use checksums
f0f426144a62c0e7b6188ddabc41f2be37803483d140b23457920fa56973a92a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / pyevaltool-0.1.8-py3-none-any.whl

Download URL pyevaltool-0.1.8-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36c3a9b2704bce7bed8d61b89ebb8888b3ac67830a1a6ed523ea44e84fe7c2da
BLAKE2b-256 checksum
How to use checksums
6dae78f7abdb72885154aba426bd575547c452d20c22bf36727aabc61e303e4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page