HUB
Sign inSign up

ouranoshong/openheron-kit-openai:0.0.6

Manifest digest

sha256:211c33190d64b19c74d696ee6513345d3e214a897a8405ca73710222003ffe8b

Last pushed

20 days by ouranoshong

Type

Sandbox Kit

Manifest digest

sha256:211c33190d64b19c74d696ee6513345d3e214a897a8405ca73710222003ffe8b

yaml
schemaVersion: "3"
displayName: openheron credential (OpenAI)
description: the OpenAI model credential for an openheron workload, injected by the host proxy
licenses:
    - Apache-2.0
kind: mixin
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - api.openai.com
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: api.openai.com
                  format: Bearer %s
                  header: Authorization
            name: OPENAI_API_KEY
            proxyManaged: true
        phase: runtime
        service: openai
      description: OpenAI API access