From 1918bf4308d22adba7dc575b4dc9664b79318c80 Mon Sep 17 00:00:00 2001
From: xuyonghao <898441624@qq.com>
Date: 星期二, 12 十一月 2024 15:50:04 +0800
Subject: [PATCH] 知识问答,文档智能,智能问答。对话历史记录获取

---
 app/models/user.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/app/models/user.py b/app/models/user.py
index 3335170..45874f7 100644
--- a/app/models/user.py
+++ b/app/models/user.py
@@ -1,3 +1,5 @@
+from typing import Optional
+
 from pydantic import BaseModel
 
 
@@ -21,3 +23,8 @@
     token_type: str
     bisheng_token: str
     ragflow_token: str
+
+class PageParameter(BaseModel):
+    page_index: int
+    page_size: int
+    keyword: Optional[str] = ""
\ No newline at end of file

--
Gitblit v1.8.0