azure_openai_client 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +178 -0
- data/lib/azure_openai_client/api/default_api.rb +232 -0
- data/lib/azure_openai_client/api_client.rb +390 -0
- data/lib/azure_openai_client/api_error.rb +58 -0
- data/lib/azure_openai_client/configuration.rb +214 -0
- data/lib/azure_openai_client/models/chat_completions_body.rb +334 -0
- data/lib/azure_openai_client/models/deploymentid_completions_body.rb +406 -0
- data/lib/azure_openai_client/models/deploymentid_embeddings_body.rb +202 -0
- data/lib/azure_openai_client/models/deploymentsdeploymentidchatcompletions_messages.rb +274 -0
- data/lib/azure_openai_client/models/error_response.rb +209 -0
- data/lib/azure_openai_client/models/error_response_error.rb +236 -0
- data/lib/azure_openai_client/models/inline_response_200.rb +281 -0
- data/lib/azure_openai_client/models/inline_response_200_1.rb +258 -0
- data/lib/azure_openai_client/models/inline_response_200_1_data.rb +244 -0
- data/lib/azure_openai_client/models/inline_response_200_1_usage.rb +228 -0
- data/lib/azure_openai_client/models/inline_response_200_2.rb +281 -0
- data/lib/azure_openai_client/models/inline_response_200_2_choices.rb +227 -0
- data/lib/azure_openai_client/models/inline_response_200_2_message.rb +264 -0
- data/lib/azure_openai_client/models/inline_response_200_2_usage.rb +242 -0
- data/lib/azure_openai_client/models/inline_response_200_choices.rb +236 -0
- data/lib/azure_openai_client/models/inline_response_200_logprobs.rb +244 -0
- data/lib/azure_openai_client/models/inline_response_200_usage.rb +242 -0
- data/lib/azure_openai_client/models/one_ofchat_completions_body_stop.rb +198 -0
- data/lib/azure_openai_client/models/one_ofdeploymentid_completions_body_prompt.rb +198 -0
- data/lib/azure_openai_client/models/one_ofdeploymentid_completions_body_stop.rb +198 -0
- data/lib/azure_openai_client/version.rb +16 -0
- data/lib/azure_openai_client.rb +61 -0
- data/spec/api/default_api_spec.rb +75 -0
- data/spec/api_client_spec.rb +229 -0
- data/spec/configuration_spec.rb +78 -0
- data/spec/models/chat_completions_body_spec.rb +102 -0
- data/spec/models/deploymentid_completions_body_spec.rb +144 -0
- data/spec/models/deploymentid_embeddings_body_spec.rb +36 -0
- data/spec/models/deploymentsdeploymentidchatcompletions_messages_spec.rb +58 -0
- data/spec/models/error_response_error_spec.rb +60 -0
- data/spec/models/error_response_spec.rb +42 -0
- data/spec/models/inline_response_200_1_data_spec.rb +54 -0
- data/spec/models/inline_response_200_1_spec.rb +60 -0
- data/spec/models/inline_response_200_1_usage_spec.rb +48 -0
- data/spec/models/inline_response_200_2_choices_spec.rb +54 -0
- data/spec/models/inline_response_200_2_message_spec.rb +52 -0
- data/spec/models/inline_response_200_2_spec.rb +72 -0
- data/spec/models/inline_response_200_2_usage_spec.rb +54 -0
- data/spec/models/inline_response_200_choices_spec.rb +60 -0
- data/spec/models/inline_response_200_logprobs_spec.rb +60 -0
- data/spec/models/inline_response_200_spec.rb +72 -0
- data/spec/models/inline_response_200_usage_spec.rb +54 -0
- data/spec/models/one_ofchat_completions_body_stop_spec.rb +36 -0
- data/spec/models/one_ofdeploymentid_completions_body_prompt_spec.rb +36 -0
- data/spec/models/one_ofdeploymentid_completions_body_stop_spec.rb +36 -0
- data/spec/spec_helper.rb +112 -0
- metadata +177 -0
metadata
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_openai_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Josh Etsenake
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-05-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: typhoeus
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: json
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.1'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.1.0
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '2.1'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.1.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '3.6'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.6.0
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.6'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.6.0
|
73
|
+
description: Azure OpenAI APIs for completions and search
|
74
|
+
email: josh.etsenake@fullscript.com
|
75
|
+
executables: []
|
76
|
+
extensions: []
|
77
|
+
extra_rdoc_files: []
|
78
|
+
files:
|
79
|
+
- README.md
|
80
|
+
- lib/azure_openai_client.rb
|
81
|
+
- lib/azure_openai_client/api/default_api.rb
|
82
|
+
- lib/azure_openai_client/api_client.rb
|
83
|
+
- lib/azure_openai_client/api_error.rb
|
84
|
+
- lib/azure_openai_client/configuration.rb
|
85
|
+
- lib/azure_openai_client/models/chat_completions_body.rb
|
86
|
+
- lib/azure_openai_client/models/deploymentid_completions_body.rb
|
87
|
+
- lib/azure_openai_client/models/deploymentid_embeddings_body.rb
|
88
|
+
- lib/azure_openai_client/models/deploymentsdeploymentidchatcompletions_messages.rb
|
89
|
+
- lib/azure_openai_client/models/error_response.rb
|
90
|
+
- lib/azure_openai_client/models/error_response_error.rb
|
91
|
+
- lib/azure_openai_client/models/inline_response_200.rb
|
92
|
+
- lib/azure_openai_client/models/inline_response_200_1.rb
|
93
|
+
- lib/azure_openai_client/models/inline_response_200_1_data.rb
|
94
|
+
- lib/azure_openai_client/models/inline_response_200_1_usage.rb
|
95
|
+
- lib/azure_openai_client/models/inline_response_200_2.rb
|
96
|
+
- lib/azure_openai_client/models/inline_response_200_2_choices.rb
|
97
|
+
- lib/azure_openai_client/models/inline_response_200_2_message.rb
|
98
|
+
- lib/azure_openai_client/models/inline_response_200_2_usage.rb
|
99
|
+
- lib/azure_openai_client/models/inline_response_200_choices.rb
|
100
|
+
- lib/azure_openai_client/models/inline_response_200_logprobs.rb
|
101
|
+
- lib/azure_openai_client/models/inline_response_200_usage.rb
|
102
|
+
- lib/azure_openai_client/models/one_ofchat_completions_body_stop.rb
|
103
|
+
- lib/azure_openai_client/models/one_ofdeploymentid_completions_body_prompt.rb
|
104
|
+
- lib/azure_openai_client/models/one_ofdeploymentid_completions_body_stop.rb
|
105
|
+
- lib/azure_openai_client/version.rb
|
106
|
+
- spec/api/default_api_spec.rb
|
107
|
+
- spec/api_client_spec.rb
|
108
|
+
- spec/configuration_spec.rb
|
109
|
+
- spec/models/chat_completions_body_spec.rb
|
110
|
+
- spec/models/deploymentid_completions_body_spec.rb
|
111
|
+
- spec/models/deploymentid_embeddings_body_spec.rb
|
112
|
+
- spec/models/deploymentsdeploymentidchatcompletions_messages_spec.rb
|
113
|
+
- spec/models/error_response_error_spec.rb
|
114
|
+
- spec/models/error_response_spec.rb
|
115
|
+
- spec/models/inline_response_200_1_data_spec.rb
|
116
|
+
- spec/models/inline_response_200_1_spec.rb
|
117
|
+
- spec/models/inline_response_200_1_usage_spec.rb
|
118
|
+
- spec/models/inline_response_200_2_choices_spec.rb
|
119
|
+
- spec/models/inline_response_200_2_message_spec.rb
|
120
|
+
- spec/models/inline_response_200_2_spec.rb
|
121
|
+
- spec/models/inline_response_200_2_usage_spec.rb
|
122
|
+
- spec/models/inline_response_200_choices_spec.rb
|
123
|
+
- spec/models/inline_response_200_logprobs_spec.rb
|
124
|
+
- spec/models/inline_response_200_spec.rb
|
125
|
+
- spec/models/inline_response_200_usage_spec.rb
|
126
|
+
- spec/models/one_ofchat_completions_body_stop_spec.rb
|
127
|
+
- spec/models/one_ofdeploymentid_completions_body_prompt_spec.rb
|
128
|
+
- spec/models/one_ofdeploymentid_completions_body_stop_spec.rb
|
129
|
+
- spec/spec_helper.rb
|
130
|
+
homepage: https://github.com/etsenake/azure-openai-client
|
131
|
+
licenses:
|
132
|
+
- MIT
|
133
|
+
metadata: {}
|
134
|
+
post_install_message:
|
135
|
+
rdoc_options: []
|
136
|
+
require_paths:
|
137
|
+
- lib
|
138
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '1.9'
|
143
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
requirements: []
|
149
|
+
rubygems_version: 3.3.7
|
150
|
+
signing_key:
|
151
|
+
specification_version: 4
|
152
|
+
summary: Azure OpenAI Service API Ruby Gem
|
153
|
+
test_files:
|
154
|
+
- spec/api/default_api_spec.rb
|
155
|
+
- spec/api_client_spec.rb
|
156
|
+
- spec/configuration_spec.rb
|
157
|
+
- spec/models/one_ofchat_completions_body_stop_spec.rb
|
158
|
+
- spec/models/inline_response_200_2_spec.rb
|
159
|
+
- spec/models/error_response_spec.rb
|
160
|
+
- spec/models/inline_response_200_logprobs_spec.rb
|
161
|
+
- spec/models/inline_response_200_1_data_spec.rb
|
162
|
+
- spec/models/inline_response_200_2_choices_spec.rb
|
163
|
+
- spec/models/inline_response_200_usage_spec.rb
|
164
|
+
- spec/models/inline_response_200_1_spec.rb
|
165
|
+
- spec/models/deploymentsdeploymentidchatcompletions_messages_spec.rb
|
166
|
+
- spec/models/one_ofdeploymentid_completions_body_stop_spec.rb
|
167
|
+
- spec/models/inline_response_200_choices_spec.rb
|
168
|
+
- spec/models/one_ofdeploymentid_completions_body_prompt_spec.rb
|
169
|
+
- spec/models/deploymentid_completions_body_spec.rb
|
170
|
+
- spec/models/inline_response_200_spec.rb
|
171
|
+
- spec/models/inline_response_200_2_message_spec.rb
|
172
|
+
- spec/models/chat_completions_body_spec.rb
|
173
|
+
- spec/models/deploymentid_embeddings_body_spec.rb
|
174
|
+
- spec/models/inline_response_200_2_usage_spec.rb
|
175
|
+
- spec/models/inline_response_200_1_usage_spec.rb
|
176
|
+
- spec/models/error_response_error_spec.rb
|
177
|
+
- spec/spec_helper.rb
|