Added a files endpoint, corrected a documents bug in answers requests, added error messages to API error handling (#6)
Co-authored-by: eyelevelai <33876565+eyelevelai@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
type AnswerRequest struct {
|
||||
Documents [][]string `json:"documents"`
|
||||
Documents []string `json:"documents"`
|
||||
Question string `json:"question"`
|
||||
SearchModel string `json:"search_model"`
|
||||
Model string `json:"model"`
|
||||
|
||||
Reference in New Issue
Block a user