Switch to gpt-4o-mini by default (#233)
* Switch to gpt-4o-mini by default * Add option and make gpt-4o-mini default in frontend * Run llama index notebook without extra arguments in poetry install * Install extras for llama_index_notebook run
This commit is contained in:
parent
ced5385186
commit
34e140a41d
4 changed files with 7 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
poetry install --no-interaction --all-extras --no-root
|
||||
poetry install --no-interaction --all-extras
|
||||
poetry add jupyter --no-interaction
|
||||
|
||||
- name: Execute Jupyter Notebook
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ const defaultProvider = {
|
|||
};
|
||||
|
||||
const defaultModel = {
|
||||
label: 'gpt-4o',
|
||||
value: 'gpt-4o',
|
||||
label: 'gpt-4o-mini',
|
||||
value: 'gpt-4o-mini',
|
||||
};
|
||||
|
||||
export default function Settings({ onDone = () => {}, submitButtonText = 'Save' }) {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
|
|||
|
||||
class LLMConfig(BaseSettings):
|
||||
llm_provider: str = "openai"
|
||||
llm_model: str = "gpt-4o"
|
||||
llm_model: str = "gpt-4o-mini"
|
||||
llm_endpoint: str = ""
|
||||
llm_api_key: Optional[str] = None
|
||||
llm_temperature: float = 0.0
|
||||
|
|
|
|||
|
|
@ -73,6 +73,9 @@ def get_settings() -> SettingsDict:
|
|||
"providers": llm_providers,
|
||||
"models": {
|
||||
"openai": [{
|
||||
"value": "gpt-4o-mini",
|
||||
"label": "gpt-4o-mini",
|
||||
}, {
|
||||
"value": "gpt-4o",
|
||||
"label": "gpt-4o",
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue