aiagent 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '02942755b5e166577ba8df4d4ec900b09aa0d4b18bffad704ac13c46c2d46dec'
4
- data.tar.gz: 60ffc49db83174ad4df31da6b94b9a71d732deb594300c1bfd7447d75db16649
3
+ metadata.gz: c46f1d1aaa8f9ec271a8e04aa6afa8d08b207f940c99e9f0ae66f7336631a2dd
4
+ data.tar.gz: f9f9e087a83a2dc914c609f80f8afb740a7304102911c9ed043910c8db8f0288
5
5
  SHA512:
6
- metadata.gz: 47c92de7b86be56966a0a02b427f1daa3e2044453af2061de9ba7a0fa09d9d6451b6c28fd6fd37bcc92b8910292afeebb64f7e4088ee22c9854aa58b0653f471
7
- data.tar.gz: d8254076ca058ec7b07c512838a4e3ec030051ff05cfda098d3afa0681a29403383a83998d3e5ec06e8ebc243bbe0ae97c90528ba84b5bc3704da7a2090f34a3
6
+ metadata.gz: ce5d258e8fba960b0b55a561480e2196ebe8db708bfc9063a70d28964b616cbe10470b57d921947cb96c7dd32d89e66c94ebbf9b8fa9bc2eb916a078e3b584e1
7
+ data.tar.gz: b91e1b1e07654e0e4d63de223e462f38f361c27e988e5d71059560d8a64319ac66e665d73e5921ada9a44661474eca3db7f67e6805825369e760e5778f7fbf22
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.3.1] - 2024-07-10
2
+
3
+ - Fixed gemspec
4
+
1
5
  ## [0.3.0] - 2024-07-09
2
6
 
3
7
  - Added OpenAI support
data/Gemfile CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in the gemspec file
5
+ # Specify your gem's dependencies in the gemspec
6
6
  gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aiagent (0.2.0)
4
+ aiagent (0.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -32,7 +32,17 @@ Example initializer:
32
32
  # config/initializers/ai_agent.rb
33
33
 
34
34
  require "ai_agent/ai_agent/claude"
35
+ require "ai_agent/ai_agent/open_ai"
35
36
  ```
37
+
38
+ You'll also need to add supporting gems to your Gemfile for each of the agents that you enable.
39
+
40
+ ```ruby
41
+ gem 'claude-ruby'
42
+ gem 'ruby-openai'
43
+ ```
44
+
45
+
36
46
  ## Setup
37
47
 
38
48
  To use this gem you'll need an API key for the agents that you want to use.
@@ -41,7 +51,7 @@ Set your API keys as environment variables, or pass them to the AiAgent initiali
41
51
 
42
52
  Example with environment variables:
43
53
  ```ruby
44
- # ENV['ANTHROPIC_API_KEY'] = 'YOUR_ANTHROPIC_API_KEY'
54
+ ENV['ANTHROPIC_API_KEY'] = 'YOUR_ANTHROPIC_API_KEY'
45
55
 
46
56
  ai_agent = AiAgent::Claude.new
47
57
  ```
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AiAgent
4
4
  module Ruby
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aiagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Web Ventures Ltd
@@ -10,8 +10,8 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Ruby SDK for interacting with LLM agents such as OpenAI's ChatGPT, Anthropic's
14
- Claude, and Ollama.
13
+ description: AiAgent provides a common way to interact with the APIs provided by OpenAI,
14
+ Anthropic, and other AI assistants.
15
15
  email:
16
16
  - webven@mailgab.com
17
17
  executables: []
@@ -55,5 +55,6 @@ requirements: []
55
55
  rubygems_version: 3.5.3
56
56
  signing_key:
57
57
  specification_version: 4
58
- summary: A Ruby SDK for interacting with AI Agents such as ChatGPT and Claude
58
+ summary: An interface for interacting with AI Agents such as ChatGPT, Claude, Gemini,
59
+ LeChat, Ollama.
59
60
  test_files: []