dorian-chat 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/chat +1 -3
  3. metadata +5 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e93227b593517fb81d60f539d02759c628300eeb04923c12bd4bf1be57031b7
4
- data.tar.gz: a557457332e7778428aa14d24b779f8e054abd5ed44474564b3e138f2c2e3407
3
+ metadata.gz: 4487cb27857e0698a7b1a062da2c3a6c4499457c3559f27811381d67e7a1ba90
4
+ data.tar.gz: 122ecf22f01afcb2aaf4b2c3ffc16f55fa98b9509e0b552b540fb8e23010add9
5
5
  SHA512:
6
- metadata.gz: 8e46b8a4c8bd6a3b3009b3dbfb4e5decc331c9d1d713551127e0c2af9f0f690768e24b2b7cc53a26ed338f81985547ce3715a1aa4cc84d36930535e9c847a054
7
- data.tar.gz: 33f1d04ca566f9626d7b60a7725f74d695f87d9c5104b0dd68431607dcd6fa109c5bcba61905fed8f1cf0b00a27cfb0af0743b8d978e4062b09fc73b2a8e322c
6
+ metadata.gz: f71eea8e3e6be55032475ad67b0a44cbb204fedafabb0ef64f95b22206fbd2ebce43ba1b4d1b7c88a6abd2f16235e6c20d502b17c406e91f7e064d09c3c0572f
7
+ data.tar.gz: 0512f34769f49f82c01682219ba78e6d6d70a7534584297f1aeb37ffcc96081ad040cafc96ecc609a2404f994f80fe4964bbcd3eb164c8b6ade44d831acc0ad2
data/bin/chat CHANGED
@@ -38,9 +38,7 @@ request =
38
38
 
39
39
  request.body = {
40
40
  model: "gpt-4o",
41
- messages: [
42
- { role: "user", content: INPUT }
43
- ]
41
+ messages: [{ role: "user", content: INPUT }]
44
42
  }.to_json
45
43
 
46
44
  response = http.request(request)
metadata CHANGED
@@ -1,33 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-chat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-16 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: git
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- description: |-
28
- chat with openai api
29
-
30
- e.g. `chat`
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: chat with ai
31
14
  email: dorian@dorianmarie.com
32
15
  executables:
33
16
  - chat
@@ -58,5 +41,5 @@ requirements: []
58
41
  rubygems_version: 3.5.11
59
42
  signing_key:
60
43
  specification_version: 4
61
- summary: chat with openai api
44
+ summary: chat with ai
62
45
  test_files: []