File tree Expand file tree Collapse file tree
docs/api-reference/methods Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Function signature is given below:
1010<ParamField path = " userQuery" type = " string" required >
1111 Question to ask
1212</ParamField >
13- <ParamField path = " conversationId" type = " bool " optional >
13+ <ParamField path = " conversationId" type = " string " optional >
1414 The conversation ID to which the query belongs in case this is a chatbot scenario
1515</ParamField >
1616<ParamField path = " customContext" type = " Chunk[]" optional >
@@ -90,6 +90,7 @@ ragApplication.addLoader({ urlOrContent: 'https://www.forbes.com/profile/elon-mu
9090ragApplication .addLoader ({ urlOrContent: ' https://en.wikipedia.org/wiki/Elon_Musk' })
9191
9292await ragApplication .query (' What is the net worth of Elon Musk today?' )
93+ await ragApplication .query (' Who is Elon Musk?' { conversationId: ' 1' })
9394/*
9495
9596*/
You can’t perform that action at this time.
0 commit comments