-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4132d07
commit fa711ef
Showing
16 changed files
with
555 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
import Foundation | ||
|
||
|
||
|
||
public struct Agent: Codable { | ||
|
||
public var isActive: Bool | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// Datasource.swift | ||
// | ||
// | ||
// Created by Simon Weniger (Aiden Technologies) on 19.09.23. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct Datasource { | ||
|
||
public var name: String | ||
public var description: String | ||
public var type: String | ||
public var url: String | ||
public var metadata: [String: Any]? | ||
|
||
public init(name: String, description: String, type: String, url: String, metadata: [String: Any]? = nil) { | ||
self.name = name | ||
self.description = description | ||
self.type = type | ||
self.url = url | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// LLM.swift | ||
// | ||
// | ||
// Created by Simon Weniger (Aiden Technologies) on 19.09.23. | ||
// | ||
import Foundation | ||
|
||
public struct LLM { | ||
public var provider: String | ||
public var apiKey: String | ||
public var options: [String: Any]? | ||
|
||
public init(provider: String, apiKey: String, options: [String: Any]? = nil) { | ||
self.provider = provider | ||
self.apiKey = apiKey | ||
self.options = options | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,25 @@ | ||
// | ||
// Tool.swift | ||
// | ||
// Created by Simon Weniger on 09.07.23. | ||
// Created by Simon Weniger (Aiden Technologies) on 09.07.23. | ||
// | ||
|
||
import Foundation | ||
|
||
|
||
|
||
public struct Tool { | ||
|
||
public var name: String | ||
public var description: String | ||
public var type: String | ||
public var _description: String | ||
public var authorization: Any? | ||
public var metadata: Any? | ||
public var metadata: [String : Any]? | ||
public var returnDirect: Bool? | ||
|
||
public init(name: String, type: String, _description: String, authorization: Any? = nil, metadata: Any? = nil) { | ||
public init(name: String, description: String, type: String, metadata: [String: Any]? = nil, returnDirect: Bool? = nil) { | ||
self.name = name | ||
self.description = description | ||
self.type = type | ||
self._description = _description | ||
self.authorization = authorization | ||
self.metadata = metadata | ||
self.returnDirect = returnDirect | ||
} | ||
|
||
public enum CodingKeys: String, CodingKey { | ||
case name | ||
case type | ||
case _description = "description" | ||
case authorization | ||
case metadata | ||
} | ||
|
||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// Workflow.swift | ||
// | ||
// | ||
// Created by Simon Weniger (Aiden Technologies) on 19.09.23. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct WorkflowStep { | ||
|
||
public var order: Int | ||
public var agentId: String | ||
public var input: String | ||
public var output: String | ||
|
||
public init(order: Int, agentId: String, input: String, output: String) { | ||
self.order = order | ||
self.agentId = agentId | ||
self.input = input | ||
self.output = output | ||
} | ||
|
||
} |
Oops, something went wrong.