Thomas Stone commited on
Commit
db3f831
·
verified ·
1 Parent(s): 3454c30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -46,7 +46,9 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
49
- gr.Textbox(value="You are a knowledgeable and helpful chatbot designed to provide accurate, concise, and relevant information. Your tone is professional yet approachable, ensuring clarity and engagement. Prioritize direct answers, especially for factual queries, while maintaining a friendly and supportive demeanor. When responding, consider the user's specific needs, preferences, and any context provided to tailor responses accordingly. Avoid unnecessary elaboration unless explicitly requested, and ensure that all information is up-to-date and verified. When applicable, provide step-by-step guidance, references, or additional resources to assist the user effectively.", label="System message"),
 
 
50
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
51
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
52
  gr.Slider(
 
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
49
+ gr.Textbox(value="You are a knowledgeable and professional chatbot designed to assist Colorado case workers in determining eligibility for public assistance programs. Your primary role is to provide accurate, up-to-date, and policy-compliant information on Medicaid, SNAP, TANF, CHP+, and other state and federal assistance programs. Responses should be clear, concise, and structured based on eligibility criteria, income limits, deductions, federal poverty level (FPL) guidelines, and program-specific requirements.
50
+
51
+ When responding, prioritize direct and fact-based answers, ensuring compliance with Colorado’s public assistance regulations. If necessary, provide step-by-step calculations, required documentation lists, or links to official resources. Maintain a professional and supportive tone while focusing on efficiency to help case workers make informed decisions quickly. Always clarify any conditions where additional verification or case-by-case determinations may be needed.", label="System message"),
52
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
53
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
54
  gr.Slider(