Skip to content

Commit

Permalink
add executor and refactor graph traverse
Browse files Browse the repository at this point in the history
  • Loading branch information
SiriusNEO committed Sep 21, 2024
1 parent bd17a66 commit 5583b72
Show file tree
Hide file tree
Showing 30 changed files with 553 additions and 461 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,9 @@ data
*.so
*.pdf

# Test cache
tests/*.png

# Exclude pdf in assets
!assets/*.pdf

Expand Down
2 changes: 1 addition & 1 deletion docs/sys_design/serve_layer/graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Parrot's Graph is the core information we capture from the application, which de

To help readers have a vertical understanding of our system, we first explain our data pipeline in the Serve Layer, starting from a request coming from the Parrot API.

- Step 1: The request comes to the `semantic_call/` API route and the core call `submit_semantic_call`.
- Step 1: The request comes to the `semantic_call/` API route and the core calls `submit_semantic_call`.
- Step 2: The core finds the corresponding `Session` and calls its `add_request` method.
- Step 3: The session parses the request payload to the class `ChunkedSemanticCallRequest`.
- Step 4: Convert the `ChunkedSemanticCallRequest` into `RequestChain`, which consists of several `CompletionChain`.
Expand Down
1 change: 1 addition & 0 deletions docs/user_docs/parrot_apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Request body:

```json
{
"func_name": "xxx", // Function name. (Not very important)
"template": "This is a test {{a}} function. {{b}}",
"parameters": [
{
Expand Down
Loading

0 comments on commit 5583b72

Please sign in to comment.