|
@@ -238,7 +238,7 @@ export default {
|
|
formData.append("file", file);
|
|
formData.append("file", file);
|
|
|
|
|
|
const response = await axios.post(
|
|
const response = await axios.post(
|
|
- `${"http://192.168.66.187:8082"}/upload/file`,//process.env.VUE_APP_BASE_API
|
|
|
|
|
|
+ `${process.env.VUE_APP_BASE_AI_API}/upload/file`,//process.env.VUE_APP_BASE_API
|
|
formData,
|
|
formData,
|
|
{
|
|
{
|
|
headers: {
|
|
headers: {
|
|
@@ -410,7 +410,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const chatId = this.getUuid();
|
|
const chatId = this.getUuid();
|
|
- const wsUrl = `${"http://192.168.66.187:8082"}/api/chat/chatgpt`; //process.env.VUE_APP_BASE_AI_API/chatbot/multimodal
|
|
|
|
|
|
+ const wsUrl = `${process.env.VUE_APP_BASE_AI_API}/chatbot/multimodal`; //process.env.VUE_APP_BASE_AI_API /chatbot/multimodal /api/chat/chatgpt
|
|
let message = this.userInput.trim();
|
|
let message = this.userInput.trim();
|
|
|
|
|
|
const imageUrls = this.uploadFiles
|
|
const imageUrls = this.uploadFiles
|
|
@@ -518,7 +518,7 @@ export default {
|
|
console.log("Sending to backend:", JSON.stringify(idObject));
|
|
console.log("Sending to backend:", JSON.stringify(idObject));
|
|
|
|
|
|
const response = await axios.post(
|
|
const response = await axios.post(
|
|
- `${"http://192.168.66.187:8082"}/milvus/getMinioURl`,
|
|
|
|
|
|
+ `${process.env.VUE_APP_BASE_AI_API}/milvus/getMinioURl`,
|
|
idObject,
|
|
idObject,
|
|
{
|
|
{
|
|
headers: {
|
|
headers: {
|