-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c0e90d
commit 088d471
Showing
11 changed files
with
111 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""LangController Controllers.""" | ||
from langcontroller.controllers.generic import * | ||
from langcontroller.controllers.base import * | ||
from langcontroller.controllers.marvin import * |
13 changes: 7 additions & 6 deletions
13
langcontroller/controllers/generic.py → langcontroller/controllers/base.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: "Data Flow Architecture" | ||
--- | ||
flowchart LR | ||
Request -- Raw Text --> FeatureService -- Safe Response --> Response | ||
PromptProcessor("Prompt Processor") -- Safe Text --> StructuredLLMOutput | ||
|
||
subgraph FeatureService["Feature Service"] | ||
direction LR | ||
SecurityMiddlewarePre --> PromptTemplate --> SecurityMiddlewarePost | ||
subgraph PromptProcessor["Prompt Processor"] | ||
direction TB | ||
PromptTemplate["Render Template"] | ||
SecurityMiddlewarePre["Security Middleware Pre-Template"] | ||
SecurityMiddlewarePost["Security Middleware Post-Template"] | ||
end | ||
|
||
InputModel --> LLMProcessor --> OutputModel | ||
subgraph StructuredLLMOutput["Safe A.I."] | ||
direction TB | ||
InputModel["Input Model"] | ||
LLMProcessor["LLM Processor"] | ||
OutputModel["Output Model"] | ||
end | ||
|
||
end | ||
|
22 changes: 19 additions & 3 deletions
22
langcontroller/templates/repository/append_asset_class.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 14 additions & 2 deletions
16
langcontroller/templates/repository/append_sensor_class.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 14 additions & 9 deletions
23
langcontroller/templates/repository/create_repository_file.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters