Spaces:
Paused
Paused
Update src/pages/api/llm.js
Browse files- src/pages/api/llm.js +1 -1
src/pages/api/llm.js
CHANGED
@@ -20,7 +20,7 @@ const handler = async (req, res) => {
|
|
20 |
};
|
21 |
|
22 |
const promptToSend = "You are a helpful assistant, a search term is provided and you are given search results to help provide a useful response.";
|
23 |
-
const stream = await LLMStream({ id: "gpt-
|
24 |
|
25 |
let data = "";
|
26 |
const decoder = new TextDecoder();
|
|
|
20 |
};
|
21 |
|
22 |
const promptToSend = "You are a helpful assistant, a search term is provided and you are given search results to help provide a useful response.";
|
23 |
+
const stream = await LLMStream({ id: "gpt-3.5-turbo" }, promptToSend, 0.8, messages, functions);
|
24 |
|
25 |
let data = "";
|
26 |
const decoder = new TextDecoder();
|