📝 Policy Content Manager

Manage your company policy content without touching any code

â„šī¸ How It Works

This chatbot reads company policies from a simple text file. To update the policies, you just need to replace the content file - no coding required!

The policy file is located at: data/company_policies.txt

Current Policy File Information

File Location: data/company_policies.txt
File Size: Loading...
Total Lines: Loading...
Status: Loading...

How to Update Policy Content

📋 Step-by-Step Instructions

  1. Navigate to the data folder in your project directory
  2. Open the file company_policies.txt in any text editor (Notepad, VS Code, etc.)
  3. Edit the content as needed - add, remove, or modify policies
  4. Save the file
  5. Click the "Reload Policies" button below to apply changes
  6. Test the chatbot to ensure it's responding with updated information

Alternative: Replace Entire File

If you have a completely new policy document, you can replace the entire file:

🔄 File Replacement Method

  1. Prepare your new policy document as a plain text file (.txt)
  2. Navigate to the data folder
  3. Delete or rename the existing company_policies.txt
  4. Copy your new file and rename it to company_policies.txt
  5. Click "Reload Policies" to apply the changes

Server Command (Advanced)

You can also reload policies using this API endpoint:

curl -X POST http://your-server:8000/reload-policies