Originally created by @rob215x on GitHub (Jun 3, 2024).
My LLM "Lumina" doesn't know what day or time it is, unless I tell her. I can say, "Hey Lumina today is June 3, 2024 and it's 6:30pm. Do you know what day of the week it is?" and she'll give the correct answer.
But I'd like to have a prompt that automatically inserts today's date and time so that when I start a new chat, Lumina already knows what day it is. Can I do that?
This would also be an example of how to insert any system vars into prompts! I may have missed it, but I couldn't find it in the documentation.
Thanks!
Originally created by @rob215x on GitHub (Jun 3, 2024).
My LLM "Lumina" doesn't know what day or time it is, unless I tell her. I can say, "Hey Lumina today is June 3, 2024 and it's 6:30pm. Do you know what day of the week it is?" and she'll give the correct answer.
But I'd like to have a prompt that automatically inserts today's date and time so that when I start a new chat, Lumina already knows what day it is. Can I do that?
This would also be an example of how to insert any system vars into prompts! I may have missed it, but I couldn't find it in the documentation.
Thanks!
As of v0.2.0, two new variables were added: {{CURRENT_DATE}} and {{USER_NAME}} for dynamic prompts.
@silentoplayz commented on GitHub (Jun 4, 2024):
As of v0.2.0, two new variables were added: `{{CURRENT_DATE}}` and `{{USER_NAME}}` for dynamic prompts.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rob215x on GitHub (Jun 3, 2024).
My LLM "Lumina" doesn't know what day or time it is, unless I tell her. I can say, "Hey Lumina today is June 3, 2024 and it's 6:30pm. Do you know what day of the week it is?" and she'll give the correct answer.
But I'd like to have a prompt that automatically inserts today's date and time so that when I start a new chat, Lumina already knows what day it is. Can I do that?
This would also be an example of how to insert any system vars into prompts! I may have missed it, but I couldn't find it in the documentation.
Thanks!
@justinh-rahb commented on GitHub (Jun 3, 2024):
{{CURRENT_DATE}}@silentoplayz commented on GitHub (Jun 4, 2024):
As of v0.2.0, two new variables were added:
{{CURRENT_DATE}}and{{USER_NAME}}for dynamic prompts.