opt
This commit is contained in:
parent
dd6aebf566
commit
036174596b
@ -53,7 +53,7 @@ const defaultConfig = {
|
||||
},
|
||||
llmToken: {
|
||||
name: "获取 AnythingLLM Token 接口",
|
||||
url: "http://app-test.wisdompulse.cn/api/v1/llm/token",
|
||||
url: "http://app.wisdompulse.cn/api/v1/llm/token",
|
||||
requestParams: [
|
||||
{ label: "密码字段", field: "password" }
|
||||
],
|
||||
@ -63,7 +63,7 @@ const defaultConfig = {
|
||||
},
|
||||
llmChat: {
|
||||
name: "指定工作区对话接口",
|
||||
url: "http://app-test.wisdompulse.cn/api/v1/llm/ask",
|
||||
url: "http://app.wisdompulse.cn/api/v1/llm/ask",
|
||||
requestParams: [
|
||||
{ label: "问题字段", field: "question" },
|
||||
{ label: "历史字段", field: "attachments" }
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
const output = document.getElementById("output");
|
||||
|
||||
fetch("http://app-test.wisdompulse.cn/api/v1/llm/demo", {
|
||||
fetch("http://localhost:18081/api/v1/llm/demo", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user