tykiww's picture
Create utils.py
1c6f413 verified
raw
history blame
649 Bytes
def prompt_template():
return """Below is a query about a meeting and a snippet of a meeting transcript. Write a response that appropriately completes the request.
- Utilize transcript for detailed information.
- Stick to transcript and do not incorporate preexisting knowledge to enhance response.
- State reasoning behind your decisions.
### Query:
{}
### Transcript:
{}
### Response:
{}"""
def format_prompt(user_query, context):
prompt = prompt_template().format(user_query, context, "")
return prompt