Skip to content

Commit

Permalink
wip on dispatch fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kvey committed Jul 1, 2024
1 parent abb88ff commit 5d6218c
Show file tree
Hide file tree
Showing 30 changed files with 896 additions and 272 deletions.
4 changes: 4 additions & 0 deletions .idea/toolchain.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

185 changes: 185 additions & 0 deletions toolchain/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion toolchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = [
"chidori-prompt-format",
"chidori-im-rs",
"chidori-static-analysis",
"chidori-debugger",
"chidori-debugger", "chidori-tsne", "chidori-optimizer-dsp",
]
resolver = "2"

Expand Down
1 change: 1 addition & 0 deletions toolchain/chidori-core/examples/core10_concurrency/core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Explaining and demonstrating our concurrency support
12 changes: 12 additions & 0 deletions toolchain/chidori-core/examples/core10_concurrency/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use std::path::Path;
use chidori_core::sdk::entry::{Chidori};
fn main() {
let current_file = env!("CARGO_MANIFEST_DIR");
let current_file_path = Path::new(current_file);
let relative_path = current_file_path.join("./");

let mut env = Chidori::new();
env.load_md_directory(&relative_path);
let mut s = env.get_instance().unwrap();
s.run();
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This example is based on [this crewAI example](https://github.com/joaomdmoura/cr

```prompt (researcher)
---
model: gpt-3.5-turbo
fn: scrape_and_summarize_website_researcher
---
Role: Principal Researcher
Expand Down Expand Up @@ -87,6 +88,7 @@ def search_internet(query):

```prompt (researcher)
---
model: gpt-3.5-turbo
import:
- search_internet
- scrape_and_summarize_website
Expand All @@ -98,6 +100,7 @@ Backstory: An expert in analyzing travel data to pick ideal destinations

```prompt (local_expert)
---
model: gpt-3.5-turbo
import:
- search_internet
- scrape_and_summarize_website
Expand All @@ -110,6 +113,7 @@ Backstory: A knowledgable local guide with extensive information about the city,

```prompt (travel_concierge)
---
model: gpt-3.5-turbo
import:
- search_internet
- scrape_and_summarize_website
Expand Down
Loading

0 comments on commit 5d6218c

Please sign in to comment.