update content_summary in chunking
Browse files
app/law_document_chunker.py
CHANGED
|
@@ -201,7 +201,7 @@ class LawDocumentChunker:
|
|
| 201 |
|
| 202 |
async def _create_context_summary_with_llm(self, content: str, metadata: ChunkMetadata) -> str:
|
| 203 |
"""
|
| 204 |
-
Tạo context_summary bằng LLM theo format: "Structure: LEVEL |
|
| 205 |
"""
|
| 206 |
try:
|
| 207 |
# Tạo LEVEL từ metadata
|
|
|
|
| 201 |
|
| 202 |
async def _create_context_summary_with_llm(self, content: str, metadata: ChunkMetadata) -> str:
|
| 203 |
"""
|
| 204 |
+
Tạo context_summary bằng LLM theo format: "Structure: LEVEL | Semantic: SUMMARY"
|
| 205 |
"""
|
| 206 |
try:
|
| 207 |
# Tạo LEVEL từ metadata
|