|
| 1 | +(@doc new-das! |
| 2 | + (@desc "Creates a new Distributed AtomSpace (DAS) instance with specified server and known peer endpoints") |
| 3 | + (@params ( |
| 4 | + (@param "Server endpoint with port range (e.g., 0.0.0.0:42000-42999 or localhost:52000-52099)") |
| 5 | + (@param "Known peer endpoint (e.g., 0.0.0.0:40002 or localhost:40002)"))) |
| 6 | + (@return "A Space instance representing the DAS")) |
| 7 | + |
| 8 | +(@doc das-join-network! |
| 9 | + (@desc "(re)Joins the DAS network using the configured parameters") |
| 10 | + (@params ()) |
| 11 | + (@return "Unit atom")) |
| 12 | + |
| 13 | +(@doc das-services! |
| 14 | + (@desc "Prints information about available DAS services") |
| 15 | + (@params ()) |
| 16 | + (@return "Unit atom")) |
| 17 | + |
| 18 | +(@doc das-service-status! |
| 19 | + (@desc "Checks the status of a specific DAS service by name") |
| 20 | + (@params ( |
| 21 | + (@param "Service name (string)"))) |
| 22 | + (@return "String: 'ServiceAvailable: <name>' if available, or error if not available or not registered")) |
| 23 | + |
| 24 | +(@doc das-set-param! |
| 25 | + (@desc "Sets a DAS parameter value. The parameter must exist in the DAS configuration") |
| 26 | + (@params ( |
| 27 | + (@param "Expression containing key-value pair, e.g., (max_answers 100)"))) |
| 28 | + (@return "String: 'DAS Param Updated: <param_name>' or error")) |
| 29 | + |
| 30 | +(@doc das-get-params! |
| 31 | + (@desc "Prints all current DAS parameters") |
| 32 | + (@params ()) |
| 33 | + (@return "Unit atom")) |
| 34 | + |
| 35 | +(@doc das-create-context! |
| 36 | + (@desc "Creates a context in the DAS with specified query, determiner schema, and stimulus schema") |
| 37 | + (@params ( |
| 38 | + (@param "Context name (string)") |
| 39 | + (@param "ExpressionAtom containing schemas: ( (query) (determiner_schema) (stimulus_schema) )"))) |
| 40 | + (@return "Result atom from context creation")) |
| 41 | + |
| 42 | +(@doc das-evolution! |
| 43 | + (@desc "Performs DAS evolution operation with query, fitness function, correlation queries, replacements, and mappings") |
| 44 | + (@params ( |
| 45 | + (@param "ExpressionAtom containing evolution configuration: ( (query) (fitness-function) (correlation-queries) (correlation-replacements) (correlation-mappings) )") |
| 46 | + (@param "Template atom to be filled with evolution results"))) |
| 47 | + (@return "Non-deterministic result: template with bindings from evolution")) |
| 48 | + |
| 49 | +(@doc das-link-creation! |
| 50 | + (@desc "Creates links in the DAS based on a query pattern and one or more templates") |
| 51 | + (@params ( |
| 52 | + (@param "Query atom to match against") |
| 53 | + (@param "Template atoms (one or more) for link creation"))) |
| 54 | + (@return "Result atom from link creation")) |
| 55 | + |
| 56 | +(@doc das-helpers! |
| 57 | + (@desc "Executes helper functions for DAS operations. Currently supports 'sleep' helper") |
| 58 | + (@params ( |
| 59 | + (@param "Helper function name (string), e.g., 'sleep'") |
| 60 | + (@param "Argument for the helper function (string), e.g., '5' for sleep duration in seconds"))) |
| 61 | + (@return "Unit atom")) |
0 commit comments