Skip to content

Commit

Permalink
Update PromptingTools compat
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp authored Jun 25, 2024
2 parents bf1147f + 8aa1904 commit 30605f7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

### Fixed

## [0.3.0]

### Added
Chat tab
- Added support for Groq's speech-to-text model for much lower latency

Prompt Builder tab
- Added a "Detailed view" button to toggle between a compact view and a detailed view
- Allow user to choose between different Prompt Generators (see the "Prompt Builder Settings" at the top)
- Added an alternative template `:PromptGeneratorUpsampler` that generates a prompt template for chat without extensive examples (zero-shot prompt)

Configuration
- Changed default OpenAI model to GPT-4 Omni
- Improve grid layout and wider prompt textboxes

### Updated
- Increased PromptingTools compat to 0.33

### Fixed
- Fixed a piracy warning in Aqua
- Improved subtle bugs in the Speech-to-text functionality on chat tab
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ProToPortal"
uuid = "f9496bd6-a3bb-4afc-927d-7268532ebfa9"
authors = ["J S <[email protected]> and contributors"]
version = "0.2.1-DEV"
version = "0.3.0"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand All @@ -15,7 +15,7 @@ Aqua = "0.7"
Dates = "<0.0.1, 1"
GenieFramework = "2.1"
GenieSession = "1"
PromptingTools = "0.25"
PromptingTools = "0.33"
Test = "<0.0.1, 1"
julia = "1.10"

Expand Down
3 changes: 2 additions & 1 deletion app.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ const HISTORY_SAVE = get(ENV, "PROTO_HISTORY_SAVE", true)
conv_displayed = empty!(conv_displayed)
chat_template_variables = empty!(chat_template_variables)
chat_question, chat_auto_template, chat_template_selected = "", "", ""
chat_question_tokens = ""
chat_disabled, chat_advanced_expanded, chat_template_expanded = false, false, false
# set defaults again
chat_code_airetry, chat_code_eval = false, false
Expand All @@ -182,7 +183,7 @@ const HISTORY_SAVE = get(ENV, "PROTO_HISTORY_SAVE", true)
for (id, msg) in enumerate(conv_current)]
# remove template variables
chat_template_variables = empty!(chat_template_variables)
chat_question, chat_template_selected = "", ""
chat_question, chat_question_tokens, chat_template_selected = "", "", ""
# Note: keep the critic template enabled
chat_disabled, chat_template_expanded, chat_advanced_expanded = false, false, false
#######################
Expand Down

0 comments on commit 30605f7

Please sign in to comment.