Skip to content

Commit fa5319e

Browse files
authored
Remove deprecated code (#40)
1 parent 0f9f4aa commit fa5319e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,5 @@ func main() {
3636
return
3737
}
3838
fmt.Println(resp.Choices[0].Text)
39-
40-
searchReq := gogpt.SearchRequest{
41-
Documents: []string{"White House", "hospital", "school"},
42-
Query: "the president",
43-
}
44-
searchResp, err := c.Search(ctx, "ada", searchReq)
45-
if err != nil {
46-
return
47-
}
48-
fmt.Println(searchResp.SearchResults)
4939
}
5040
```

0 commit comments

Comments
 (0)