Skip to main content

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.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.0.tar.gz (6.6 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.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

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

Hashes for xiomedon-1.0.0.tar.gz
Algorithm Hash digest
SHA256 60008afd8e1f88a8bd924fc860040c5bad8c7e08be07e8e9c2d4da40d0e795a1
MD5 d1afd5a1024ddf0a189fe29ab2391275
BLAKE2b-256 8230ca1858d1809c4302d096560f9ebc2262698c55850873a46f90c175c68d8f

See more details on using hashes here.

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

Hashes for xiomedon-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 772e736d40b4a7f4d83455e7ed53dbb2b82e831cbf38f4b1f8ed0ebca18395d5
MD5 4dcf177bfcfcd94e27d8b347da522db6
BLAKE2b-256 3e51457aa8bf0915c727823cdb87cc70d792e047b5806209c627c0b35d7039ef

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