Files
DB-GPT/pilot/model/base.py
2023-05-24 18:43:04 +08:00

12 lines
206 B
Python

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