Skip to content

Commit

Permalink
change compat + model
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp committed May 14, 2024
1 parent e3e60da commit 918d51f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions app.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 = ""
Expand Down

0 comments on commit 918d51f

Please sign in to comment.