Spaces:

arjunanand13 commited on
Commit
73ab222
1 Parent(s): 8d5368b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -94,6 +94,7 @@ class DocumentRetrievalAndGeneration:
94
  Query:{query}
95
  Solution==>
96
  RETURN ONLY SOLUTION . IF THEIR IS NO ANSWER RELATABLE IN RETRIEVED CHUNKS , RETURN " NO SOLUTION AVAILABLE"
 
97
  Example1
98
  Query: "How to use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM",
99
  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'.",
 
94
  Query:{query}
95
  Solution==>
96
  RETURN ONLY SOLUTION . IF THEIR IS NO ANSWER RELATABLE IN RETRIEVED CHUNKS , RETURN " NO SOLUTION AVAILABLE"
97
+ 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."
98
  Example1
99
  Query: "How to use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM",
100
  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'.",