diff --git a/weaviate/weaviate_retrieval.go b/weaviate/weaviate_retrieval.go index 0ece8fe..5cc3d84 100644 --- a/weaviate/weaviate_retrieval.go +++ b/weaviate/weaviate_retrieval.go @@ -207,6 +207,10 @@ func RetrieveResponseByID(id string) (interface{}, error) { } func ResponseList(code string, instructtype string) ([]string, error) { + + if instructtype == "" { + instructtype = "*" + } responses, err := RetrieveResponsesRankDesc(code, instructtype) if err != nil { return nil, err