EmbeddingVector(Single[], Guid) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of an EmbeddingVector object.
public:
EmbeddingVector(Platform::Array <float> ^ data, Platform::Guid vectorSpaceID);
EmbeddingVector(winrt::array_view <float> const& data, winrt::guid const& vectorSpaceID);
public EmbeddingVector(float[] data, Guid vectorSpaceID);
function EmbeddingVector(data, vectorSpaceID)
Public Sub New (data As Single(), vectorSpaceID As Guid)
Parameters
- data
-
Single[]
float[]
The EmbeddingVector data.
- vectorSpaceID
-
Guid
Platform::Guid
winrt::guid
A unique identifier for the EmbeddingVector object.