-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dialectic Endpoint Improvements (#67)
* feat(dialectic) Allow for batch questions and load session history * feat(dialectic) parallelize facts and history queries * feat(agent) Addresses dev-258 allow specifying additional collections * feat(uv) switched from poetry to uv * feat(deriver) Turn off derivations by editing session medatadata with a deriver_disabled flag * fix(tests) Clean up test logic --------- Co-authored-by: Vineeth Voruganti <[email protected]>
- Loading branch information
1 parent
5cac118
commit 2522992
Showing
16 changed files
with
2,115 additions
and
2,613 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ docker-compose.yml.example | |
.github/** | ||
.vscode/** | ||
data/** | ||
|
||
.venv |
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 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 |
---|---|---|
@@ -1,37 +1,39 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "honcho" | ||
version = "0.0.11" | ||
version = "0.0.12" | ||
description = "Honcho Server" | ||
authors = ["Plastic Labs <[email protected]>"] | ||
authors = [ | ||
{name = "Plastic Labs", email = "[email protected]"}, | ||
] | ||
readme = "README.md" | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
fastapi = "^0.111.0" | ||
python-dotenv = "^1.0.0" | ||
sqlalchemy = "^2.0.30" | ||
fastapi-pagination = "^0.12.24" | ||
pgvector = "^0.2.5" | ||
sentry-sdk = {extras = ["fastapi", "sqlalchemy"], version = "^2.3.1"} | ||
greenlet = "^3.0.3" | ||
psycopg = {extras= ["binary"], version="^3.1.19"} | ||
httpx = "^0.27.0" | ||
opentelemetry-instrumentation-fastapi = "^0.45b0" | ||
opentelemetry-sdk = "^1.24.0" | ||
opentelemetry-exporter-otlp = "^1.24.0" | ||
opentelemetry-instrumentation-sqlalchemy = "^0.45b0" | ||
opentelemetry-instrumentation-logging = "^0.45b0" | ||
rich = "^13.7.1" | ||
mirascope = "^0.18.0" | ||
openai = "^1.43.0" | ||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest = "^8.2.2" | ||
sqlalchemy-utils = "^0.41.2" | ||
pytest-asyncio = "^0.23.7" | ||
coverage = "^7.6.0" | ||
interrogate = "^1.7.0" | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"fastapi[standard]>=0.111.0", | ||
"python-dotenv>=1.0.0", | ||
"sqlalchemy>=2.0.30", | ||
"fastapi-pagination>=0.12.24", | ||
"pgvector>=0.2.5", | ||
"sentry-sdk[fastapi,sqlalchemy]>=2.3.1", | ||
"greenlet>=3.0.3", | ||
"psycopg[binary]>=3.1.19", | ||
"httpx>=0.27.0", | ||
"opentelemetry-instrumentation-fastapi>=0.45b0", | ||
"opentelemetry-sdk>=1.24.0", | ||
"opentelemetry-exporter-otlp>=1.24.0", | ||
"opentelemetry-instrumentation-sqlalchemy>=0.45b0", | ||
"opentelemetry-instrumentation-logging>=0.45b0", | ||
"rich>=13.7.1", | ||
"mirascope>=0.18.0", | ||
"openai>=1.43.0", | ||
] | ||
[tool.uv] | ||
dev-dependencies = [ | ||
"pytest>=8.2.2", | ||
"sqlalchemy-utils>=0.41.2", | ||
"pytest-asyncio>=0.23.7", | ||
"coverage>=7.6.0", | ||
"interrogate>=1.7.0", | ||
] | ||
|
||
[tool.ruff.lint] | ||
# from https://docs.astral.sh/ruff/linter/#rule-selection example | ||
|
@@ -54,10 +56,5 @@ ignore = ["E501"] | |
[tool.ruff.flake8-bugbear] | ||
extend-immutable-calls = ["fastapi.Depends"] | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.lpytest.ini_options] | ||
asyncio_mode = "auto" |
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
Oops, something went wrong.