Skip to content

Commit

Permalink
use neuralChatPromptByDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Dec 2, 2023
1 parent bd0d8c4 commit fd7b811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/chat_main_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,8 @@ func (h *ChatHandler) chatOllamStram(w http.ResponseWriter, chatSession sqlc_que
prompt = formatNeuralChatPrompt(chat_compeletion_messages)
} else if chatSession.Model == "ollama-minstral" {
prompt = formatMinstralPrompt(chat_compeletion_messages)

} else {
prompt = formatNeuralChatPrompt(chat_compeletion_messages)
}
// create the json data
jsonData := map[string]interface{}{
Expand Down

0 comments on commit fd7b811

Please sign in to comment.