Remove default timeout and search API (#51)

* remove 1 minute timeout

* remove deprecated search api test

* remove search api
This commit is contained in:
sashabaranov
2023-01-07 00:22:39 +04:00
committed by GitHub
parent 2c55a49a34
commit cf013d3eb5
3 changed files with 1 additions and 75 deletions

View File

@@ -53,15 +53,6 @@ func TestAPI(t *testing.T) {
}
} // else skip
searchReq := SearchRequest{
Documents: []string{"White House", "hospital", "school"},
Query: "the president",
}
_, err = c.Search(ctx, "ada", searchReq)
if err != nil {
t.Fatalf("Search error: %v", err)
}
embeddingReq := EmbeddingRequest{
Input: []string{
"The food was delicious and the waiter",