Documentation ¶
Index ¶
- func NewCollectionClient(conn *grpc.ClientConn) (collectionClient pb.CollectionsClient)
- func NewConn() (conn *grpc.ClientConn, err error)
- func NewPointsClient(conn *grpc.ClientConn) (pointsClient pb.PointsClient)
- func NewQdRantClient(ctx context.Context, conn *grpc.ClientConn) (qdrantClient pb.QdrantClient, err error)
- func ToEmbeddings(ctx context.Context, client *openai.Client, m *DataModel) (prompt, completion string, embedding []float32, err error)
- func ToUpsertPoint(collectionName, prompt, completion string, embedding []float32, count uint64) *pb.UpsertPoints
- type ClientSet
- type DataModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollectionClient ¶
func NewCollectionClient(conn *grpc.ClientConn) (collectionClient pb.CollectionsClient)
func NewConn ¶
func NewConn() (conn *grpc.ClientConn, err error)
func NewPointsClient ¶
func NewPointsClient(conn *grpc.ClientConn) (pointsClient pb.PointsClient)
func NewQdRantClient ¶
func NewQdRantClient(ctx context.Context, conn *grpc.ClientConn) (qdrantClient pb.QdrantClient, err error)
func ToEmbeddings ¶
func ToUpsertPoint ¶
func ToUpsertPoint(collectionName, prompt, completion string, embedding []float32, count uint64) *pb.UpsertPoints
Types ¶
type ClientSet ¶
type ClientSet struct { pb.QdrantClient pb.CollectionsClient pb.PointsClient // contains filtered or unexported fields }
func InitHandler ¶
Click to show internal directories.
Click to hide internal directories.