Crates.io | chidori-core |
lib.rs | chidori-core |
version | |
source | src |
created_at | 2024-10-09 05:18:32.539179 |
updated_at | 2024-11-04 21:52:22.000161 |
description | Core of Chidori, compiles graph and node definitions into an interpretable graph |
homepage | https://docs.thousandbirds.ai |
repository | https://github.com/ThousandBirdsInc/chidori |
max_upload_size | |
id | 1402021 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This implements an interface for constructing prompt graphs. This can be used to annotate existing implementations with graph definitions as well.
In order to go beyond tracing alone, we want to have control over where and when prompts are executed.
Breaking apart the source code into it's own graph allows us to take more ownership over how units of code are executed. We want to be able to pause execution of a graph, and resume it later.
Constructing the execution graph is something that can be done at runtime, and we want to be able to do this without requiring a build step. We also want to be able to annotate existing code with graph definitions, and this is easier to do if we can operate over the source code directly.