Skip to content

Commit e658440

Browse files
toby-colemanCopilot
andcommitted
Minor updates to README
Co-authored-by: Copilot <copilot@github.com>
1 parent 784f695 commit e658440

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ Some examples of what you can build with Plugboard include:
5050
- **YAML model specification** format for saving model definitions, allowing you to run the same model locally or in cloud infrastructure;
5151
- A **command line interface** for executing models;
5252
- Built to handle the **data intensive simulation** requirements of industrial process applications;
53-
- Modern implementation with **Python 3.12 and above** based around **asyncio** with complete type annotation coverage;
53+
- Modern implementation with **Python 3.12+** based around **asyncio** with complete type annotation coverage;
5454
- Built-in integrations for **loading/saving data** from cloud storage and SQL databases;
55+
- Built-in **LLM integrations** for building AI-augmented process models with support for multiple providers;
5556
- **Detailed logging** of component inputs, outputs and state for monitoring and process mining or surrogate modelling use-cases.
5657

5758
## 🔌 Installation
@@ -63,7 +64,9 @@ python -m pip install plugboard
6364

6465
Optional integrations for different cloud providers can be installed using `plugboard[aws]`, `plugboard[azure]` or `plugboard[gcp]`.
6566

66-
Support for parallelisation can be installed using `plugboard[ray]`.
67+
Support for parallelisation and hyperparameter optimisation can be installed using `plugboard[ray]`.
68+
69+
Additional optional extras: `plugboard[llm]` for LLM components, `plugboard[redis]` for Redis-based connectors, and `plugboard[websockets]` for WebSocket I/O.
6770

6871
## ⚡ Quickstart with AI
6972

@@ -132,8 +135,10 @@ class B(Component):
132135

133136
There is also a `@component` decorator which simplifies creating `Component`s for small stateless transform type functions. A component instance can be created by calling the `.component` method of the object returned by the decorator. The wrapped function can be sync or async and will be called as the step method with the named inputs being passed in. Inputs must be specified matching function args. Outputs must be specified and the function must return a dictionary where the keys match the outputs.
134137
```python
138+
from plugboard.component import component
139+
135140
@component(inputs=["in_1"], outputs=["out_1"])
136-
def pow2(in_1: int) -> int:
141+
def pow2(in_1: int) -> dict[str, int]:
137142
return {"out_1": in_1 ** 2}
138143

139144
result = pow2(2) # Preserves original function call -> result = {"out_1": 4}
@@ -208,7 +213,7 @@ plugboard process run my-model.yaml
208213

209214
## 📖 Documentation
210215

211-
For more information including a detailed API reference and step-by-step usage examples, refer to the [documentation site](https://docs.plugboard.dev). We recommend diving into the [tutorials](https://docs.plugboard.dev/latest/examples/tutorials/hello-world/) for a step-by-step to getting started.
216+
For more information including a detailed API reference and step-by-step usage examples, refer to the [documentation site](https://docs.plugboard.dev). We recommend diving into the [tutorials](https://docs.plugboard.dev/latest/examples/tutorials/hello-world/) for a step-by-step guide to getting started.
212217

213218
## 🐾 Roadmap
214219

0 commit comments

Comments
 (0)