Advanced usage
Custom Head
In some cases, you might want to share a custom sample head to the LLM. For example, you might not be willing to share potential sensitive information with the LLM. Or you might just want to provide better examples to the LLM to improve the quality of the answers. You can do so by passing a custom head to the LLM as follows:
Doing so will make the LLM use the head_df
as the custom head instead of the first 5 rows of the dataframe.
Was this page helpful?