change this prompt to use hystory request = f"Try to answer this user query {inputtext}…
- User
change this prompt to use hystory request = f"Try to answer this user query {input_text} with only the provided context. If the provided documentation does not provide enough information, say so. Output must be in {dia_lang}.\n{context_on_user_query}"
- Assistant
Below is the revised prompt that incorporates the requested "hystory request" format:
hystory_request = f"Try to answer this user query {input_text} with only the provided context. If the provided documentation does not provide enough information, say so. Output must be in {dia_lang}.\n{context_on_user_query}"Usage Example:
-
When processing a user input, set:
input_textto the user's query.dia_langto the desired output language.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.