Skip to main content

Easily interact with all main LLMs

Project description

Supported large language models: the one hosted on groq

The rest is to come:

  • anthropic (claude...)
  • deepseek (deepseek-70b...)
  • google (gemini...)
  • meta (llama3.1-7b...)
  • openai (gpt3.5...)
  • qwen (34b...)

Usage example:

import llmpy as lm

question = 'how many r\'s in strawberry'

model = Model.LLAMA_3_3_70B
models = [
    Model.LLAMA_3_3_70B,
    Model.Deepseek
]

lm.ask(model, question)
lm.ask_many(models, question)

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

llmpy_lib-0.0.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

llmpy_lib-0.0.4-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file llmpy_lib-0.0.4.tar.gz.

File metadata

  • Download URL: llmpy_lib-0.0.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for llmpy_lib-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c7c843e8bc559c02312a0203f552b8893f82f6af8e11586240d0f8c03619b968
MD5 0f0d22972cc9d66fa0ebee2cd9e0187e
BLAKE2b-256 3d5566e2ee59a601b2f57e70d64798a3df449811028807593deeb7b4f9f3de57

See more details on using hashes here.

File details

Details for the file llmpy_lib-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: llmpy_lib-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for llmpy_lib-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e428640aff66dafc53e6a1cf7e568ad15d399011873f7b1a2747e3c79e79e091
MD5 7ecde58c7ca64bfcc56d6d710aeb60e0
BLAKE2b-256 cb109b1a2fff459f1275c8999a57b46435faac5984e0b624326730c8d544e817

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