Spaces:
Paused
Paused
BGarida commited on
Commit ·
3c8c9ec
1
Parent(s): 50356ed
Deploying PDF Version v13
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ APP_CONFIG = {
|
|
| 31 |
"chunk_overlap": 200,
|
| 32 |
"max_file_size_mb": 50,
|
| 33 |
"max_output_tokens": 4096,
|
| 34 |
-
"embedding_model": "text-embedding-3-large"
|
| 35 |
}
|
| 36 |
|
| 37 |
# Initialize text splitter
|
|
@@ -55,7 +55,7 @@ SOURCES: xyz
|
|
| 55 |
|
| 56 |
Begin!
|
| 57 |
----------------
|
| 58 |
-
{
|
| 59 |
|
| 60 |
# Create prompt template
|
| 61 |
messages = [
|
|
|
|
| 31 |
"chunk_overlap": 200,
|
| 32 |
"max_file_size_mb": 50,
|
| 33 |
"max_output_tokens": 4096,
|
| 34 |
+
"embedding_model": "text-embedding-3-large"
|
| 35 |
}
|
| 36 |
|
| 37 |
# Initialize text splitter
|
|
|
|
| 55 |
|
| 56 |
Begin!
|
| 57 |
----------------
|
| 58 |
+
{context}"""
|
| 59 |
|
| 60 |
# Create prompt template
|
| 61 |
messages = [
|