Skip to content

Commit dfb790e

Browse files
authored
feat: add tagging, tag and artifact index routers (#64)
* feat: add logging to knowledge utilities * feat: add tag, tagging and artifact index APIs * feat: add tagging, tag and artifact index routers chore: update whiskerrag package version
1 parent 44164ed commit dfb790e

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

server/api/tagging/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Annotated, List
22

3-
from fastapi import APIRouter, Body, HTTPException, Path
3+
from fastapi import APIRouter, HTTPException, Path
44
from whiskerrag_types.model import (
55
PageQueryParams,
66
PageResponse,

server/main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
from api.dashboard import router as dashboard_router
1818
from api.knowledge import router as knowledge_router
1919
from api.retrieval import router as retrieval_router
20+
from api.tag import router as tag_router
21+
from api.tagging import router as tagging_router
22+
from api.artifact_index import router as artifact_index_router
2023
from api.rule import router as rule_router
2124
from api.space import router as space_router
2225
from api.task import router as task_router
@@ -281,6 +284,9 @@ async def global_exception_handler(
281284
app.include_router(api_key_router.router)
282285
app.include_router(agent_router.router)
283286
app.include_router(webhook_router.router)
287+
app.include_router(tagging_router.router)
288+
app.include_router(tag_router.router)
289+
app.include_router(artifact_index_router.router)
284290

285291
# add base router
286292
@app.get("/")

server/poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pydantic-settings = ">=2.0.0,<3.0.0"
4444
PyGithub = "==2.3.0"
4545
httpx = ">=0.27.2"
4646
starlette = ">=0.40.0"
47-
whiskerrag = "^0.3.1"
47+
whiskerrag = "^0.3.4"
4848
iso8601 = "==2.1.0"
4949

5050
[tool.poetry.group.dev.dependencies]

server/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ PyGithub==2.3.0
77
httpx>=0.27.2
88
starlette>=0.40.0
99
# -e ../../whiskerrag_toolkit
10-
whiskerrag>=0.3.3
10+
whiskerrag>=0.3.4
1111
iso8601==2.1.0

0 commit comments

Comments
 (0)