KingNish Abhaykoul commited on
Commit
a9852ef
1 Parent(s): bb15131

replaced gpt3.5 with gpt-4o-mini (#1)

Browse files

- replaced gpt3.5 with gpt-4o-mini (5d3f8ed1fe8d5d8d1c6a78cb01e533902d48abc8)


Co-authored-by: Abhay Koul <Abhaykoul@users.noreply.huggingface.co>

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;