intelli_agent 0.0.5 → 0.0.6

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/intelli_agent/ai.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90001fe87e248dd0782509d12815291aba7e216127fd1d3905d73d9dd822eb6f
4
- data.tar.gz: ce0686dbd9ee50d81118dcd070dbe160cc3e57064f73f097ee36c11a68eea045
3
+ metadata.gz: 475b4ea33841f7026d1186e346d0939a40bf80277bada1f00c058f4e966bd513
4
+ data.tar.gz: 0fd82b217902cc662e163d08565afe0ff1eee10d6f690be1fb206fe47b216cdd
5
5
  SHA512:
6
- metadata.gz: b8df0c3d199aad7137a53cec7eddf89c6d1da8372ba4e84c0f4c5ff98ce486b4de9149bdc50503275eb4cd4dc8c52cc55a3e4df23b1648d21d014fb793e1c3ce
7
- data.tar.gz: 614c0a2028f279c422d3e168d467615570c746c6ba84ad21a6c03aba27e92d1037d5d8bfb0e5959b243358143e936d1fb7e256e765b79ae23f3834f41a3133f5
6
+ metadata.gz: 6af16bf022d0bb540d9e7748bb3186277d18347facaa0983c29af055382d6d7a88492d8b1dae184b6c3f7544a54f57b773f611a05507a510490648c5a7922791
7
+ data.tar.gz: b0cb06584d055c8ea1350da73d71986b2897fb2ac6c9016d6c4b81cb1e40b49d361e80561c80dc9b6a6963edb60bedcb76a160b9dd7908fc2f05b05fb99197a0
@@ -42,7 +42,7 @@ module AI
42
42
  response.dig('choices', 0, 'message', 'content').strip
43
43
  end
44
44
 
45
- def chat(messages, model: AI::BASIC_MODEL, response_format: nil)
45
+ def chat(messages:, model: AI::BASIC_MODEL, response_format: nil)
46
46
  parameters = { model:, messages: }
47
47
  parameters[:response_format] = { type: 'json_object' } if response_format.eql?(:json)
48
48
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intelli_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gedean Dias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2027-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-openai