@@ -101,6 +101,10 @@ func (this *AiController) List() {
model = 1
} else if req.Model == "gpt-3.5-turbo-16k" {
model = 3
+ } else if req.Model == "GPT4" {
+ model = 4
+ } else if req.Model == "GPT-4 Turbo" {
+ model = 5
} else {
model = 2
}
@@ -7,7 +7,7 @@ import (
)
func ChatAutoMsg(prompt string, model int) (result string, err error) {
- chatUrl := `http://8.210.169.38:8399/v1/chat/auto_msg`
+ chatUrl := `http://47.254.37.124:8399/v1/chat/auto_msg`
param := make(map[string]interface{})
param["Prompt"] = prompt
param["Model"] = model