Skip to content

Commit

Permalink
memory cell passing initial tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kvey committed Apr 15, 2024
1 parent 5535f8e commit 1009912
Show file tree
Hide file tree
Showing 32 changed files with 380 additions and 294 deletions.
93 changes: 34 additions & 59 deletions toolchain/Cargo.lock

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

8 changes: 5 additions & 3 deletions toolchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ protobuf = "3.2.0"
sqlparser = "0.34.0"
anyhow = { version = "1.0", default-features = false }
indoc = "1.0.3"
serde = { version = "1", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1"
serde_json = "=1.0.115"
serde_json = "1.0.115"
tonic = "0.9"
prost = "0.11"
tokio = { version = "1", features = ["full", "tracing"] }
Expand All @@ -50,9 +50,11 @@ tracing-log = "0.1.3"
tracing-chrome = "0.7.1"
tracing-flame = "0.2.0"
bincode = "2.0.0-rc.3"

petgraph = "0.6.3"

[patch.crates-io]
deno = {path = "../../deno/cli"}
deno_runtime = {path = "../../deno/runtime"}
serde = {path = "../../serde/serde" }
serde_derive = {path = "../../serde/serde_derive" }
tauri = {path = "../../tauri/core/tauri" }
10 changes: 5 additions & 5 deletions toolchain/book_src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Summary

[Introduction](README.md)

- [My First Chapter](my-first-chapter.md)
- [Nested example](nested/README.md)
- [Sub-chapter](nested/sub-chapter.md)
- [Introduction](README.md)
- [Architecture](ARCHITECTURE.md)
- [Library](library/HOME.md)
- [AI](library/ai.md)
- [Future Work](FUTURE_WORK.md)
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import unittest

class TestMarshalledValues(unittest.IsolatedAsyncioTestCase):
async def test_run_prompt(self):
self.assertEqual(await run_prompt(5), 4)
self.assertEqual(await current_weather_in_sf(5), 4)

unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromTestCase(TestMarshalledValues))
```
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ import json
import os
import requests

def partition_html(text=""):
return text

async def scrape_and_summarize_website(website):
"""Useful to scrape and summarize a website content"""
url = f"https://chrome.browserless.io/content?token={os.environ['BROWSERLESS_API_KEY']}"
Expand Down
Loading

0 comments on commit 1009912

Please sign in to comment.