Introduced UOpenAICallEmbedding class and related event bindings to support asynchronous execution of embedding API calls in Blueprint.
Implemented the UOpenAIEmbedding class, which is responsible for managing the call and response process of embedding APIs. Added request timeout and heartbeat checking mechanisms, improving upon the Chat class.
Added FEmbeddingSettings and FEmbeddingResult structures for configuring embedding requests and handling response results, providing structured data support for API interactions.
Introduced optimized high-dimensional vector computation functions in OpenAIUtils utilizing the SIMD instruction set, including dot product, vector magnitude, and cosine similarity calculations, as well as their non-optimized versions, primarily used for computing the similarity of word embeddings.
This commit does not involve any deletions, only additions, and feature introductions.
I will continue to monitor and make adjustments and improvements based on real-world application scenarios.
both cpp and blueprint :)
UOpenAICallEmbedding
class and related event bindings to support asynchronous execution of embedding API calls in Blueprint.UOpenAIEmbedding
class, which is responsible for managing the call and response process of embedding APIs. Added request timeout and heartbeat checking mechanisms, improving upon the Chat class.FEmbeddingSettings
andFEmbeddingResult
structures for configuring embedding requests and handling response results, providing structured data support for API interactions.OpenAIUtils
utilizing the SIMD instruction set, including dot product, vector magnitude, and cosine similarity calculations, as well as their non-optimized versions, primarily used for computing the similarity of word embeddings.This commit does not involve any deletions, only additions, and feature introductions.
I will continue to monitor and make adjustments and improvements based on real-world application scenarios.