code: def main():
      config = """
  routes:
    - name: chat
      route_type: llm/v1/chat
      model:
        provider: openai
        name: gpt-3.5-turbo
        config:
          openai_api_key: key
  
    - name: completions
      route_type: llm/v1/completions
      model:
        provider: openai
        name: gpt-3.5-turbo
        config:
          openai_api_key: key
  
    - name: embeddings
      route_type: llm/v1/embeddings
      model:
        provider: openai
        name: text-embedding-ada-002
        config:
          openai_api_key: key
  """
      with tempfile.TemporaryDirectory() as tmpdir:
          config_path = Path(tmpdir).joinpath("config.yaml")
          config_path.write_text(config)
  
          app = create_app_from_path(config_path)
          docs_build = Path("build/html/llms/deployments")
          docs_build.mkdir(parents=True, exist_ok=True)
          with docs_build.joinpath("openapi.json").open("w") as f:
              json.dump(app.openapi(), f)
  
          with docs_build.joinpath("api.html").open("w") as f:
              f.write(API_HTML)
  
imports: import json
  import tempfile
  from pathlib import Path
  from mlflow.gateway.app import create_app_from_path
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types