Spaces:
Paused
Paused
Commit
·
6589714
1
Parent(s):
384beb4
Update src/pages/api/llm.js
Browse files- src/pages/api/llm.js +1 -1
src/pages/api/llm.js
CHANGED
@@ -21,7 +21,7 @@ const handler = async (req) => {
|
|
21 |
|
22 |
let promptToSend = "You are a helpful assistant";
|
23 |
|
24 |
-
const stream = await LLMStream(
|
25 |
|
26 |
return new Response(stream);
|
27 |
} catch (error) {
|
|
|
21 |
|
22 |
let promptToSend = "You are a helpful assistant";
|
23 |
|
24 |
+
const stream = await LLMStream({ id: "gpt-3.5-turbo-0613" }, promptToSend, 0.8, null, messages, functions);
|
25 |
|
26 |
return new Response(stream);
|
27 |
} catch (error) {
|