-
Notifications
You must be signed in to change notification settings - Fork 15
feat(r): Added prompt_path argument to R package #37
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
base: main
Are you sure you want to change the base?
Conversation
…mpt to allow user to provide completely custom system prompt.
Hi @oacar, thanks for submitting a PR. I'm trying to understand what you are trying to do. Currently The default behavior of calling If you provide your own custom |
Hi @chendaniely, thank you for answering! Good points. Correct me if I am wrong but if you provide full system prompt yourself, you also need to pass the dataframe schema yourself then also figure out the templating. Since the In my use case, I took your system prompt file and removed the filtering related functionality and kept the rest same. I thought the easiest way to use this prompt without changing anything else was to provide a prompt_path argument. |
* main: docs(py,r): Initial Python and R documentation with index page (posit-dev#38)
Updates:
|
@oacar Does this look good to you? |
@schloerke looks great! Thanks for all the additional stuff. |
I wanted to have more control over default behavior of the system so I added
prompt_path
argument toquerychat_init
andquerychat_system_prompt
to allow user to provide completely custom system prompt.