Skip to content

Commit

Permalink
Fix comments and fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubbelboer committed Jun 23, 2024
1 parent ed21b8b commit d057669
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func (c *Collection) Query(ctx context.Context, queryText string, nResults int,
return c.QueryEmbedding(ctx, queryVector, nResults, where, whereDocument)
}

// QueryEmbedding performs an exhaustive nearest neighbor search on the collection.
// QueryWithOptions performs an exhaustive nearest neighbor search on the collection.
//
// - options: The options for the query. See QueryOptions for more information.
func (c *Collection) QueryWithOptions(ctx context.Context, options QueryOptions) ([]Result, error) {
Expand Down Expand Up @@ -456,7 +456,7 @@ func (c *Collection) QueryWithOptions(ctx context.Context, options QueryOptions)
return result, nil
}

// Performs an exhaustive nearest neighbor search on the collection.
// QueryEmbedding performs an exhaustive nearest neighbor search on the collection.
//
// - queryEmbedding: The embedding of the query to search for. It must be created
// with the same embedding model as the document embeddings in the collection.
Expand Down
Loading

0 comments on commit d057669

Please sign in to comment.