Skip to content

FEATURE: adding ability to add system messages #21

Open
maishathasin wants to merge 7 commits into
finic-ai:mainfrom
maishathasin:main
Open

FEATURE: adding ability to add system messages #21
maishathasin wants to merge 7 commits into
finic-ai:mainfrom
maishathasin:main

Conversation

@maishathasin

Copy link
Copy Markdown

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