Typedef GenieDialog_TokenToEmbeddingCallback_t¶
Defined in File GenieDialog.h
Typedef Documentation¶
-
typedef void (*GenieDialog_TokenToEmbeddingCallback_t)(const int32_t token, void *embedding, const uint32_t embeddingSize, const void *userData)¶
A client-defined callback function to handle conversion from tokens to embeddings.
- Param token
[in] The token to be converted.
- Param embedding
[out] The buffer for the embedding representation of the token.
- Param embeddingSize
[in] The size of the embedding buffer in bytes.
- Param userData
[in] The userData field provided to GenieDialog_embeddingQuery.
- Return
None