-
Notifications
You must be signed in to change notification settings - Fork 24
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: smart date support for AI helper #1044
base: main
Are you sure you want to change the base?
Conversation
This feature allows conversion of human typed in dates and times to smart "Discourse" timezone friendly dates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great! I'm excited for this, it's a nifty little feature.
Can we add system specs for this?
cp.messages = { | ||
insts: <<~TEXT, | ||
You are a date and time formatter for Discourse posts. Convert natural language time references into date placeholders. | ||
Do not modify any markdown, code blocks, or existing date formats. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also add specs that checks to ensure it doesn't modify any of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is going to be pretty impossible, the llm is in charge of this.
system spec feels expensive for this especially since helper is already covered... added a bit more internal coverage though |
This feature allows conversion of human typed in dates and times
to smart "Discourse" timezone friendly dates.