langchain_community.vectorstores.pgvector.BaseModel¶

class langchain_community.vectorstores.pgvector.BaseModel(**kwargs: Any)[source]¶

SQL存储的基本模型。

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

Attributes

metadata

registry

uuid

Methods

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Parameters

kwargs (Any) –

Return type

None

__init__(**kwargs: Any) None¶

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

Parameters
  • self (Any) –

  • kwargs (Any) –

Return type

None