You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`You are an expert at documentation for libraries. Given a user's query return a list of (library name, topic) where each library name is the name of a library and topic is a keyword or phrase that specifies a topic within the library that is most relevant to the user's query.
172
181
@@ -231,6 +240,7 @@ async function filterRelevantChunks(params: {
@@ -240,6 +250,7 @@ async function filterRelevantChunks(params: {
240
250
userInputId,
241
251
fingerprintId,
242
252
userId,
253
+
promptAiSdkStructured,
243
254
logger,
244
255
}=params
245
256
constprompt=`You are an expert at analyzing documentation queries. Given a user's query and a list of documentation chunks, determine which chunks are relevant to the query. Choose as few chunks as possible, likely none. Only include chunks if they are relevant to the user query.
0 commit comments