FIX: Renumber StableBeluga2 AiHelper prompts to fix conflict (#163)

This commit is contained in:
Rafael dos Santos Silva 2023-08-25 17:19:50 -03:00 committed by GitHub
parent e673b568d9
commit 513c51dcb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
CompletionPrompt.seed do |cp|
cp.id = -1
cp.id = -201
cp.provider = "huggingface"
cp.name = "translate"
cp.prompt_type = CompletionPrompt.prompt_types[:text]
@ -22,7 +22,7 @@ CompletionPrompt.seed do |cp|
end
CompletionPrompt.seed do |cp|
cp.id = -2
cp.id = -202
cp.provider = "huggingface"
cp.name = "generate_titles"
cp.prompt_type = CompletionPrompt.prompt_types[:list]
@ -42,7 +42,7 @@ CompletionPrompt.seed do |cp|
end
CompletionPrompt.seed do |cp|
cp.id = -3
cp.id = -203
cp.provider = "huggingface"
cp.name = "proofread"
cp.prompt_type = CompletionPrompt.prompt_types[:diff]
@ -64,7 +64,7 @@ CompletionPrompt.seed do |cp|
end
CompletionPrompt.seed do |cp|
cp.id = -4
cp.id = -204
cp.provider = "huggingface"
cp.name = "markdown_table"
cp.prompt_type = CompletionPrompt.prompt_types[:diff]