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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.8.tar.gz
  • Upload date:
  • Size: 57.7 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.8.tar.gz
Algorithm Hash digest
SHA256 a4427139e3aa99165bf055257c44cd8858e74a06e661b7b26643107d34357f0c
MD5 568eefe588a2e27c444ed24e546efd21
BLAKE2b-256 6d617993f4b97ea9759acf0f84a3609ddec4a3f29293b143fd344fea3f8a0677

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9424c6ac2dfb35f451da141d81c6d8024b1ba053b1523cf66c0445287591666b
MD5 3cde1ff48571bf1aea5c35d370bfae03
BLAKE2b-256 67c0e3460067f5048c2d974d35c79bc65e386dd085240255afb268cc42094f6f

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