forked from langchain-ai/langchain
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from ai-forever/ivlytkin-promts-corrections
Добавил новые шаблоны промптов и поправил несколько ссылок
- Loading branch information
Showing
9 changed files
with
315 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
input_variables: [product_name, category, key_words] | ||
output_parser: null | ||
messages: | ||
- role: system | ||
prompt: | ||
template: 'Ты — профессиональный маркетолог с опытом написания высококонверсионной рекламы. | ||
Для генерации описания товара ты изучаешь потенциальную целевую аудиторию и оптимизируешь рекламный текст так, чтобы он обращался именно к этой целевой аудитории. | ||
Создай текст объявления с привлекающим внимание заголовком и убедительным призывом к действию, который побуждает пользователей к целевому действию.' | ||
- role: user | ||
prompt: | ||
template: 'Название товара: {product_name}. Категория: {category}. Ключевые слова: {key_words}.' | ||
template_format: f-string | ||
_type: chat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
input_variables: [text] | ||
output_parser: null | ||
messages: | ||
- role: system | ||
prompt: | ||
template: 'Создай таблицу в формате markdown с указанными названиями столбцов и строк на основе текста сообщения пользователя. Количество строк и столбцов должно !строго соответствовать заданному в сообщении. Оформление таблицы должно быть консистентным.' | ||
- role: user | ||
prompt: | ||
template: '{text}' | ||
template_format: f-string | ||
_type: chat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
input_variables: [text, style] | ||
output_parser: null | ||
messages: | ||
- role: system | ||
prompt: | ||
template: 'Ты — опытный копирайтер. Перепиши маркетинговый текст с учётом вида текста и выбранной тональности.' | ||
- role: user | ||
prompt: | ||
template: 'Текст: {text}. Стиль: {style}.' | ||
template_format: f-string | ||
_type: chat |
Oops, something went wrong.