Spaces:
Sleeping
Sleeping
File size: 319 Bytes
7aec130 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from langchain_core.prompts import PromptTemplate
query_rewritting_template = """
You will be given a query from a user
=================
{user_query}
====================
You must improve the query to optimize the result
"""
query_rewritting_prompt = PromptTemplate.from_template(query_rewritting_template)
|