Skip to content

Commit

Permalink
Improve presentation
Browse files Browse the repository at this point in the history
- Lower the maintenance cost by removing broken links completely.
  This is a short package after all.
- Remove unclear text.
  • Loading branch information
loverdos committed Sep 30, 2024
1 parent 3a4ad66 commit ebe3b19
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions offchain/events/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
# Events

This directory contains the offchain event listener [sui_event.py][sui_event_py], which receives `RequestForCompletionEvent` events
This package contains the offchain event listener (`sui_event.py`), which receives `RequestForCompletionEvent` events
emitted by agents executing onchain. It then calls their required tools and passes those results with the defined prompt
to inference of specified models.

Any hosted Talus node would contain the contents of the `events` directory to efficiently handle requests
to their nodes models and tools.

**Towards hosted inference for Talus**
In the future, nodes can be modified to run inference using other's compute. [offchain.py][offchain_py] could be modified
to call any compute host for inference. Currently, [offchain.py][offchain_py] contains `process()` which calls the
[main.py][main_py] route `/predict`.

To see available models/tools and define new ones, see the [`tools` README.md][tools_readme].

## How to run this
Expand All @@ -26,7 +18,4 @@ When you start this service it expects the following variables that can be set e

<!-- References -->

[sui_event_py]: ./sui_event.py
[offchain_py]: ./offchain.py
[main_py]: ../tools/server/main.py
[tools_readme]: ../tools/README.md

0 comments on commit ebe3b19

Please sign in to comment.