Upload folder using huggingface_hub
Browse files72 unmodified lines7374757677787980818272 unmodified linescategories_str = ", ".join(categories)system_prompt = f"""You are a routing assistant for the Policy Navigator.Your job is to classify the user's query into one of the following exact policy categories:{categories_str}If the query does not clearly fall into any of these categories, respond with "Unknown".Respond ONLY with the exact category name or "Unknown"."""msg = llm.invoke([72 unmodified lines737475767778798081828372 unmodified linescategories_str = ", ".join(categories)system_prompt = f"""You are a routing assistant for the Policy Navigator.Your job is to classify the user's query (which may be a full question, a partial phrase, or a single keyword) into one of the following exact policy categories:{categories_str}Use your reasoning to map keywords or partial phrases to the most relevant category. For example, if the user types "computer", map it to "IT Infrastructure". If they type "pto", map it to "HR & Remote Work".If the query cannot be logically mapped to any of these categories, respond with "Unknown".Respond ONLY with the exact category name or "Unknown"."""msg = llm.invoke([
app.py+3-2