From 918d51f9b4096843336ef441f1c66d86cabb528b Mon Sep 17 00:00:00 2001 From: J S <49557684+svilupp@users.noreply.github.com> Date: Tue, 14 May 2024 07:46:19 +0100 Subject: [PATCH] change compat + model --- CHANGELOG.md | 4 ++++ Project.toml | 2 +- app.jl | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dba32c..d0aa292 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Prompt Builder tab - Added a "Detailed view" button to toggle between a compact view and a detailed view +Configuration +- Changed default OpenAI model to GPT-4 Omni + ### Fixed +- Fixed a piracy warning in Aqua ## [0.2.0] diff --git a/Project.toml b/Project.toml index 67e7a4f..c84a663 100644 --- a/Project.toml +++ b/Project.toml @@ -15,7 +15,7 @@ Aqua = "0.7" Dates = "<0.0.1, 1" GenieFramework = "2.1" GenieSession = "1" -PromptingTools = "0.23" +PromptingTools = "0.25" Test = "<0.0.1, 1" julia = "1.10" diff --git a/app.jl b/app.jl index f1a18a2..8f9a539 100644 --- a/app.jl +++ b/app.jl @@ -45,13 +45,13 @@ const HISTORY_SAVE = get(ENV, "PROTO_HISTORY_SAVE", true) ## @in chat_tracker_tokens_in = 0 ## @in chat_tracker_tokens_out = 0 ## @in chat_tracker_cost = 0.0 - @in model = isempty(PT.GROQ_API_KEY) ? "gpt4t" : "gllama370" + @in model = isempty(PT.GROQ_API_KEY) ? "gpt4o" : "gllama370" @in model_input = "" @in model_submit = false ## gllama3 - Llama3 8b on Groq, gllama370 - Llama3 70b on Groq, ## claude-x are Opus/Sonnet/Haiku from Anthropic Claude3, tmixtral is Mixtral 8x7b on Together.ai, ## ollama3 is Llama3 8b on Ollama - @out model_options = ["gpt4t", "gpt3t", "gllama3", "gllama370", + @out model_options = ["gpt4o", "gpt4t", "gpt3t", "gllama3", "gllama370", "ollama3", "claudeo", "claudes", "claudeh", "tmixtral"] @in system_prompt = "You are a helpful assistant." @in chat_temperature = 0.7 @@ -112,7 +112,7 @@ const HISTORY_SAVE = get(ENV, "PROTO_HISTORY_SAVE", true) @in builder_tabs = Dict{Symbol, Any}[] @in builder_tab = "tab1" @in builder_detailed_view = false - @in builder_model = isempty(PT.GROQ_API_KEY) ? "gpt4t" : "gllama370" + @in builder_model = isempty(PT.GROQ_API_KEY) ? "gpt4o" : "gllama370" @in builder_samples = 3 # Template browser @in template_filter = ""