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