-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic Dialectic Endpoint fixes dev-253
- Loading branch information
1 parent
8cac9b7
commit cf36895
Showing
9 changed files
with
1,075 additions
and
31 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ authors = ["Plastic Labs <[email protected]>"] | |
readme = "README.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
python = "^3.8.1" | ||
fastapi = "^0.109.0" | ||
uvicorn = "^0.24.0.post1" | ||
python-dotenv = "^1.0.0" | ||
|
@@ -25,6 +25,8 @@ opentelemetry-instrumentation-logging = "^0.44b0" | |
greenlet = "^3.0.3" | ||
realtime = "^1.0.2" | ||
psycopg = {extras = ["binary"], version = "^3.1.18"} | ||
langchain = "^0.1.12" | ||
langchain-openai = "^0.0.8" | ||
|
||
[tool.ruff.lint] | ||
# from https://docs.astral.sh/ruff/linter/#rule-selection example | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
_type: prompt | ||
input_variables: | ||
["agent_input", "retrieved_facts"] | ||
template: > | ||
You are tasked with responding to the query based on the context provided. | ||
--- | ||
query: {agent_input} | ||
context: {retrieved_facts} | ||
--- | ||
Provide a brief, matter-of-fact, and appropriate response to the query based on the context provided. If the context provided doesn't aid in addressing the query, return None. |
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
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