You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assistants/project-assistant/assistant/respond.py
+28-16Lines changed: 28 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -460,17 +460,20 @@ class CoordinatorMessageList(BaseModel):
460
460
classOutput(BaseModel):
461
461
"""
462
462
Attributes:
463
-
response: The response from the assistant.
464
-
citations: A list of citations for the response provided from the assistant.
463
+
citations: A list of citations from which the response is generated. There should always be at least one citation, but it can be empty if the assistant has no relevant information to cite.
464
+
excerpt: A verbatim excerpt from one of the cited works that illustrates why this response was given. It should have enough context to get a good idea of what's in that part of the cited work. If there is no relevant excerpt, this will be None.
465
465
next_step_suggestion: Suggest more areas to explore using content from the assistant whiteboard to ensure your conversation covers all of the relevant information.
466
466
"""
467
467
468
+
citations: list[str] =Field(
469
+
description="A list of citations from which the response is generated. There should always be at least one citation, but it can be empty if the assistant has no relevant information to cite.",
470
+
)
471
+
excerpt: str|None=Field(
472
+
description="A verbatim excerpt from one of the cited works that illustrates why this response was given. It should have enough context to get a good idea of what's in that part of the cited work. If there is no relevant excerpt, this will be None.",
473
+
)
468
474
response: str=Field(
469
475
description="The response from the assistant.",
470
476
)
471
-
citations: list[str] =Field(
472
-
description="A list of citations for the response provided from the assistant.",
473
-
)
474
477
next_step_suggestion: str=Field(
475
478
description="Suggest more areas to explore using content from the assistant whiteboard to ensure your conversation covers all of the relevant information. For example: 'Would you like to explore ... next?'.",
Copy file name to clipboardExpand all lines: assistants/project-assistant/assistant/text_includes/knowledge_transfer_team_instructions.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Use a helpful, informative tone focused on knowledge sharing and exploration. Ke
12
12
13
13
## Help the user explore the shared knowledge
14
14
15
+
- If at all possible, you MUST provide specific illustrative excerpts of the content you used to create your answer.
15
16
- With each response, suggest more areas to explore using content from the assistant whiteboard to ensure your conversation covers all of the relevant information.
16
17
- For example, if the user has already talked about 3 of five items from the whiteboard, your suggestion in `next_step_suggestion` might be "Would you like to explore [area 4] now?"
17
18
- Do NOT suggest exploring areas that are not in the shared knowledge.
0 commit comments