Add role documentation, add system begin & end tokens (#793)

This commit is contained in:
ObjectNotFound
2024-07-28 23:02:49 -07:00
committed by GitHub
parent 325a06c2de
commit 8f6274c82b
4 changed files with 33 additions and 3 deletions
+8
View File
@@ -210,6 +210,14 @@ def assistant(expr: Optional[SglExpr] = None):
return _role_common("assistant", expr)
def system_begin():
return SglRoleBegin("system")
def system_end():
return SglRoleEnd("system")
def user_begin():
return SglRoleBegin("user")