mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-01 01:59:06 +00:00
refactor: Remove deprecated document_title parameter from generate_document_summary function
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
This commit is contained in:
parent
1c4c61eb04
commit
9ef2ddd15c
1 changed files with 0 additions and 2 deletions
|
@ -9,7 +9,6 @@ async def generate_document_summary(
|
|||
content: str,
|
||||
user_llm,
|
||||
document_metadata: dict | None = None,
|
||||
document_title: str = "",
|
||||
) -> tuple[str, list[float]]:
|
||||
"""
|
||||
Generate summary and embedding for document content with metadata.
|
||||
|
@ -18,7 +17,6 @@ async def generate_document_summary(
|
|||
content: Document content
|
||||
user_llm: User's LLM instance
|
||||
document_metadata: Optional metadata dictionary to include in summary
|
||||
document_title: Optional document title for context (deprecated, use metadata)
|
||||
|
||||
Returns:
|
||||
Tuple of (enhanced_summary_content, summary_embedding)
|
||||
|
|
Loading…
Add table
Reference in a new issue