GetEmbeddingAsText
Converts an embedding vector from binary container data to text format.
Format
GetEmbeddingAsText ( data )
Parameters
data
- any text expression that returns embedding vectors as container data, such as a reference to a container field.
Data type returned
text
Originated in version
21.0
Description
The GetEmbeddingAsFile and GetEmbeddingAsText functions convert embedding vectors between text (a JSON array) and binary container data. They may be useful for exporting vectors for use outside of a FileMaker Pro file or for importing them into a FileMaker Pro file.
Example 1
GetEmbeddingAsFile ( Meetings::Note_Embedding )
returns [-0.06650865,0.0034368848,0.051363964,...] for the embedding vector in the Meetings::Note_Embedding container field.