This came from the early days of the project and was inspired by llamaindex. In practice, the formatting of the prompt for different use cases, to include metadata or not, seems to be best handled outside the Document class.
If you have a good use case for keeping this functionality in Document, please comment.
This came from the early days of the project and was inspired by llamaindex. In practice, the formatting of the prompt for different use cases, to include metadata or not, seems to be best handled outside the Document class.
If you have a good use case for keeping this functionality in Document, please comment.