LLM simplified.
Project description
LLMling
# 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
Release history Release notifications | RSS feed
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.1.1.tar.gz
(62.4 kB
view details)
Built Distribution
llmling-0.1.1-py3-none-any.whl
(60.6 kB
view details)
File details
Details for the file llmling-0.1.1.tar.gz
.
File metadata
- Download URL: llmling-0.1.1.tar.gz
- Upload date:
- Size: 62.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdd789afc69117e940bf57a2a575897bc971fcf14a34e67c9cbb69893304d3ec |
|
MD5 | d484800e6a217bac723ca30935c14711 |
|
BLAKE2b-256 | afc3ef2d3b3c96347651d68ce6f7490aa5fca3a7e2ab4f9cda467f08f8349c1b |
File details
Details for the file llmling-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: llmling-0.1.1-py3-none-any.whl
- Upload date:
- Size: 60.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785f83434e9a83ecfe0a12e43a026a8471da58e4e9f9b1a98ce27150edc8e64e |
|
MD5 | 7a51c2ac4c9b80d7541c9a446995c260 |
|
BLAKE2b-256 | 2dc879b1b976744aadf9eba611cf99bd60c5ddfc1da7192df1c3a5e498a1602c |