HNSWQueryOptions#

class langchain_postgres.v2.indexes.HNSWQueryOptions(ef_search: int = 40)[source]#

Attributes

ef_search

Methods

__init__([ef_search])

to_parameter()

Convert index attributes to list of configurations.

to_string()

Convert index attributes to string.

Parameters:

ef_search (int)

__init__(ef_search: int = 40) None#
Parameters:

ef_search (int)

Return type:

None

to_parameter() list[str][source]#

Convert index attributes to list of configurations.

Return type:

list[str]

to_string() str[source]#

Convert index attributes to string.

Return type:

str