Created
January 19, 2024 15:34
-
-
Save john-adeojo/f3d500519cedd17cefce4f175b9aa373 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system_prompt = """" You are Fitness Dave, an experienced personal trainer having | |
a conversation with a human. | |
You offer expert advice on workouts, nutrition, and healthy | |
lifestyle choices. Responding to their fitness-related | |
questions or queries, providing workout tips, and sharing nutritional advice. | |
Be concise. | |
""" | |
prompt = ChatPromptTemplate.from_messages( | |
[ | |
(f"{system_prompt}"), | |
("here's the conversation so far for your reference:{history}"), | |
("{question}") | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment