ad-agent_architecture 0.0.5 → 0.0.6

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: 48e72bffc8e25721cc39304860dac54bdde2cbe3828fd9bf39ea5a93d2ae40d8
4
- data.tar.gz: 6579e5af918b96e8eb9960ea2e672cf1b2315fad054f794ca5789cec1779624c
3
+ metadata.gz: daa2d7eacfdb1c2650cf23106d3f001040d765d7aa3ccf44081a989361e9ad48
4
+ data.tar.gz: b3fe1ef5e9d26a809d13ddb6200d125a17549b6af88b5995ba05e35788fcb608
5
5
  SHA512:
6
- metadata.gz: a3ac5432296309961a50273fbb71cdf0fd681ab5d1a40cf7054a9b1a044001d1262d0eefc91f08f579a887294104dc3e22e2fbe3717e3c32b98fe0eae7ff54de
7
- data.tar.gz: 93c048683f119fa32427bf57422bf1217bb689870162cb733a3eda10bdba6d92c0f8b7606e3550630b747ad2000a7bd48ec7c83beaa4ab2c67593a67c7b5b5ef
6
+ metadata.gz: b09d423f903b09b704e958627b4a2cc4d1dbae248aee623e0750623e366f13247ab943043742702f8e0353ce4fe8a22ea7303f0f267a2ccce90c365239970947
7
+ data.tar.gz: be77db10d9e1fc55d9d18464714b57a8039b194a5c53ec963d7becdc743533ef60b06af6d18cf9ba13048446d09031d679fe239c3c5c3352870a8b3cbeac706f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.0.5](https://github.com/appydave/ad-agent_architecture/compare/v0.0.4...v0.0.5) (2024-06-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add sqlite3, sequal and setup a schema ([a8fa9c9](https://github.com/appydave/ad-agent_architecture/commit/a8fa9c9ff29ed223644d3622bd46ca5d626af9a9))
7
+ * add sqlite3, sequal and setup a schema ([87ded1e](https://github.com/appydave/ad-agent_architecture/commit/87ded1e6886d3190fc83ecaa4e215bacf044378f))
8
+
1
9
  ## [0.0.4](https://github.com/appydave/ad-agent_architecture/compare/v0.0.3...v0.0.4) (2024-06-26)
2
10
 
3
11
 
data/docs/requirements.md CHANGED
@@ -1,3 +1,65 @@
1
+ # AppyDave - Agent Architecture Schema
2
+
3
+ ## Purpose
4
+
5
+ The application is designed to handle structured workflows for building documents or text-based assets using LLMs from OpenAi, Anthropic and others. It should be adaptable to any workflow that follows a structured concept or a series of steps.
6
+
7
+ ## Sample Workflows
8
+ - YouTube titles
9
+ - YouTube scripts
10
+ - YouTube transcription to Medium, LinkedIn, etc.
11
+
12
+ ## Key Components
13
+
14
+ ### Static Workflow Definition
15
+ - **Workflows**: Define a series of tasks to achieve a specific goal.
16
+ - **Sections**: Subdivisions within workflows to organize steps logically.
17
+ - **Steps**: Individual tasks within a section, each associated with an AI prompt and various input/output attributes.
18
+ - **Attributes**: Parameters used in steps, which can be simple values or arrays.
19
+ - **Input/Output Attributes**: Map attributes to steps as either inputs or outputs.
20
+
21
+ ### Dynamic Workflow Execution
22
+ - **Workflow Runs**: Instances of workflow executions.
23
+ - **Section Runs**: Instances of section executions within a workflow run.
24
+ - **Step Runs**: Instances of step executions within a section run, supporting multiple branches.
25
+ - **Attribute Values**: Store the values of attributes during step executions.
26
+
27
+ ## Features
28
+
29
+ ### Schema Creation and Models
30
+ - Use Sequel and SQLite to define and manage the database schema.
31
+ - Models are defined for workflows, sections, steps, attributes, and their relationships.
32
+
33
+ ### Testing and Validation
34
+ - Unit tests to verify the schema and associations using RSpec.
35
+ - Guard setup to automatically run tests when certain files are modified.
36
+
37
+ ### Data Management
38
+ - Methods to export the database schema and data to JSON files for backup.
39
+ - Methods to restore the database from JSON files for easy editing and re-importing.
40
+
41
+ ## Initial Workflows
42
+ - These include YouTube video scripts, YouTube title creation, and transcription to articles.
43
+ - These workflows serve as examples and validation for the broader concept.
44
+
45
+ ## Implementation Details
46
+ - **Database**: Use SQLite with Sequel for ORM.
47
+ - **Code Structure**: Organize code into modules and classes for database schema creation and model definitions.
48
+ - **Testing**: Ensure models and associations are correctly implemented and tested.
49
+
50
+ ## Next Steps
51
+
52
+ ### Refine DSL for Static Workflows
53
+ - Enhance the DSL to create and update static workflows.
54
+ - Ensure it updates the database and exports workflows in JSON/YAML format.
55
+ - Implement rendering of the workflow structure as HTML.
56
+
57
+ ### Plan Dynamic Execution
58
+ - Determine the approach for executing workflows dynamically.
59
+ - Decide on using a DSL or a web application for this purpose.
60
+
61
+ This summary should help guide the development and focus on the core objectives and future directions.
62
+
1
63
 
2
64
  ## Schema for AI Agents
3
65
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ad
4
4
  module AgentArchitecture
5
- VERSION = '0.0.5'
5
+ VERSION = '0.0.6'
6
6
  end
7
7
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "ad-agent_architecture",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "ad-agent_architecture",
9
- "version": "0.0.5",
9
+ "version": "0.0.6",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.3",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ad-agent_architecture",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Architecture/Schema for AI Agents",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ad-agent_architecture
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
  - David Cruwys