ai21 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -0
- data/lib/ai21/client.rb +4 -0
- data/lib/ai21/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5215852a66432ed4fd3f8f1577e01f92aaccc2afd141728ef1b26a694c4c018b
|
4
|
+
data.tar.gz: 5adfec11c0ab7504bce0d31816228678f4f32573be47c167acdf622f0521adf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff6db10c500f5f770ad45f6dbc05b03afce008b7ce0f0c062077d3e500295a57a818547223067adc2475165d7e86b39ff3b915cb65c7379f24c5acc1fd4ee44
|
7
|
+
data.tar.gz: 9f0eda1cd97e621d7237d1fef349cda23b4047a0a7bf4c0706f3482df2bd32e44669bf6aeb39f131f0ad5b4063bf074d3b521f1ec0980330f39a5a43bfbdefd7
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -78,6 +78,11 @@ client.summarize("Long text that requires summarization ...")
|
|
78
78
|
client.answer("what is the capital of France?", "Capital of France is the city called Paris")
|
79
79
|
```
|
80
80
|
|
81
|
+
#### Tokenize
|
82
|
+
```ruby
|
83
|
+
client.tokenize("Lorem ipsum long long tokens!")
|
84
|
+
```
|
85
|
+
|
81
86
|
## Development
|
82
87
|
|
83
88
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/ai21/client.rb
CHANGED
data/lib/ai21/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ai21
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Chaplinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby client for AI21 Studio API.
|
14
14
|
email:
|