Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Aug 23, 2024
1 parent a20a91f commit 55e9f6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion channel_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ var errChannelProviderClosed = errors.New("channel provider is closed")

// connection represents a gRPC client connection and all the clients (stubs)
// for the various AVS services. It's main purpose to remove the need to create
// multiple clients for the same connection.
// multiple clients for the same connection. This follows the documented grpc
// best practice of reusing connections.
type connection struct {
grpcConn *grpc.ClientConn
transactClient protos.TransactServiceClient
Expand Down
12 changes: 6 additions & 6 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ func (c *Client) Upsert(
// namespace (string): The namespace of the record to retrieve.
// set (*string): The set within the namespace where the record resides.
// key (any): The key of the record to retrieve.
// includeFields ([]string): Fields to include in the response.
// excludeFields ([]string): Fields to exclude from the response.
// includeFields ([]string): Fields to include in the response. Default is all.
// excludeFields ([]string): Fields to exclude from the response. Default is none.
//
// Returns:
//
Expand Down Expand Up @@ -498,8 +498,8 @@ func (c *Client) vectorSearch(ctx context.Context,
// query ([]float32): The query vector.
// limit (uint32): The maximum number of neighbors to return.
// searchParams (*protos.HnswSearchParams): Extra options to configure the behavior of the HNSW algorithm.
// includeFields ([]string): Fields to include in the response.
// excludeFields ([]string): Fields to exclude from the response.
// includeFields ([]string): Fields to include in the response. Default is all.
// includeFields ([]string): Fields to include in the excludeFields ([]string): Fields to exclude from the response. Default is none.. Default is all.

Check failure on line 502 in client.go

View workflow job for this annotation

GitHub Actions / lint

line is 150 characters (lll)
//
// Returns:
//
Expand Down Expand Up @@ -542,8 +542,8 @@ func (c *Client) VectorSearchFloat32(
// query ([]bool): The query vector.
// limit (uint32): The maximum number of neighbors to return.
// searchParams (*protos.HnswSearchParams): Extra options to configure the behavior of the HNSW algorithm.
// includeFields ([]string): Fields to include in the response.
// excludeFields ([]string): Fields to exclude from the response.
// includeFields ([]string): Fields to include in the response. Default is all.
// includeFields ([]string): Fields to include in the excludeFields ([]string): Fields to exclude from the response. Default is none.. Default is all.

Check failure on line 546 in client.go

View workflow job for this annotation

GitHub Actions / lint

line is 150 characters (lll)
//
// Returns:
//
Expand Down

0 comments on commit 55e9f6e

Please sign in to comment.