Skip to main content

LLM simplified.

Project description

LLMling

PyPI License Package status Daily downloads Weekly downloads Monthly downloads Distribution format Wheel availability Python version Implementation Releases Github Contributors Github Discussions Github Forks Github Issues Github Issues Github Watchers Github Stars Github Repository size Github last commit Github release date Github language count Github commits this week Github commits this month Github commits this year Package status Code style: black PyUp

Read the documentation!

# Root level: Config
version: "1.0"
global_settings:  # GlobalSettings
  timeout: 30
  max_retries: 3
  temperature: 0.7

context_processors:  # dict[str, ProcessorConfig]
  processor1:
    type: function
    import_path: "utils.clean_text"
  processor2:
    type: template
    template: "{{ content }}\n---"

llm_providers:  # dict[str, LLMProvider]
  gpt4:
    model: openai/gpt-4
    temperature: 0.7

provider_groups:  # dict[str, list[str]]
  fast_models:
    - gpt4
    - claude2

contexts:  # dict[str, Context(PathContext | TextContext | CLIContext)]
  guidelines:
    type: path  # PathContext
    path: "./guide.md"
    description: "Guide"
    processors:  # list[ProcessingStep]
      - name: processor1
        keyword_args: {key: "value"}

  prompt:
    type: text  # TextContext
    content: "System prompt"
    description: "Basic prompt"

  git_diff:
    type: cli  # CLIContext
    command: "git diff"
    description: "Changes"

context_groups:  # dict[str, list[str]]
  review_contexts:
    - guidelines
    - prompt

task_templates:  # dict[str, TaskTemplate]
  code_review:
    provider: gpt4  # provider or group name
    context: review_contexts  # context or group name
    settings:  # TaskSettings
      temperature: 0.5

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

llmling-0.0.1.tar.gz (58.4 kB view details)

Uploaded Source

Built Distribution

llmling-0.0.1-py3-none-any.whl (58.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmling-0.0.1.tar.gz
  • Upload date:
  • Size: 58.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.2

File hashes

Hashes for llmling-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c87387ead94a2feefe9d71bfefab232fb1a0343ba3bde7d4f3162da794d79288
MD5 ec4c072197dfb339cf14e3f5808be851
BLAKE2b-256 47be1c4900e8263dcae1cb1a728873d43e499b96c59c4e7ee48056a6123f6fc8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmling-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 58.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.2

File hashes

Hashes for llmling-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acf17d9de168414c0f4e800c92dac99140e629f3566b2b7706f8f5c0caef7723
MD5 36edc54afc57f4fde113b00739c3cc94
BLAKE2b-256 8184cdf5c962fdc475244e45d802317c9102649df88a1a034e4451a60b2cec83

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page