-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.Embedding.Create
Andrew Lambert edited this page Jan 21, 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
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. |
Returns a new instance of OpenAI.Embedding
containing the response to the request.
Creates a new Embedding
from a given text and AI model.
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.