My package description
Reason this release was yanked:
corrupt release
Project description
xiomedon
Library to call Open AI gpt3.5t-turbo and collect reponses and check for Accuracy
Features
v0.0.1Call Open AI gpt3.5 and fetch respones
Installation
-
Download and install the latest version of python. Open a terminal and check that it is installed.
Windows
py --versionLinux/MAC OS
python3 --version -
Make sure you have upgraded version of pip.
Windows
py -m pip install --upgrade pipLinux/MAC OS
python3 -m pip install --upgrade pip -
Install xiomedon using pip.
Windows
pip install xiomedonLinux/MAC OS
python3 -m pip install xiomedon -
Check that the package was installed
pip show xiomedon
Usage
from datasets import Dataset
import os
from xiomedon import openai_invoke
os.environ["OPENAI_API_KEY"] = "your-openai-key"
question_answer_sample = {
'question': 'What is the name of the magical device used in the Harry Potter series to store and view memories?',
'answer': 'Pensieve',
}
dataset = Dataset.from_dict(question_answer_sample)
response = openai_invoke(dataset)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xiomedon-1.0.0.tar.gz.
File metadata
- Download URL: xiomedon-1.0.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60008afd8e1f88a8bd924fc860040c5bad8c7e08be07e8e9c2d4da40d0e795a1
|
|
| MD5 |
d1afd5a1024ddf0a189fe29ab2391275
|
|
| BLAKE2b-256 |
8230ca1858d1809c4302d096560f9ebc2262698c55850873a46f90c175c68d8f
|
File details
Details for the file xiomedon-1.0.0-py3-none-any.whl.
File metadata
- Download URL: xiomedon-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
772e736d40b4a7f4d83455e7ed53dbb2b82e831cbf38f4b1f8ed0ebca18395d5
|
|
| MD5 |
4dcf177bfcfcd94e27d8b347da522db6
|
|
| BLAKE2b-256 |
3e51457aa8bf0915c727823cdb87cc70d792e047b5806209c627c0b35d7039ef
|