-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
description = "OpenAI client library" | ||
tags = ["rest", "web", "api", "openapi", "openai"] | ||
name = "openai" | ||
version = "1.0.0" | ||
licenses = "Apache-2.0" | ||
authors = ["[email protected]"] | ||
maintainers = ["[email protected]"] | ||
maintainers-logins = ["stcarrez"] | ||
project-files = ["openai.gpr"] | ||
website = "https://gitlab.com/stcarrez/ada-openai" | ||
long-description = """ | ||
[Ada OpenAI](https://gitlab.com/stcarrez/ada-openai) provides an Ada API to make requests on the | ||
[OpenAI](https://openai.com/) models allowing an Ada application to access the [GPT-3](https://platform.openai.com/docs/models/gpt-3-5), | ||
[GPT-4](https://platform.openai.com/docs/models/gpt-4), | ||
[DALL.E](https://platform.openai.com/docs/models/dall-e) | ||
and other AI models. | ||
The library was generated by the [OpenAPI](https://github.com/OpenAPITools/openapi-generator) code generator from the | ||
OpenAPI description of the OpenAI service and it uses the [OpenAPI Ada](https://github.com/stcarrez/swagger-ada) library | ||
to make HTTP requests and perform JSON serialization and deserialization. | ||
## Alire setup | ||
``` | ||
alr with openai | ||
``` | ||
For the HTTP connection, you can either use AWS or CURL and run one of the following commands: | ||
``` | ||
alr with utilada_curl | ||
alr with utilada_aws | ||
``` | ||
## Links | ||
- [OpenAI API reference](https://platform.openai.com/docs/api-reference) | ||
- Ada example: [OpenAI Image Generation](https://gitlab.com/stcarrez/openapi-image) | ||
- Ada example: [OpenAI Chat](https://gitlab.com/stcarrez/openai-chat) | ||
- Ada example: [OpenAI Completion](https://gitlab.com/stcarrez/openapi-completion) | ||
""" | ||
|
||
[[depends-on]] | ||
openapi = "~0.7.0" | ||
|
||
[gpr-externals] | ||
OPENAI_BUILD = ["distrib", "debug", "optimize", "profile", "coverage"] | ||
OPENAI_LIBRARY_TYPE = ["relocatable", "static", "static-pic"] | ||
|
||
[configuration] | ||
disabled = true | ||
|
||
[origin] | ||
commit = "0f7f852189670501caa4f6150e412636e3b27d73" | ||
url = "git+https://gitlab.com/stcarrez/ada-openai.git" | ||
|