Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,24 +100,25 @@ class DocumentRetrievalAndGeneration:
|
|
100 |
Here's what I need:
|
101 |
Include a final answer without additional comments, sign-offs, or extra phrases. Be direct and to the point.
|
102 |
content
|
|
|
103 |
Here's my question:
|
104 |
Query:{query}
|
105 |
Solution==>
|
106 |
RETURN ONLY SOLUTION . IF THEIR IS NO ANSWER RELATABLE IN RETRIEVED CHUNKS , RETURN " NO SOLUTION AVAILABLE"
|
107 |
IF THE QUERY AND THE RETRIEVED CHUNKS DO NOT CORRELATE MEANINGFULLY, OR IF THE QUERY IS NOT RELEVANT TO TDA2 OR RELATED TOPICS, THEN "NO SOLUTION AVAILABLE."
|
108 |
-
|
109 |
Query: "How to use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM",
|
110 |
Solution: "To use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM, you need to modify the configuration file of the NDK application. Specifically, change the processor reference from 'A15_0' to 'IPU1_0'.",
|
111 |
|
112 |
-
|
113 |
Query: "Can BQ25896 support I2C interface?",
|
114 |
Solution: "Yes, the BQ25896 charger supports the I2C interface for communication."
|
115 |
|
116 |
-
|
117 |
Query: "Who is the fastest runner in the world",
|
118 |
Solution:"NO SOLUTION AVAILABLE"
|
119 |
|
120 |
-
|
121 |
Query:"What is the price of latest apple MACBOOK "
|
122 |
Solution:"NO SOLUTION AVAILABLE"
|
123 |
</s>
|
|
|
100 |
Here's what I need:
|
101 |
Include a final answer without additional comments, sign-offs, or extra phrases. Be direct and to the point.
|
102 |
content
|
103 |
+
RETURN ONLY SOLUTION . IF THEIR IS NO ANSWER RELATABLE IN RETRIEVED CHUNKS , RETURN " NO SOLUTION AVAILABLE"
|
104 |
Here's my question:
|
105 |
Query:{query}
|
106 |
Solution==>
|
107 |
RETURN ONLY SOLUTION . IF THEIR IS NO ANSWER RELATABLE IN RETRIEVED CHUNKS , RETURN " NO SOLUTION AVAILABLE"
|
108 |
IF THE QUERY AND THE RETRIEVED CHUNKS DO NOT CORRELATE MEANINGFULLY, OR IF THE QUERY IS NOT RELEVANT TO TDA2 OR RELATED TOPICS, THEN "NO SOLUTION AVAILABLE."
|
109 |
+
Example
|
110 |
Query: "How to use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM",
|
111 |
Solution: "To use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM, you need to modify the configuration file of the NDK application. Specifically, change the processor reference from 'A15_0' to 'IPU1_0'.",
|
112 |
|
113 |
+
Example
|
114 |
Query: "Can BQ25896 support I2C interface?",
|
115 |
Solution: "Yes, the BQ25896 charger supports the I2C interface for communication."
|
116 |
|
117 |
+
Example
|
118 |
Query: "Who is the fastest runner in the world",
|
119 |
Solution:"NO SOLUTION AVAILABLE"
|
120 |
|
121 |
+
Example
|
122 |
Query:"What is the price of latest apple MACBOOK "
|
123 |
Solution:"NO SOLUTION AVAILABLE"
|
124 |
</s>
|