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.7.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.7-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 85e373682fff62ce7bc503b5a4a010d847f7f252d10c5eccfa040e54362f820f
MD5 076cf44ecf2c1a981af6217f07190702
BLAKE2b-256 c6c616907f7b2bb502f027c3a14ef6147c6dc3190c7d19d6c01cb8fd99fdba10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 22b96aa71a187c73db205d3b9d33bdbea40e35c33ea306097231409b59fbacf0
MD5 beeac5847cd3fcc47f6212485a5e881e
BLAKE2b-256 69ee1494374b851861c562f1d69feb1779fde16d0f373d253d9c071196ff4e78

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