# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: coze2openai
spec:
    description: Turn Coze api into OpenAI
    tags:
        - API
        - Bot
        - Tool
    readme: |-
        ## COZE2OPENAI
        **Use Coze on your favorite OpenAI client.**

        This project converts the Coze API to the OpenAI API format, giving you access to Coze's LLMs, knowledge base, tools, and workflows within your preferred OpenAI clients.


        ## Features
        - Convert Coze API into an OpenAI API
        - Support streaming and blocking
        - Support Chatbots API on Coze

        ## Environment Variable

        `BOT_ID` : The ID of the bot. Obtain it from the Develop page URL of your bot in Coze. The number after the bot parameter is the bot ID.
    services:
        - name: coze2openai
          template: GIT
          spec:
            source:
                source: GITHUB
                repo: 786949941
                branch: main
