inputs:
  chat_history:
    type: list
    is_chat_history: true
    default:
      - inputs:
          question: hi
        outputs:
          answer: hi
      - inputs:
          question: who are you
        outputs:
          answer: who are you
  question:
    type: string
    is_chat_input: true
    default: What is ChatGPT?
outputs:
  answer:
    type: string
    reference: ${chat_node.output}
    is_chat_output: true
nodes:
- inputs:
    deployment_name: gpt-35-turbo
    max_tokens: "256"
    temperature: "0.7"
    chat_history: ${inputs.chat_history}
    question: ${inputs.question}
  name: chat_node
  type: llm
  source:
    type: code
    path: chat.jinja2
  api: chat
  provider: AzureOpenAI
  connection: azure_open_ai_connection