Spaces:
Sleeping
Sleeping
Deepak Sahu
commited on
Commit
·
26c4757
1
Parent(s):
9f8f44b
Update z_generate.py
Browse files- z_generate.py +3 -3
z_generate.py
CHANGED
@@ -85,7 +85,7 @@ Question: {question}""".format(context=context, question=query),
|
|
85 |
"role": "system",
|
86 |
"content": """Using the information contained in the context about the images stored in the database,
|
87 |
|
88 |
-
give a list of identifiers of the image that best represent the kind of information seeked by the
|
89 |
|
90 |
Respond only to the question asked. Provide only number(s) of the source images relevant to the question.
|
91 |
|
@@ -110,7 +110,7 @@ Rahul recieving award in Archery.
|
|
110 |
|
111 |
Now here is the question you need to answer.
|
112 |
|
113 |
-
|
114 |
|
115 |
},
|
116 |
{
|
@@ -128,7 +128,7 @@ Question: Who is Rahul"""
|
|
128 |
|
129 |
Now here is the question you need to answer.
|
130 |
|
131 |
-
|
132 |
|
133 |
},
|
134 |
]
|
|
|
85 |
"role": "system",
|
86 |
"content": """Using the information contained in the context about the images stored in the database,
|
87 |
|
88 |
+
give a list of identifiers of the image that best represent the kind of information seeked by the document description of user.
|
89 |
|
90 |
Respond only to the question asked. Provide only number(s) of the source images relevant to the question.
|
91 |
|
|
|
110 |
|
111 |
Now here is the question you need to answer.
|
112 |
|
113 |
+
Document Description: Rahul is excellent player of archery and great poet."""
|
114 |
|
115 |
},
|
116 |
{
|
|
|
128 |
|
129 |
Now here is the question you need to answer.
|
130 |
|
131 |
+
Document Description: {response_text}""".format(context=context, response_text=response_text),
|
132 |
|
133 |
},
|
134 |
]
|