openai/src/df141f03-393f-4fa3-a568-8b65f7358b02/README.md

45 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2023-05-20 21:36:58 +00:00
```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Embeddings (Details)
> namespace: **VDM\Joomla\Openai**
2023-10-10 12:52:38 +00:00
> extends: **Api**
2023-05-20 21:36:58 +00:00
```uml
@startuml
class Embeddings #Gold {
+ create(string $model, mixed $input, ...) : ?object
}
note right of Embeddings::create
Create an embedding of a given input.
API Ref: https://platform.openai.com/docs/api-reference/embeddings
since: 3.2.0
return: ?object
arguments:
string $model
mixed $input
?string $user = null
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)