Skip to main content

My package description

Project description

xiomedon

Library to call Open AI gpt3.5t-turbo and collect reponses and check for Accuracy

Features

  • v0.0.1 Call Open AI gpt3.5 and fetch respones

Installation

  1. Download and install the latest version of python. Open a terminal and check that it is installed.

    Windows

    py --version
    

    Linux/MAC OS

    python3 --version
    
  2. Make sure you have upgraded version of pip.

    Windows

    py -m pip install --upgrade pip
    

    Linux/MAC OS

    python3 -m pip install --upgrade pip
    
  3. Install xiomedon using pip.

    Windows

    pip install xiomedon
    

    Linux/MAC OS

    python3 -m pip install xiomedon
    
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xiomedon-1.0.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xiomedon-1.0.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file xiomedon-1.0.1.tar.gz.

File metadata

  • Download URL: xiomedon-1.0.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for xiomedon-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b88c894f0d496b89803bc6e1c71839f787a74ca774e0990072095c6be9b1f077
MD5 5494c4ac40c4dd032169142c9854ba35
BLAKE2b-256 7ec00e4f8dbf47e010348243555fcfc5dfc94f9adb5ed3c1f4d2b6c5974b98d3

See more details on using hashes here.

File details

Details for the file xiomedon-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: xiomedon-1.0.1-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

Hashes for xiomedon-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 010b91670da9b0f9a5458e86486c2e4c189a2c48e709249270890d3f44424b40
MD5 a9f5da67d6bad343e6d82644be15b1fe
BLAKE2b-256 aa0f19ea4b6a5481e955f7acaad5b721543d937f7e905d0c891b7e473fb1b8ee

See more details on using hashes here.

Supported by

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