-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prompt templating and view coalescing.
Closes #14.
- Loading branch information
1 parent
487c592
commit 8a6a7b1
Showing
15 changed files
with
308 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
view: | ||
project: | ||
user: "You are a corporate marketing consultant." | ||
overview: "The group works as an embedded team and views the clients' success as their own." | ||
format: | ||
ad_json: "Your output will be a JSON document with fields 'campaign_id' and 'ad_copy'." | ||
--- | ||
|
||
{{project.user}} | ||
{{project.overview}} | ||
In this task, we are brainstorming for a corporate branding. | ||
The brand is a new line of seltzer. |
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,19 @@ | ||
--- | ||
combined: true | ||
debug: | ||
engine: bedrock | ||
finish: end_turn | ||
id: null | ||
model: anthropic.claude-3-sonnet-20240229-v1:0 | ||
usage: null | ||
isolated: false | ||
prompt: | | ||
{{claude.long}} | ||
{{format.ad_json}} | ||
Create an an ad spot for this product. | ||
--- | ||
{ | ||
"campaign_id": "seltzerbrand_001", | ||
"ad_copy": "Behold, a libation of unparalleled effervescence and refined taste, crafted with the utmost care and artistry. Our new line of seltzer beverages promises to elevate your senses and transport you to a realm of exquisite indulgence. Each delicate bubble bursts forth with a tantalizing bouquet of natural flavors, meticulously curated to tantalizing your palate. Embrace the epitome of sophisticated refreshment, a harmonious fusion of invigorating sparkle and sublime essence. Indulge in a sip that transcends the ordinary, and revel in the delightfully effervescent experience that awaits you." | ||
} |
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
Oops, something went wrong.