-
-
Notifications
You must be signed in to change notification settings - Fork 9
OpenAI.Embedding.Operator_Subscript
Andrew Lambert edited this page Jan 21, 2024
·
1 revision
Function Operator_Subscript(Optional ResponseIndex As Integer, VectorIndex As Integer) As DoubleThe vector at VectorIndex from the vector list corresponding to the ResponseIndex.
Call this method with array-access syntax. The ResponseIndex is almost always zero, and may be omitted.
Dim myEmbedding As OpenAI.Embedding ' assume populated
Dim vector As Double = myEmbedding(5) ' retrieve 6th vector in the listWiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2023-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.