Skip to content

Commit

Permalink
chore: Modify prompt manager table column length
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Dec 25, 2023
1 parent d4e2edb commit c371850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbgpt/serve/prompt/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ class ServeEntity(Model):
chat_scene = Column(String(100), comment="Chat scene")
sub_chat_scene = Column(String(100), comment="Sub chat scene")
prompt_type = Column(String(100), comment="Prompt type(eg: common, private)")
prompt_name = Column(String(128), comment="Prompt name")
prompt_name = Column(String(256), comment="Prompt name")
content = Column(Text, comment="Prompt content")
input_variables = Column(
String(1024), nullable=True, comment="Prompt input variables(split by comma))"
)
model = Column(
String(64),
String(128),
nullable=True,
comment="Prompt model name(we can use different models for different prompt",
)
Expand Down

0 comments on commit c371850

Please sign in to comment.