feat: add url for alvatar augmented quiz
This commit is contained in:
parent
9011c24b2f
commit
bb489ee5da
@ -154,7 +154,7 @@ func New(ctx context.Context, opts interface{}, ver appInit.Version) (appInit.Co
|
||||
WorkerRespondentCh: workerRespondentCh,
|
||||
Encrypt: encrypt,
|
||||
RedirectURl: options.RedirectURL,
|
||||
AiClient: clients.NewAiClient("http://35.206.94.7:80/api/engine/generate_question_by_answer/"),
|
||||
AiClient: clients.NewAiClient("https://alvatar.com/api/engine/send_answer/"),
|
||||
})
|
||||
|
||||
saveRespWcData := savewc.DepsForResp{
|
||||
|
@ -35,7 +35,9 @@ func (client *AIClient) SendAnswerer(final bool, tipe, message, session string)
|
||||
//}
|
||||
|
||||
clownRequest := struct {
|
||||
Title string `json:"title"`
|
||||
Text string `json:"text"`
|
||||
Final bool `json:"is_final"`
|
||||
}{
|
||||
Text: message,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user