Skip to content
Snippets Groups Projects
Commit 1c3d0b19 authored by Marcus Schiesser's avatar Marcus Schiesser
Browse files

feat: Use `gpt-4-turbo` model as default. Upgrade Python llama-index to 0.10.28

parent a0dec80d
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ Optionally generate a frontend if you've selected the Python or Express back-end ...@@ -54,7 +54,7 @@ Optionally generate a frontend if you've selected the Python or Express back-end
## Customizing the AI models ## Customizing the AI models
The app will default to OpenAI's `gpt-4-vision-preview` LLM and `text-embedding-3-large` embedding model. The app will default to OpenAI's `gpt-4-turbo` LLM and `text-embedding-3-large` embedding model.
If you want to use different OpenAI models, add the `--ask-models` CLI parameter. If you want to use different OpenAI models, add the `--ask-models` CLI parameter.
......
...@@ -75,7 +75,7 @@ const defaults: QuestionArgs = { ...@@ -75,7 +75,7 @@ const defaults: QuestionArgs = {
openAiKey: "", openAiKey: "",
llamaCloudKey: "", llamaCloudKey: "",
useLlamaParse: false, useLlamaParse: false,
model: "gpt-4-vision-preview", model: "gpt-4-turbo",
embeddingModel: "text-embedding-3-large", embeddingModel: "text-embedding-3-large",
communityProjectConfig: undefined, communityProjectConfig: undefined,
llamapack: "", llamapack: "",
......
...@@ -13,9 +13,9 @@ python = "^3.11,<3.12" ...@@ -13,9 +13,9 @@ python = "^3.11,<3.12"
fastapi = "^0.109.1" fastapi = "^0.109.1"
uvicorn = { extras = ["standard"], version = "^0.23.2" } uvicorn = { extras = ["standard"], version = "^0.23.2" }
python-dotenv = "^1.0.0" python-dotenv = "^1.0.0"
llama-index = "0.10.15" llama-index = "0.10.28"
llama-index-core = "0.10.15" llama-index-core = "0.10.28"
llama-index-agent-openai = "0.1.5" llama-index-agent-openai = "0.2.2"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
......
...@@ -39,7 +39,7 @@ export default function ChatSection() { ...@@ -39,7 +39,7 @@ export default function ChatSection() {
handleSubmit={handleSubmit} handleSubmit={handleSubmit}
handleInputChange={handleInputChange} handleInputChange={handleInputChange}
isLoading={isLoading} isLoading={isLoading}
multiModal={process.env.NEXT_PUBLIC_MODEL === "gpt-4-vision-preview"} multiModal={process.env.NEXT_PUBLIC_MODEL === "gpt-4-turbo"}
/> />
</div> </div>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment