arjunanand13 commited on
Commit
a176cea
1 Parent(s): ba1cc0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -0
app.py CHANGED
@@ -85,6 +85,34 @@ def format_prompt(query):
85
  Here's my question:
86
  {query}
87
  Include a brief final answer without additional comments, sign-offs, or extra phrases. Be direct and to the point.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  """
89
  return prompt
90
 
 
85
  Here's my question:
86
  {query}
87
  Include a brief final answer without additional comments, sign-offs, or extra phrases. Be direct and to the point.
88
+
89
+ Example 1:
90
+ '''
91
+ {
92
+ "question": "How to use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM",
93
+ "answer": "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
+ "related_questions": [
95
+ {
96
+ "question": "Can you provide MLBP documentation on TDA2?",
97
+ "answer": "MLB is documented for DRA devices in the TRM book, chapter 24.12."
98
+ },
99
+ {
100
+ "question": "Hi, could you share me the TDA2x documents about Security(SPRUHS7) and Cryptographic(SPRUHS8) addendums?",
101
+ "answer": "Most of TDA2 documents are on ti.com under the product folder."
102
+ },
103
+ {
104
+ "question": "Is any one can provide us a way to access CDDS for nessary docs?",
105
+ "answer": "Which document are you looking for?"
106
+ },
107
+ {
108
+ "question": "What can you tell me about the TDA2 and TDA3 processors? Can they / do they run Linux?",
109
+ "answer": "We have moved your post to the appropriate forum."
110
+ }
111
+ ]
112
+ }
113
+
114
+ Final Answer: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".
115
+ '''
116
  """
117
  return prompt
118