You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Human :
Please answer all the named entities in the sentence: Iron Man is a superhero appearing in American comic books published by Marvel Comics. The character was co-created by writer and editor Stan Lee, developed by scripter Larry Lieber, and designed by artists Don Heck and Jack Kirby.
System :
Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
Here is my index.ts file
const HUGGINGGPT_BASE_URL = "http://{LAN_IP_of_the_server}:{port}/" //"http://localhost:8004"
// use ChatGPT: double click on the setting icon
const CHAT_GPT_URL = "https://api.openai.com"
const CHAT_GPT_LLM = "gpt-3.5-turbo" // gpt-3.5-turbo, gpt-4
// Dev: local endpoint
// const CHAT_GPT_URL = "http://localhost:8006"
export {HUGGINGGPT_BASE_URL, CHAT_GPT_URL, CHAT_GPT_LLM}
Everything works fine when I double click the setting icon (switch from huggingGPT to ChatGPT) and ask the same question in Web:
ChatGPT :
Hi there! I am OpenAI ChatGPT, an AI assistant for you. How can I help you?
Human :
Please answer all the named entities in the sentence: Iron Man is a superhero appearing in American comic books published by Marvel Comics. The character was co-created by writer and editor Stan Lee, developed by scripter Larry Lieber, and designed by artists Don Heck and Jack Kirby.
ChatGPT :
Named entities in the sentence are:
1. Iron Man (superhero)
2. American (related to the comic books being published)
3. Marvel Comics (publishing house)
4. Stan Lee (writer and editor)
5. Larry Lieber (scripter)
6. Don Heck (artist)
7. Jack Kirby (artist)
The text was updated successfully, but these errors were encountered:
@ForcewithMe66 Hi, you need to set HUGGINGGPT_BASE_URL correctly according to the configuration of the server side. For example set LAN_IP_of_the_server to your local ip address (If your web and server are on the same machine, set it to “localhost”), and port to your setting at
Hi @tricktreat , Everything works in
CLI
mode.I tried to chat in web.
Here is my
index.ts
fileEverything works fine when I double click the setting icon (switch from huggingGPT to ChatGPT) and ask the same question in Web:
The text was updated successfully, but these errors were encountered: