VietCat commited on
Commit
2b6d769
·
1 Parent(s): e9212aa

fix metadata

Browse files
Files changed (1) hide show
  1. app/law_document_chunker.py +1 -1
app/law_document_chunker.py CHANGED
@@ -434,7 +434,7 @@ class LawDocumentChunker:
434
  chunk_dict = {
435
  'id': chunk.id,
436
  'content': chunk.content,
437
- 'embedding': [0.0], # Dummy embedding vector for testing
438
  'vanbanid': chunk.vanbanid,
439
  'cha': chunk.cha,
440
  'document_title': chunk.document_title,
 
434
  chunk_dict = {
435
  'id': chunk.id,
436
  'content': chunk.content,
437
+ 'embedding': [0.0] * 768, # Dummy embedding vector 768 chiều cho Supabase
438
  'vanbanid': chunk.vanbanid,
439
  'cha': chunk.cha,
440
  'document_title': chunk.document_title,