Remove deprecated code (#40)

This commit is contained in:
James Καρεφυλάκης
2022-12-15 19:13:16 +11:00
committed by GitHub
parent 0f9f4aa343
commit fa5319e59a

View File

@@ -36,15 +36,5 @@ func main() {
return
}
fmt.Println(resp.Choices[0].Text)
searchReq := gogpt.SearchRequest{
Documents: []string{"White House", "hospital", "school"},
Query: "the president",
}
searchResp, err := c.Search(ctx, "ada", searchReq)
if err != nil {
return
}
fmt.Println(searchResp.SearchResults)
}
```