-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.Embedding.Create
Andrew Lambert edited this page Jan 23, 2024
·
2 revisions
Shared Function Create(Request As OpenAI.Request) As OpenAI.Embedding
Shared Function Create(Input As String, Model As OpenAI.Model) As OpenAI.Embedding
Shared Function Create(Inputs() As String, Model As OpenAI.Model) As OpenAI.Embedding
Shared Function Create(Inputs() As Integer, Model As OpenAI.Model) As OpenAI.Embedding
Name | Type | Comment |
---|---|---|
Request | Request | An OpenAI request object. |
Name | Type | Comment |
---|---|---|
Input | String | The text to create an embedding for. |
Model | Model | An AI model that supports embeddings. |
Name | Type | Comment |
---|---|---|
Input | String array | The texts to create embeddings for. |
Model | Model | An AI model that supports embeddings. |
Name | Type | Comment |
---|---|---|
Input | Integer array | An integer vector to create an embedding for. |
Model | Model | An AI model that supports embeddings. |
Returns a new instance of OpenAI.Embedding
containing the response to the request.
Creates a new Embedding
from a given text, list of texts, or integer vector.
Wiki 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.