Abhaykoul commited on
Commit
5d3f8ed
1 Parent(s): bb15131

replaced gpt3.5 with gpt-4o-mini

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -281,7 +281,7 @@ to{opacity:1;transform:translateY(0)}
281
  try {
282
  const encodedQuery = encodeURIComponent(query);
283
  const websiteURL = 'https://google.com/search?q=${encodedQuery}'
284
- const response = await fetch(`${BASE_URL}/api/ask_website?url=https://google.com/search?q=${encodedQuery}&question=Answer this question from google search result ${encodedQuery}&model=gpt-3.5`);
285
  if (response.ok) {
286
  const aiResponse = await response.json();
287
  return aiResponse;
 
281
  try {
282
  const encodedQuery = encodeURIComponent(query);
283
  const websiteURL = 'https://google.com/search?q=${encodedQuery}'
284
+ const response = await fetch(`${BASE_URL}/api/ask_website?url=https://google.com/search?q=${encodedQuery}&question=Answer this question from google search result ${encodedQuery}&model=gpt-4o-mini`);
285
  if (response.ok) {
286
  const aiResponse = await response.json();
287
  return aiResponse;