diff --git a/docs/api-reference/methods/query.mdx b/docs/api-reference/methods/query.mdx index c34a7274..ca55730b 100644 --- a/docs/api-reference/methods/query.mdx +++ b/docs/api-reference/methods/query.mdx @@ -10,7 +10,7 @@ Function signature is given below: Question to ask - + The conversation ID to which the query belongs in case this is a chatbot scenario @@ -90,6 +90,7 @@ ragApplication.addLoader({ urlOrContent: 'https://www.forbes.com/profile/elon-mu ragApplication.addLoader({ urlOrContent: 'https://en.wikipedia.org/wiki/Elon_Musk' }) await ragApplication.query('What is the net worth of Elon Musk today?') +await ragApplication.query('Who is Elon Musk?' { conversationId: '1' }) /* */ diff --git a/docs/get-started/faq.mdx b/docs/get-started/faq.mdx index 5ad6a6aa..e8f2fcab 100644 --- a/docs/get-started/faq.mdx +++ b/docs/get-started/faq.mdx @@ -4,7 +4,6 @@ description: 'Collections of all the frequently asked questions' --- -Use the model `gpt-4o` provided my openai. ```ts index.ts @@ -27,6 +26,8 @@ console.log(await llmApplication.query('Who founded Tesla?')); +Use the model `gpt-4o` provided my openai. + ```ts index.ts import 'dotenv/config';