Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update method name

davidmezzettie11d73f4eaa0
diff --git a/src/python/txtai/api/routers/segmentation.py b/src/python/txtai/api/routers/segmentation.py
index f93cba2d..778355e7 100644
--- a/src/python/txtai/api/routers/segmentation.py
+++ b/src/python/txtai/api/routers/segmentation.py
@@ -12,7 +12,7 @@ router = APIRouter()
@router.get("/segment")
-def textract(text: str):
+def segment(text: str):
"""
Segments input text.