outfit单品数量通过java传参控制
This commit is contained in:
@@ -21,7 +21,7 @@ class AgentRequestModel(BaseModel):
|
||||
stylist_path: str
|
||||
callback_url: str
|
||||
gender: str
|
||||
max_len: int
|
||||
max_len: int = 9
|
||||
|
||||
|
||||
class LCAgent(ls.LitAPI):
|
||||
@@ -103,7 +103,7 @@ class LCAgent(ls.LitAPI):
|
||||
return summary
|
||||
|
||||
async def recommend_outfit(self, request_summary: str, stylist_name: str, start_outfit=None, num_outfits: int = 1,
|
||||
user_id: str = "test", gender: str = "male", callback_url: str = None, max_len: str = 9):
|
||||
user_id: str = "test", gender: str = "male", callback_url: str = None, max_len: int = 9):
|
||||
"""
|
||||
基于用户的对话历史和需求,推荐一套搭配。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user