3 Comments
Sep 30, 2023Liked by Vigneshwarar

This is an interesting idea! Does it make it more costly to generate a response though? Since you need to make multiple api calls to chatgpt api and include the documents in most of them.

Expand full comment
author

Yes, that's one drawback of using this strategy. If I am right, ChatGPT's cost will go down significantly in the coming months.

Expand full comment

Not sure i understand this part: "... fetching relevant documents related to the document title"... So to clarify, are you fetching the relevant documents related to the user's query, then reranking the docs to figure out which to include in the final prompt? Or are you fetching additional documents based on the document title of initial documents retrieved based on the user's query?

Expand full comment