Commit
•
2b80f8c
1
Parent(s):
b955dd6
Update internvl2-bbox-prompt.yaml
Browse files
internvl2-bbox-prompt.yaml
CHANGED
@@ -6,13 +6,13 @@ prompt:
|
|
6 |
image_url:
|
7 |
url: "{image_url}"
|
8 |
- type: text
|
9 |
-
text: "Please provide the bounding box coordinate of the region this sentence describes: <ref>{
|
10 |
|
11 |
# Optional: You can list the input variables here to enable validation of the template
|
12 |
# This follows the LangChain PromptTemplate convention: https://api.python.langchain.com/en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html
|
13 |
input_variables:
|
14 |
- image_url
|
15 |
-
-
|
16 |
|
17 |
# Additional metadata
|
18 |
metadata:
|
|
|
6 |
image_url:
|
7 |
url: "{image_url}"
|
8 |
- type: text
|
9 |
+
text: "Please provide the bounding box coordinate of the region this sentence describes: <ref>{region_to_detect}</ref>"
|
10 |
|
11 |
# Optional: You can list the input variables here to enable validation of the template
|
12 |
# This follows the LangChain PromptTemplate convention: https://api.python.langchain.com/en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html
|
13 |
input_variables:
|
14 |
- image_url
|
15 |
+
- region_to_detect
|
16 |
|
17 |
# Additional metadata
|
18 |
metadata:
|