quivr/backend/modules/assistant/ito
Stan Girard ed814de1c6
feat(assistant): improve prompt summary (#2435)
This pull request improves the prompt summary in the assistant code. It
updates the map_template and reduce_template to provide clearer
instructions for identifying main themes, key points, and important
information in each section of a document. The reduce_template also
specifies that the final summary should include the main themes, key
points, and important information of the entire document.

<!--
ELLIPSIS_HIDDEN
-->


----

| <a href="https://ellipsis.dev" target="_blank"><img
src="https://avatars.githubusercontent.com/u/80834858?s=400&u=31e596315b0d8f7465b3ee670f25cea677299c96&v=4"
alt="Ellipsis" width="30px" height="30px"/></a> | 🚀 This PR
description was created by [Ellipsis](https://www.ellipsis.dev) for
commit 456736a41d. |
|--------|--------|

### Summary:
This PR enhances the document summarization process in the
`SummaryAssistant` class by providing clearer instructions for
identifying main themes, key points, and important information in each
section of a document.

**Key points**:
- Updated `map_template` and `reduce_template` in `process_assistant`
function of `SummaryAssistant` class.
- Changes provide clearer instructions for summarizing documents.
- Final summary should include main themes, key points, and important
information of the entire document.


----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)



<!--
ELLIPSIS_HIDDEN
-->
2024-04-16 14:03:36 -07:00
..
__init__.py feat: Add assistant module and remove ingestion module (#2420) 2024-04-10 04:28:22 -07:00
audio_transcript.py feat: Add tags to AssistantOutput classes (#2425) 2024-04-11 09:42:01 -07:00
crawler.py feat: Add tags to AssistantOutput classes (#2425) 2024-04-11 09:42:01 -07:00
difference.py feat: llamaparse & diff agent (#2427) 2024-04-12 09:06:50 -07:00
ito.py feat(assistants): Add user usage update and pricing calculation to ITO assistant (#2433) 2024-04-16 09:14:38 -07:00
summary.py feat(assistant): improve prompt summary (#2435) 2024-04-16 14:03:36 -07:00