diff --git a/.dockerignore b/.dockerignore index 640c241..15e94d3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,4 +3,5 @@ **/*.pyo Dockerfile .git -.gitignore \ No newline at end of file +.gitignore +amber/.env diff --git a/.gitignore b/.gitignore index e42c53d..fba63b4 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,4 @@ app-route/*.txt app-malt/=0.26.0 app-k8s/policies/* app-k8s/pod_deployment/* -app-k8s/test.txt \ No newline at end of file +app-k8s/test.txt diff --git a/amber/amber-manifest-green.json5 b/amber/amber-manifest-green.json5 new file mode 100644 index 0000000..ce2609a --- /dev/null +++ b/amber/amber-manifest-green.json5 @@ -0,0 +1,54 @@ +{ + manifest_version: "0.1.0", + program: { + image: "ghcr.io/froot-netsys/malt_agent:latest", + entrypoint: [ + "uv", + "run", + "malt_agent.py", + "--host", + "0.0.0.0", + "--port", + "8081" + ], + env: { + PROXY_URL: "${slots.proxy.url}", + LOG_LEVEL: "INFO", + }, + network: { + endpoints: [ + { name: "endpoint", port: 8081 }, + ], + }, + }, + config_schema: { + type: "object", + properties: { + }, + required: [], + additionalProperties: false, + }, + slots: { + proxy: { kind: "a2a" }, + }, + provides: { + a2a: { kind: "a2a", endpoint: "endpoint" }, + }, + exports: { + a2a: "a2a", + }, + metadata: { + assessment_config: { + prompt_type: "zeroshot_base", + num_queries: 3, + complexity_level: ["level1", "level2", "level3"], + output_dir: "dump", + output_file: "query_output.jsonl", + benchmark_path: "assessment_queries.jsonl", + regenerate_benchmark: true + }, + participant_roles: [ + "malt_operator" + ] + } +} diff --git a/amber/sample.env b/amber/sample.env new file mode 100644 index 0000000..f14403d --- /dev/null +++ b/amber/sample.env @@ -0,0 +1 @@ +AMBER_CONFIG_OPENAI_API_KEY=