Skip to content

Commit

Permalink
chore: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Nov 29, 2024
1 parent dc6a680 commit bd6d631
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,19 +233,12 @@ resources:
path: "./input.txt"
processors:
- name: uppercase
parallel: false
- name: add_header
required: false
kwargs: # Pass processor arguments
timestamp_format: "%Y-%m-%d"
```

All resource types support processing pipelines. Processors can run:
- Sequentially (default) or in parallel
- As required (default) or optional steps
- With custom arguments via `kwargs`


## Prompts

Prompts are message templates that can be formatted with arguments. LLMLing supports both declarative YAML prompts and function-based prompts.
Expand Down Expand Up @@ -508,13 +501,13 @@ def get_mcp_tools() -> list[Callable[..., Any]]:
check_style,
count_tokens
]
```

# In setup.py or pyproject.toml:
entry_points = {
"llmling": [
"tools = myapp.toolsets:get_mcp_tools"
]
}
In pyproject.toml:

```toml
[project.entry-points.llmling]
tools = "llmling.testing:get_mcp_tools"
```

### Tool Progress Reporting
Expand Down

0 comments on commit bd6d631

Please sign in to comment.