@1kbirds/chidori 0.1.23 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ # pytest cache directory #
2
+
3
+ This directory contains data from the pytest's cache plugin,
4
+ which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
5
+
6
+ **Do not** commit this to version control.
7
+
8
+ See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
package/CHANGELOG.md ADDED
@@ -0,0 +1,33 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## 0.1.24 (2023-07-28)
9
+
10
+ ### Fixed
11
+
12
+ - Fixing releases
13
+
14
+ ## 0.1.23 (2023-07-28)
15
+
16
+ ### Fixed
17
+
18
+ - Fixing releases
19
+
20
+ ## 0.1.22 (2023-07-28)
21
+
22
+ ### Added
23
+
24
+
25
+ ### Fixed
26
+
27
+ ### Changed
28
+
29
+ - Moved to SQL queries as triggers to nodes rather than graphql
30
+
31
+ ### Changed
32
+
33
+
package/Cargo.toml CHANGED
@@ -1,7 +1,12 @@
1
1
  [package]
2
2
  name = "chidori"
3
- version = "0.1.7"
3
+ version= "0.1.24"
4
4
  edition = "2021"
5
+ description = "A Rust library for executing prompt-graph models"
6
+ license = "MIT"
7
+ homepage = "https://docs.thousandbirds.ai"
8
+ repository = "https://github.com/ThousandBirdsInc/chidori"
9
+
5
10
 
6
11
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
12
  [lib]
@@ -31,7 +36,7 @@ sqlparser = "0.34.0"
31
36
  openssl = { version = "0.10", features = ["vendored"] }
32
37
 
33
38
  once_cell = "1"
34
- prompt-graph-core = { path = "../prompt-graph-core", version = "0.1.0" }
39
+ prompt-graph-core = { path = "../prompt-graph-core", version = "^0.1.24" }
35
40
  wasm-bindgen = {version = "0.2.86", features = []}
36
41
  handlebars = "4.3.7"
37
42
  anyhow = { version = "1.0", default-features = false }
@@ -75,4 +80,4 @@ pyo3-build-config = "0.19.1"
75
80
 
76
81
  [package.metadata.maturin]
77
82
  python-source = "package_python"
78
- name = "chidori"
83
+ name = "chidori"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1kbirds/chidori",
3
- "version": "v0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "Chidori is a library for building and running reactive AI agents.",
5
5
  "main": "package_node/index.js",
6
6
  "scripts": {
@@ -8,8 +8,7 @@
8
8
  "build-debug": "npm run build --",
9
9
  "build-release": "npm run build -- --release",
10
10
  "test-rust": "cargo test",
11
- "test-js": "jest tests/nodejs",
12
- "install": "node-pre-gyp install"
11
+ "test-js": "jest tests/nodejs"
13
12
  },
14
13
  "os": [
15
14
  "darwin",
Binary file
@@ -670,7 +670,7 @@ impl NodeHandle {
670
670
  }
671
671
 
672
672
  fn get_output_type(&self) -> Vec<Vec<String>> {
673
- self.indiv.output_path.clone()
673
+ self.indiv.output_paths.clone()
674
674
  }
675
675
 
676
676
  pub fn run_when(&mut self, graph_builder: &mut GraphBuilder, other_node: &NodeHandle) -> anyhow::Result<bool> {
@@ -694,7 +694,7 @@ impl NodeHandle {
694
694
 
695
695
  pub async fn query(&self, file_id: String, url: String, branch: u64, frame: u64) -> anyhow::Result<HashMap<String, SerializedValue>> {
696
696
  let name = &self.node.core.as_ref().unwrap().name;
697
- let query = construct_query_from_output_type(&name, &name, &self.indiv.output_path).unwrap();
697
+ let query = construct_query_from_output_type(&name, &name, &self.indiv.output_paths).unwrap();
698
698
  let mut client = get_client(url).await?;
699
699
  let result = client.run_query(QueryAtFrame {
700
700
  id: file_id,
File without changes