Skip to main content

A package for using llm models with api

Project description

llmplus

Usage

from llmplus.ChatGot.api import API, Models
authorization_key = 'your authorization key from website headers'
api = API(authorization_key)
    
api.model = Models.GPT4()
answer = api.send('who is the manager of the real madrid?')

asnwer2  = api.send('who is the CEO?')

Models

Models.GPT4
Models.GPT3
Models.Claude2

Acsess to the chat history

API.json_data['messages']

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

llmplus-0.0.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

llmplus-0.0.6-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file llmplus-0.0.6.tar.gz.

File metadata

  • Download URL: llmplus-0.0.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for llmplus-0.0.6.tar.gz
Algorithm Hash digest
SHA256 49f3bbc6db9e90bccb37097a7eae2ca3a935683ff60980782cc1d34d5d58c941
MD5 4098926329bcc98c3ed4150df4238e29
BLAKE2b-256 91bf4158da87692e19391012a8a90be341349e24561d06cf057b466992475f09

See more details on using hashes here.

File details

Details for the file llmplus-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: llmplus-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for llmplus-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d1a8086370686296e399247edf2e63504a035867491fab8b606105bd03bb792c
MD5 3013b89093cf508b865f918cce3dff85
BLAKE2b-256 cad1b178ca488b9b8e24b9ac808c1db1e08b0f78a5bdd95846513e9ec6ea7ecd

See more details on using hashes here.

Supported by

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