Spaces:
Sleeping
Sleeping
Update app.py
Browse files1822 unmodified lines18231824182518261827182818291822 unmodified lines# Specialized responses if keywords detectedtry:output = agent_executor.invoke({"input": f"{prompt} Be in natural tone, doesn’t use flowery language and typical AI words. Use knowledge when user use 'our','VW'or 'Volkswagen' pull only information from knowledgebase exact if not found use google then. Avoid AI jargon. Give short headings in conversational language with each paragraph in content of articles, blogs, write-ups, and newsletters, keeping the mentioned format only when asked.","chat_history": st.session_state.chat_history})full_response = output["output"]1822 unmodified lines18231824182518261827182818291822 unmodified lines# Specialized responses if keywords detectedtry:output = agent_executor.invoke({"input": f"{prompt} Be in natural tone, doesn’t use flowery language and typical AI words. Use knowledge when user say words like 'our','VW'or 'Volkswagen' pull information with percentage exact present in knowledgebase , if not found use google then. Avoid AI jargon. Give short headings in conversational language with each paragraph in content of articles, blogs, write-ups, and newsletters, keeping the mentioned format only when asked.","chat_history": st.session_state.chat_history})full_response = output["output"]
app.py+1-1