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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 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.2.tar.gz
Algorithm Hash digest
SHA256 f4e47fe9863bf70f6619f5677d7f76a4e4771a6e24de357d60b9a84f23216f91
MD5 9b7221b6e9716069840f719b1e896da8
BLAKE2b-256 4d1b385befc5a33db303b8bd3aa7c70e3257a16b1d25bca08752aa822daea3cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4a2c991fdcbbcbfbde359780a6fa43174b946b1cdbfe2179fd26d1a64e3923b
MD5 4764ae6c4a42a3f3f7bb6043c57cd278
BLAKE2b-256 8828ffa7356dd782f1795d3bbfd79133bf5b1afeb891e415728dfaaef466232d

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