diff --git a/offchain/events/README.md b/offchain/events/README.md index 3d3a6ed..193c2ea 100755 --- a/offchain/events/README.md +++ b/offchain/events/README.md @@ -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 @@ -26,7 +18,4 @@ When you start this service it expects the following variables that can be set e -[sui_event_py]: ./sui_event.py -[offchain_py]: ./offchain.py -[main_py]: ../tools/server/main.py [tools_readme]: ../tools/README.md diff --git a/offchain/tools/README.md b/offchain/tools/README.md index 0626c89..6d99c0a 100644 --- a/offchain/tools/README.md +++ b/offchain/tools/README.md @@ -59,5 +59,5 @@ PYTHONPATH=src pytest tests ``` -[main_py]: ./server/main.py -[tools_py]: ./server/tools/tools.py \ No newline at end of file +[main_py]: ./src/nexus_tools/server/main.py +[tools_py]: ./src/nexus_tools/server/tools/tools.py \ No newline at end of file