Date/time variable for system prompt #2244
sebastienbo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was wondering if there is some way to have a date/time pre-prompt to make the LLM's aware of the user moment in time.
It has been proven that LLM's can answer much more naturally when they know when and where (location) they are.
For example if LLM's know it is 1 december and I ask an llm "what should i wear" it would be inclined to think it is cold weather and therefore come with realistic answers. Opposed to not knowing the date would result in "training bias" which would result in an answer based on how much training data happend for a certain date. If I ask for food stuff it will go for winter things. If i ask for ideas to do something it would think about in house stuff or warmer stuff. It would certainly be less inclined to propose a walk in the park.
Same thing if I would ask when the sun would come up, or what time is it in new-york. All of them could be answerred and taken in account.
As for the location that would help the LLM to provide information about the user location.
If I ask "How much does a human weight" , it would answer in POUNDS if the location is in USA, or in KG if the location is somewhere in europe.
This is a great example on how dates and location have an impact on how an LLM answers even if the question is not date or location related.
For the LLM's there is a relation anyways and it would be able to feel much smarter because it's results will be more tuned to your location and moment.
Therefore my question is: how could we best integrate a date/time/location variable ? in the prompt template? in the system prompt?
Do you guys have already a variable that could be used to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions