Docfile commited on
Commit
83d7687
·
1 Parent(s): 0ff1d54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -19,14 +19,9 @@ app = App.from_config(config={
19
  "provider": "google",
20
  "config": {
21
  "model": "models/embedding-001",
22
- "task_type": "retrieval_document",
23
  },
24
  },
25
- "chunker": {
26
- "chunk_size": 2000,
27
- "chunk_overlap": 0,
28
- "length_function": "len",
29
- },
30
  })
31
 
32
  app.add('http://www.droit-afrique.com/uploads/Gabon-Code-2019-penal.pdf', data_type='pdf_file')
 
19
  "provider": "google",
20
  "config": {
21
  "model": "models/embedding-001",
22
+
23
  },
24
  },
 
 
 
 
 
25
  })
26
 
27
  app.add('http://www.droit-afrique.com/uploads/Gabon-Code-2019-penal.pdf', data_type='pdf_file')