You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: klite.embd
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -39126,16 +39126,16 @@ class MarkdownWYSIWYG {
39126
39126
}
39127
39127
},
39128
39128
{
39129
-
"name": "analyse_image",
39130
-
"description": "Produces a description about an image using AI based on a prompt and an input image. Will prompt the user to select an image to analyse. It does not provide the original prompt used to generate the image.",
39129
+
"name": "describe_image",
39130
+
"description": "Describes a user provided image. It does not provide the original prompt used to generate the image.",
39131
39131
"args": {
39132
-
"prompt": "<prompt to query image about>"
39132
+
"question": "<question to ask about image>"
39133
39133
},
39134
39134
"enabled": is_using_kcpp_with_llava(), // Only enabled if local endpoint exists / is in use
39135
39135
"executor": async (action) => {
39136
39136
let analysisPrompt = "Describe the image in detail. Transcribe and include any text from the image in the description."
let planningPrompt = "The last action from the user is the instruction. If you need to ask the user for a response, the action ask_user must be used and be put as the final action in the order. Produces a list of actions to respond to this instruction."
40340
+
let planningPrompt = "The last action from the user is the instruction. If you need to ask the user for a response, the action ask_user must be used and be put as the final action in the order. When handling images always use actions to get information when needed especially for descriptions. Produces a list of actions to respond to this instruction."
40341
40341
if (localsettings.inject_chatnames_instruct) {
40342
40342
planningPrompt += ` You must respond as ${localsettings.chatopponent.split("||$||").join(" or ")} when using the send_message or ask_user actions. Choose the person based on the user's instruction.`
0 commit comments