mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 22:09:44 +00:00
12 lines
206 B
Python
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
|