llm_ruby 0.1.0 → 0.3.0
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 +4 -4
- data/README.md +70 -36
- data/lib/llm/clients/anthropic/response.rb +48 -0
- data/lib/llm/clients/anthropic.rb +113 -0
- data/lib/llm/clients/gemini/request.rb +75 -0
- data/lib/llm/clients/gemini/response.rb +61 -0
- data/lib/llm/clients/gemini.rb +102 -0
- data/lib/llm/clients/open_ai/response.rb +45 -32
- data/lib/llm/clients/open_ai.rb +86 -82
- data/lib/llm/info.rb +261 -89
- data/lib/llm/response.rb +9 -1
- data/lib/llm/schema.rb +75 -0
- data/lib/llm/stop_reason.rb +8 -5
- data/lib/llm.rb +9 -2
- metadata +12 -13
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llm_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Gamble
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: event_stream_parser
|
@@ -136,10 +135,6 @@ dependencies:
|
|
136
135
|
- - "~>"
|
137
136
|
- !ruby/object:Gem::Version
|
138
137
|
version: 3.23.0
|
139
|
-
description:
|
140
|
-
email:
|
141
|
-
- alex@context.ai
|
142
|
-
- alec@context.ai
|
143
138
|
executables: []
|
144
139
|
extensions: []
|
145
140
|
extra_rdoc_files: []
|
@@ -150,20 +145,25 @@ files:
|
|
150
145
|
- README.md
|
151
146
|
- Rakefile
|
152
147
|
- lib/llm.rb
|
148
|
+
- lib/llm/clients/anthropic.rb
|
149
|
+
- lib/llm/clients/anthropic/response.rb
|
150
|
+
- lib/llm/clients/gemini.rb
|
151
|
+
- lib/llm/clients/gemini/request.rb
|
152
|
+
- lib/llm/clients/gemini/response.rb
|
153
153
|
- lib/llm/clients/open_ai.rb
|
154
154
|
- lib/llm/clients/open_ai/response.rb
|
155
155
|
- lib/llm/info.rb
|
156
156
|
- lib/llm/provider.rb
|
157
157
|
- lib/llm/response.rb
|
158
|
+
- lib/llm/schema.rb
|
158
159
|
- lib/llm/stop_reason.rb
|
159
160
|
- lib/llm/version.rb
|
160
|
-
homepage: https://
|
161
|
+
homepage: https://github.com/agamble/llm_ruby
|
161
162
|
licenses:
|
162
163
|
- MIT
|
163
164
|
metadata:
|
164
|
-
homepage_uri: https://
|
165
|
-
source_code_uri: https://github.com/
|
166
|
-
post_install_message:
|
165
|
+
homepage_uri: https://github.com/agamble/llm_ruby
|
166
|
+
source_code_uri: https://github.com/agamble/llm_ruby
|
167
167
|
rdoc_options: []
|
168
168
|
require_paths:
|
169
169
|
- lib
|
@@ -178,8 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
182
|
-
signing_key:
|
181
|
+
rubygems_version: 3.6.2
|
183
182
|
specification_version: 4
|
184
183
|
summary: A client to interact with LLM APIs in a consistent way.
|
185
184
|
test_files: []
|