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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.1.tar.gz
  • Upload date:
  • Size: 1.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.1.tar.gz
Algorithm Hash digest
SHA256 e71b423b045fe5b82513f749fafc8391ebb3418f79c2da15e6783b6336bf4f2c
MD5 c6e3af4feacd487a1c6868eb7259b741
BLAKE2b-256 9b9d528ce96a758cd7d6e9e684c9d3cf86ffa5688f66a3036eca9cda98b4a5b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmpy_lib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ad23e4e4d3999788155a7921980f9c7268bf14c032d9fce2304e612d9752e17
MD5 74bf1c81636777b08bdd6b0fc79ab442
BLAKE2b-256 c845ae5c35c670186e3cd0655b3b326c239a243def95b254b6489f93b063f11e

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