# Functions
CombineQueryWithContext combines the user's query with the relevant retrieved documents' content.
ConvertEmbeddingToPGVector converts a slice of float32 values representing an embedding into a string format compatible with PostgreSQL's vector type.
ConvertMetadata converts a map of string keys and string values to a map of string keys and interface{} values.
NewPGVector creates a new PGVector instance with a connection to the PostgreSQL database.
NewQdrantVector initializes a connection to Qdrant.
WithLimit sets the limit of the number of documents to return in a query.
WithScoreThreshold sets the score threshold for a query.
# Structs
Document represents a single document in the vector database.
PGVector represents a connection to a PostgreSQL database with pgvector extension.
QdrantVector represents a connection to Qdrant.
# Interfaces
VectorDatabase is the interface that both QdrantVector and PGVector implement.
# Type aliases
QueryOpt represents an option for a query.