Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FaissModel ¶
type FaissModel struct {
// contains filtered or unexported fields
}
func NewFaissModel ¶
func NewFaissModel(name string) *FaissModel
func (*FaissModel) Run ¶
func (m *FaissModel) Run(data interface{}) (resp interface{}, err error)
type VectorClient ¶
type VectorClient struct { ServerAddress string Timeout time.Duration VectorClient pb.VectorRetrievalClient // contains filtered or unexported fields }
func NewVectorClient ¶
func (*VectorClient) Search ¶
func (c *VectorClient) Search(req interface{}) (resp *pb.VectorResp, err error)
Click to show internal directories.
Click to hide internal directories.