Skip to content

Commit

Permalink
fix for uploading jpg & png (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
komalg1 authored Feb 12, 2024
1 parent 4756cd1 commit f7dd41e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions code/utilities/helpers/ConfigHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,24 @@ def get_default_config():
},
"loading": {"strategy": LoadingStrategy.DOCX},
},
{
"document_type": "jpg",
"chunking": {
"strategy": ChunkingStrategy.LAYOUT,
"size": 500,
"overlap": 100,
},
"loading": {"strategy": LoadingStrategy.LAYOUT},
},
{
"document_type": "png",
"chunking": {
"strategy": ChunkingStrategy.LAYOUT,
"size": 500,
"overlap": 100,
},
"loading": {"strategy": LoadingStrategy.LAYOUT},
},
],
"logging": {"log_user_interactions": True, "log_tokens": True},
"orchestrator": {"strategy": "openai_function"},
Expand Down

0 comments on commit f7dd41e

Please sign in to comment.