matthoffner commited on
Commit
6f9214c
β€’
1 Parent(s): 0b5c0ee

Update src/pages/api/llm.js

Browse files
Files changed (1) hide show
  1. 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-4" }, promptToSend, 0.8, messages, functions);
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();