-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimizers working, but appending any example
- Loading branch information
1 parent
8c5845f
commit 07651cb
Showing
6 changed files
with
84 additions
and
22 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
3 changes: 2 additions & 1 deletion
3
example/discord/honcho-dspy-personas/langchain_prompts/state_commentary.yaml
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
_type: prompt | ||
input_variables: | ||
["chat_history", "user_input"] | ||
["existing_states", "chat_history", "user_input"] | ||
template: > | ||
Your job is to make a prediction about the task the user might be engaging in. Some people might be researching, exploring curiosities, or just asking questions for general inquiry. Provide commentary that would shed light on the "mode" the user might be in. | ||
existing states: ```{existing_states}``` | ||
chat history: ```{chat_history}``` | ||
user input: ```{user_input}``` |
10 changes: 7 additions & 3 deletions
10
example/discord/honcho-dspy-personas/langchain_prompts/state_labeling.yaml
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
_type: prompt | ||
input_variables: | ||
["state_commentary"] | ||
["state_commentary", "existing_states"] | ||
template: > | ||
Your job is to label the task the user might be engaging in. Some people might be conducting research, exploring a interest, or just asking questions for general inquiry. | ||
Your job is to label the state the user might be in. Some people might be conducting research, exploring a interest, or just asking questions for general inquiry. | ||
commentary: ```{state_commentary}``` | ||
Prior states, from oldest to most recent: ``` | ||
{existing_states} | ||
```` | ||
Take into account the user's prior states when making your prediction. Output your prediction as a concise, single word label. | ||
Output your prediction as a concise, single word label. |
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