Test ran at 2025-07-20 01:04:05.274915+00:00 SOLUTION: openai=1.0.0: OpenAI client library Origin: commit 0f7f852189670501caa4f6150e412636e3b27d73 from https://gitlab.com/stcarrez/ada-openai.git Properties: Author: Stephane.Carrez@gmail.com Configuration: no modifiers Description: OpenAI client library GPR Scenario: OPENAI_BUILD := distrib | debug | optimize | profile | coverage GPR Scenario: OPENAI_LIBRARY_TYPE := relocatable | static | static-pic License: Apache-2.0 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) Maintainer: Stephane.Carrez@gmail.com Maintainers_Logins: stcarrez Name: openai Project_File: openai.gpr Tag: rest Tag: web Tag: api Tag: openapi Tag: openai Version: 1.0.0 Website: https://gitlab.com/stcarrez/ada-openai Dependencies (direct): openapi~0.7.0 Dependencies (solution): gnat=15.1.2 (gnat_native) openapi=0.7.0 security=1.5.1 utilada=2.8.1 utilada_xml=2.8.1 xmlada=24.0.0 Dependencies (graph): openai=1.0.0 --> openapi=0.7.0 (~0.7.0) openapi=0.7.0 --> security=1.5.1 (^1.5.0) openapi=0.7.0 --> utilada=2.8.1 (^2.6.0) openapi=0.7.0 --> utilada_xml=2.8.1 (^2.6.0) security=1.5.1 --> utilada=2.8.1 (^2.6.0) security=1.5.1 --> utilada_xml=2.8.1 (^2.6.0) utilada_xml=2.8.1 --> utilada=2.8.1 (^2.8.1) utilada_xml=2.8.1 --> xmlada=24.0.0 (^24.0) xmlada=24.0.0 --> gnat=15.1.2 (gnat_native) (>=11) LOG: [alr test] Testing openai=1.0.0 [alr test] Spawning retrieval for remote crate: alr -d -n get openai=1.0.0 Note: Deploying openai=1.0.0... Note: Deploying utilada_xml=2.8.1... Note: Deploying security=1.5.1... Note: Deploying openapi=0.7.0... openai=1.0.0 successfully retrieved. Dependencies were solved as follows: +b gnat 15.1.2 (new,gnat_native,indirect,binary) + openapi 0.7.0 (new) + security 1.5.1 (new,indirect) + utilada 2.8.1 (new,indirect) + utilada_xml 2.8.1 (new,indirect) + xmlada 24.0.0 (new,indirect) [alr test] Spawning default test for remote crate: alr -d -n build --release -- -cargs:Ada -gnatwn Note: Building openai=1.0.0/openai.gpr... Setup [mkdir] object directory for project UtilAda_Xml [mkdir] library directory for project UtilAda_Xml [mkdir] object directory for project Security [mkdir] library directory for project Security [mkdir] object directory for project Openapi [mkdir] library directory for project Openapi [mkdir] object directory for project openai [mkdir] library directory for project openai Compile [Ada] util-serialize-io-xml.adb [Ada] security-oauth-jwt.adb [Ada] security-auth-oauth-yahoo.adb [Ada] security-random.adb security-oauth-jwt.adb:32:38: warning: call to obsolescent function "To_Ada_Time" declared at a-calcon.ads:39 [-gnatwj] security-oauth-jwt.adb:32:38: warning: This function may be removed in a future version [-gnatwj] [Ada] security-oauth-clients.adb [Ada] security-controllers-urls.adb security-random.adb:151:34: warning: call to obsolescent procedure "To_Struct_Timespec" declared at a-calcon.ads:92 [-gnatwj] security-random.adb:151:34: warning: This function may be removed in a future version [-gnatwj] [Ada] security-auth-oauth-facebook.adb [Ada] security-policies.adb [Ada] security-auth-openid.adb [Ada] security.ads [Ada] security-permissions.adb [Ada] security-auth-oauth-github.adb [Ada] security-controllers-roles.adb [Ada] security-oauth.adb [Ada] security-contexts.adb [Ada] security-auth-oauth.adb [Ada] security-policies-roles.adb [Ada] security-oauth-servers.adb [Ada] security-policies-urls.adb [Ada] security-auth.adb [Ada] security-controllers.ads security-oauth-servers.adb:206:65: warning: reference to obsolescent entity "To_Unix_Time" declared at a-calcon.ads:130 [-gnatwj] security-oauth-servers.adb:206:65: warning: This function may be removed in a future version [-gnatwj] security-oauth-servers.adb:206:65: warning: call to obsolescent function "To_Unix_Time" declared at a-calcon.ads:130 [-gnatwj] security-oauth-servers.adb:206:65: warning: This function may be removed in a future version [-gnatwj] security-oauth-servers.adb:217:38: warning: call to obsolescent function "To_Ada_Time" declared at a-calcon.ads:39 [-gnatwj] security-oauth-servers.adb:217:38: warning: This function may be removed in a future version [-gnatwj] [Ada] security-auth-oauth-googleplus.adb [Ada] security-oauth-file_registry.adb [Ada] openapi-streams.adb [Ada] openapi-credentials.ads [Ada] openapi-credentials-oauth.adb [Ada] openapi-streams-forms.adb [Ada] swagger.ads [Ada] openapi-clients.adb [Ada] openapi.adb [Ada] openai-clients.adb [Ada] openai-models.adb openai-clients.adb:17:30: (style) space not allowed [-gnatyt] [Ada] openai.ads Build Libraries [gprlib] utilada_xml.lexch [gprlib] security.lexch [archive] libutilada_xml.a [index] libutilada_xml.a [gprlib] openapi.lexch [archive] libsecurity.a [index] libsecurity.a [gprlib] openaiada.lexch [archive] libopenapi.a [index] libopenapi.a [archive] libopenaiada.a [index] libopenaiada.a Success: Build finished successfully in 16.86 seconds. Found declared GPR file: openai.gpr [alr test] Test completed SUCCESSFULLY