Skip to content

EvalsOne/EvalsOne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evalsone

A Tiny Python client for EvalsOne API

Installation

pip install evalsone

Example usage:

from evalsone import EvalsOne
# api_key and sample_list_id should be replaced with your own
eo_client = EvalsOne(api_key='your_api_key', sid='your_dataset_id')
sample_data = {'messages': [{"role": "user", "content": "What's the capital of France?"}], 'ideal': ['Paris']}
response = eo_client.add_sample(sample_data)

Parameters

https://docs.evalsone.com/Faq/Samples/api_usage_in_programming_languages/

About

A Tiny Python client for EvalsOne API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages