- turned model_variables into a class with lazy loading
- some improvements to Healthchecks
This commit is contained in:
41
config/model_config.py
Normal file
41
config/model_config.py
Normal file
@@ -0,0 +1,41 @@
|
||||
MODEL_CONFIG = {
|
||||
"openai": {
|
||||
"gpt-4o": {
|
||||
"tool_calling_supported": True,
|
||||
"processing_chunk_size": 10000,
|
||||
"processing_chunk_overlap": 200,
|
||||
"processing_min_chunk_size": 8000,
|
||||
"processing_max_chunk_size": 12000,
|
||||
"prompt_templates": [
|
||||
"summary", "rag", "history", "encyclopedia",
|
||||
"transcript", "html_parse", "pdf_parse"
|
||||
]
|
||||
},
|
||||
"gpt-4o-mini": {
|
||||
"tool_calling_supported": True,
|
||||
"processing_chunk_size": 10000,
|
||||
"processing_chunk_overlap": 200,
|
||||
"processing_min_chunk_size": 8000,
|
||||
"processing_max_chunk_size": 12000,
|
||||
"prompt_templates": [
|
||||
"summary", "rag", "history", "encyclopedia",
|
||||
"transcript", "html_parse", "pdf_parse"
|
||||
]
|
||||
},
|
||||
# Add other OpenAI models here
|
||||
},
|
||||
"anthropic": {
|
||||
"claude-3-5-sonnet": {
|
||||
"tool_calling_supported": True,
|
||||
"processing_chunk_size": 10000,
|
||||
"processing_chunk_overlap": 200,
|
||||
"processing_min_chunk_size": 8000,
|
||||
"processing_max_chunk_size": 12000,
|
||||
"prompt_templates": [
|
||||
"summary", "rag", "history", "encyclopedia",
|
||||
"transcript", "html_parse", "pdf_parse"
|
||||
]
|
||||
},
|
||||
# Add other Anthropic models here
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user