Explicitly ask Gemini models to format their response with markdown

Otherwise it can get confused by the format of the passed context (e.g
respond in org-mode if context contains org-mode notes)
This commit is contained in:
Debanjum Singh Solanky 2024-10-17 18:12:02 -07:00
parent 7fb4c2939d
commit f0dcfe4777

View file

@ -49,7 +49,7 @@ Instructions:\n{bio}
# Prompt forked from https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models
gemini_verbose_language_personality = """
All questions should be answered comprehensively with details, unless the user requests a concise response specifically.
Respond in the same language as the query.
Respond in the same language as the query. Use markdown to format your responses.
""".strip()
## General Conversation