mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
Bug fixes on chat history filter plus removed system prompt
This commit is contained in:
parent
fb64e15802
commit
7dab3edebf
9 changed files with 21 additions and 21 deletions
|
|
@ -35,9 +35,10 @@ class CRUDDocuments(CRUDBase[Document, DocumentCreate, DocumentUpdate]):
|
|||
.join(document_department_association)
|
||||
.join(Department)
|
||||
.filter(document_department_association.c.department_id == department_id)
|
||||
.order_by(desc(getattr(Document, 'uploaded_at')))
|
||||
.offset(skip)
|
||||
.limit(limit)
|
||||
.all().order_by(desc(getattr(Document, 'uploaded_at')))
|
||||
.all()
|
||||
)
|
||||
|
||||
def get_files_to_verify(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue