perf: kb-add last question to search
This commit is contained in:
@@ -66,7 +66,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
|
||||
const { code, searchPrompt } = await searchKb({
|
||||
systemApiKey: apiKey,
|
||||
text: prompts[prompts.length - 1].value,
|
||||
prompts,
|
||||
similarity,
|
||||
model,
|
||||
userId
|
||||
|
||||
Reference in New Issue
Block a user