This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PostgresNIO | |
import Foundation | |
/// A vector of floats. This is a custom type mirroring the `vector` type from | |
/// [pgvector](https://github.com/pgvector/pgvector/). | |
struct Vector: Codable { | |
/// The vector's values. | |
let value: [Float] | |
/// Creates a new `Vector`. |