Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: adding ability to add system messages #21

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

maishathasin
Copy link

The problem

Currently there is no way of easily adding system messages other than changing the transformers.py

What the PR does

This PR creates a simple optional way of adding a system message by adding an optional system field in the Document class, and can be used like this document.parse(content=content, system=system) using the parse function.

Testing

The feature has been tested by giving a system message and evaluating the outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant