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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 c45819102359d553de4977b2d0b1438f81e82444e852e7557fae5f3a43aabbcd
MD5 d0bab85f7371e7edeb41e2d73299916c
BLAKE2b-256 e067a6489c675a661ae1669b24afb855606f34df2f00b0b8e680f273e1e9c32e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ca615e7c260dc949fc79f9a71160b78535dbbe948223135cb59124e292c4bf27
MD5 465da3b99a87da581c6786357a7e5812
BLAKE2b-256 b5622e2466891514708d88d0664c7f79364187ec380f659f8d775139fd1bd273

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