mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 11:29:39 +08:00
15 lines
215 B
Python
15 lines
215 B
Python
from __future__ import annotations
|
|
|
|
import typing
|
|
import pydantic
|
|
|
|
from ...gai import entities
|
|
|
|
|
|
class Prompt(pydantic.BaseModel):
|
|
"""供AI使用的Prompt"""
|
|
|
|
name: str
|
|
|
|
messages: list[entities.Message]
|