ruby-agents 0.2.0 → 0.2.2
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/Gemfile.lock +1 -1
- data/agents.gemspec +8 -11
- data/lib/agents/version.rb +3 -0
- data/lib/agents.rb +22 -22
- metadata +30 -29
- data/lib/version.rb +0 -3
- /data/lib/{actions → agents/actions}/action.rb +0 -0
- /data/lib/{actions → agents/actions}/action_argument.rb +0 -0
- /data/lib/{actions → agents/actions}/action_example.rb +0 -0
- /data/lib/{actions → agents/actions}/ask_for_clarification_action.rb +0 -0
- /data/lib/{actions → agents/actions}/delegate_action.rb +0 -0
- /data/lib/agents/{agent.rb → agents/agent.rb} +0 -0
- /data/lib/agents/{calendar_gpt_agent.rb → agents/calendar_gpt_agent.rb} +0 -0
- /data/lib/agents/{categorizing_gpt_agent.rb → agents/categorizing_gpt_agent.rb} +0 -0
- /data/lib/agents/{dispatching_gpt_agent.rb → agents/dispatching_gpt_agent.rb} +0 -0
- /data/lib/agents/{echo_gpt_agent.rb → agents/echo_gpt_agent.rb} +0 -0
- /data/lib/agents/{information_retrieval_gpt_agent.rb → agents/information_retrieval_gpt_agent.rb} +0 -0
- /data/lib/agents/{promptless_gpt_agent.rb → agents/promptless_gpt_agent.rb} +0 -0
- /data/lib/agents/{todo_gpt_agent.rb → agents/todo_gpt_agent.rb} +0 -0
- /data/lib/agents/{unhandleable_request_agent.rb → agents/unhandleable_request_agent.rb} +0 -0
- /data/lib/{gpt_clients → agents/gpt_clients}/echo_gpt_client.rb +0 -0
- /data/lib/{gpt_clients → agents/gpt_clients}/gpt_client.rb +0 -0
- /data/lib/{gpt_clients → agents/gpt_clients}/open_ai_gpt_client.rb +0 -0
- /data/lib/{logger.rb → agents/logger.rb} +0 -0
- /data/lib/{requests → agents/requests}/request.rb +0 -0
- /data/lib/{responses → agents/responses}/gpt_response.rb +0 -0
- /data/lib/{responses → agents/responses}/response.rb +0 -0
- /data/lib/{responses → agents/responses}/unhandleable_request_response.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dea36bf15988aaf769096d19041e9358317ff6a8dc277a418514e0d8e957f8f2
|
4
|
+
data.tar.gz: 183361122b78107dde2646db255871746c5b380ff2c7e483b762c22ccb17d21f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8194908ff998e405a9893e6a663e5b58bd82849230ea753ba04da498eca905539f7db5dd91cf8167093aec59f503685e83d8bc262255c18be3c66af7dbcbc12
|
7
|
+
data.tar.gz: 97f6f490797b0e1c488ce7fda4688893eed2702dcc6ab41f66ea1cef942192764c6457e17d8cec8b82191fdcbf2698a27dfc4f9af41a46edd11596a5f2ec4d8f
|
data/Gemfile.lock
CHANGED
data/agents.gemspec
CHANGED
@@ -1,25 +1,22 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
|
5
|
-
require_relative 'lib/version'
|
4
|
+
require_relative 'lib/agents/version'
|
6
5
|
|
7
6
|
Gem::Specification.new do |s|
|
8
|
-
s.name
|
7
|
+
s.name = "ruby-agents"
|
9
8
|
s.version = Agents::VERSION
|
10
|
-
s.platform = Gem::Platform::RUBY
|
11
|
-
|
12
9
|
s.authors = ["Jeff McFadden"]
|
13
|
-
s.date = "2023-11-05"
|
14
|
-
s.description = "Put AI to Work."
|
15
10
|
s.email = "55709+jeffmcfadden@users.noreply.github.com"
|
16
|
-
s.files = `git ls-files`.split("\n")
|
17
11
|
|
12
|
+
s.summary = "Setup and organize requests between multiple AI agents."
|
18
13
|
s.homepage = "https://github.com/jeffmcfadden/agents"
|
14
|
+
s.license = "MIT"
|
15
|
+
s.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
19
18
|
s.require_paths = ["lib"]
|
20
|
-
s.rubygems_version = Agents::VERSION
|
21
|
-
s.summary = "Setup and organize requests between multiple AI agents."
|
22
19
|
|
23
20
|
s.add_development_dependency "tldr", ">= 0.9.5"
|
24
21
|
s.add_development_dependency "ruby-openai", ">= 5.1"
|
25
|
-
end
|
22
|
+
end
|
data/lib/agents.rb
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
require_relative 'logger'
|
2
|
-
require_relative 'version'
|
1
|
+
require_relative 'agents/logger'
|
2
|
+
require_relative 'agents/version'
|
3
3
|
|
4
4
|
require 'openai' rescue nil # OpenAI is optional
|
5
5
|
|
6
|
-
require_relative 'gpt_clients/gpt_client'
|
7
|
-
require_relative 'gpt_clients/echo_gpt_client'
|
6
|
+
require_relative 'agents/gpt_clients/gpt_client'
|
7
|
+
require_relative 'agents/gpt_clients/echo_gpt_client'
|
8
8
|
|
9
9
|
if defined?(::OpenAI::Client)
|
10
|
-
require_relative 'gpt_clients/open_ai_gpt_client'
|
10
|
+
require_relative 'agents/gpt_clients/open_ai_gpt_client'
|
11
11
|
end
|
12
12
|
|
13
|
-
require_relative 'agents/agent'
|
14
|
-
require_relative 'agents/calendar_gpt_agent'
|
15
|
-
require_relative 'agents/categorizing_gpt_agent'
|
16
|
-
require_relative 'agents/dispatching_gpt_agent'
|
17
|
-
require_relative 'agents/information_retrieval_gpt_agent'
|
18
|
-
require_relative 'agents/promptless_gpt_agent'
|
19
|
-
require_relative 'agents/todo_gpt_agent'
|
13
|
+
require_relative 'agents/agents/agent'
|
14
|
+
require_relative 'agents/agents/calendar_gpt_agent'
|
15
|
+
require_relative 'agents/agents/categorizing_gpt_agent'
|
16
|
+
require_relative 'agents/agents/dispatching_gpt_agent'
|
17
|
+
require_relative 'agents/agents/information_retrieval_gpt_agent'
|
18
|
+
require_relative 'agents/agents/promptless_gpt_agent'
|
19
|
+
require_relative 'agents/agents/todo_gpt_agent'
|
20
20
|
|
21
|
-
require_relative 'agents/unhandleable_request_agent'
|
21
|
+
require_relative 'agents/agents/unhandleable_request_agent'
|
22
22
|
|
23
|
-
require_relative 'requests/request'
|
23
|
+
require_relative 'agents/requests/request'
|
24
24
|
|
25
|
-
require_relative 'responses/response'
|
26
|
-
require_relative 'responses/gpt_response'
|
27
|
-
require_relative 'responses/unhandleable_request_response'
|
25
|
+
require_relative 'agents/responses/response'
|
26
|
+
require_relative 'agents/responses/gpt_response'
|
27
|
+
require_relative 'agents/responses/unhandleable_request_response'
|
28
28
|
|
29
|
-
require_relative 'actions/action'
|
30
|
-
require_relative 'actions/action_argument'
|
31
|
-
require_relative 'actions/action_example'
|
32
|
-
require_relative 'actions/ask_for_clarification_action'
|
33
|
-
require_relative 'actions/delegate_action'
|
29
|
+
require_relative 'agents/actions/action'
|
30
|
+
require_relative 'agents/actions/action_argument'
|
31
|
+
require_relative 'agents/actions/action_example'
|
32
|
+
require_relative 'agents/actions/ask_for_clarification_action'
|
33
|
+
require_relative 'agents/actions/delegate_action'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-agents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff McFadden
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tldr
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '5.1'
|
41
|
-
description:
|
41
|
+
description:
|
42
42
|
email: 55709+jeffmcfadden@users.noreply.github.com
|
43
43
|
executables: []
|
44
44
|
extensions: []
|
@@ -50,35 +50,36 @@ files:
|
|
50
50
|
- LICENSE
|
51
51
|
- README.md
|
52
52
|
- agents.gemspec
|
53
|
-
- lib/actions/action.rb
|
54
|
-
- lib/actions/action_argument.rb
|
55
|
-
- lib/actions/action_example.rb
|
56
|
-
- lib/actions/ask_for_clarification_action.rb
|
57
|
-
- lib/actions/delegate_action.rb
|
58
53
|
- lib/agents.rb
|
59
|
-
- lib/agents/
|
60
|
-
- lib/agents/
|
61
|
-
- lib/agents/
|
62
|
-
- lib/agents/
|
63
|
-
- lib/agents/
|
64
|
-
- lib/agents/
|
65
|
-
- lib/agents/
|
66
|
-
- lib/agents/
|
67
|
-
- lib/agents/
|
68
|
-
- lib/
|
69
|
-
- lib/
|
70
|
-
- lib/
|
71
|
-
- lib/
|
72
|
-
- lib/
|
73
|
-
- lib/
|
74
|
-
- lib/
|
75
|
-
- lib/
|
76
|
-
- lib/
|
54
|
+
- lib/agents/actions/action.rb
|
55
|
+
- lib/agents/actions/action_argument.rb
|
56
|
+
- lib/agents/actions/action_example.rb
|
57
|
+
- lib/agents/actions/ask_for_clarification_action.rb
|
58
|
+
- lib/agents/actions/delegate_action.rb
|
59
|
+
- lib/agents/agents/agent.rb
|
60
|
+
- lib/agents/agents/calendar_gpt_agent.rb
|
61
|
+
- lib/agents/agents/categorizing_gpt_agent.rb
|
62
|
+
- lib/agents/agents/dispatching_gpt_agent.rb
|
63
|
+
- lib/agents/agents/echo_gpt_agent.rb
|
64
|
+
- lib/agents/agents/information_retrieval_gpt_agent.rb
|
65
|
+
- lib/agents/agents/promptless_gpt_agent.rb
|
66
|
+
- lib/agents/agents/todo_gpt_agent.rb
|
67
|
+
- lib/agents/agents/unhandleable_request_agent.rb
|
68
|
+
- lib/agents/gpt_clients/echo_gpt_client.rb
|
69
|
+
- lib/agents/gpt_clients/gpt_client.rb
|
70
|
+
- lib/agents/gpt_clients/open_ai_gpt_client.rb
|
71
|
+
- lib/agents/logger.rb
|
72
|
+
- lib/agents/requests/request.rb
|
73
|
+
- lib/agents/responses/gpt_response.rb
|
74
|
+
- lib/agents/responses/response.rb
|
75
|
+
- lib/agents/responses/unhandleable_request_response.rb
|
76
|
+
- lib/agents/version.rb
|
77
77
|
- test/test_actions.rb
|
78
78
|
- test/test_openai.rb
|
79
79
|
- test/test_with_children.rb
|
80
80
|
homepage: https://github.com/jeffmcfadden/agents
|
81
|
-
licenses:
|
81
|
+
licenses:
|
82
|
+
- MIT
|
82
83
|
metadata: {}
|
83
84
|
post_install_message:
|
84
85
|
rdoc_options: []
|
@@ -88,14 +89,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
89
|
requirements:
|
89
90
|
- - ">="
|
90
91
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
92
|
+
version: 3.0.0
|
92
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
95
|
- - ">="
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '0'
|
97
98
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
99
|
+
rubygems_version: 3.4.10
|
99
100
|
signing_key:
|
100
101
|
specification_version: 4
|
101
102
|
summary: Setup and organize requests between multiple AI agents.
|
data/lib/version.rb
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/lib/agents/{information_retrieval_gpt_agent.rb → agents/information_retrieval_gpt_agent.rb}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|