Files
DB-GPT/pilot/model/base.py
2023-05-09 00:15:19 +08:00

12 lines
213 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import List, TypedDict
class Message(TypedDict):
"""LLM Message object containing usually like (role: content) """
role: str
content: str