Documentation Index
Fetch the complete documentation index at: https://thenile.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.

Key Features
- Feedback Management:
- Employees can give feedback to any other employee.
- Feedback can be given anonymously if desired.
- Employees can view all feedback given to them.
- Self-feedback is allowed.
- AI Features:
- AI can summarize feedback and provide insights into feedback patterns for specific employees.
- AI can help draft feedback based on context or previous feedback.
- AI can analyze feedback trends to suggest improvements or recognize strengths.
- Recognition:
- Employees can give kudos and badges to each other.
- System tracks and manages all kudos and badges given.
- Notifications:
- Notifications for employees to provide pending feedback.
- Alerts for HR and employees regarding feedback deadlines.
- HR Management:
- HR can view and manage all feedback across the organization.
- HR can use AI to summarize and analyze overall feedback trends.
Postgres Schemas
1. departments
Thedepartments table contains information about the different departments within an organization. Each department is uniquely identified by a department_id and is associated with a tenant_id to ensure it belongs to the correct organization. This table includes the department name.
2. employees
Theemployees table tracks employee information within an organization. Each employee is identified by a unique employee_id and is associated with a department (department_id). This table includes details such as job title and compensation. The table is linked to the tenant_id to ensure that employee records are specific to each organization.
3. feedback
Thefeedback table records feedback given by employees to other employees. It includes the giver_id (the employee giving the feedback) and receiver_id (the employee receiving the feedback), along with the feedback text. This table also tracks whether the feedback is anonymous and includes a vector_embedding for AI-based analysis. Each feedback entry is tied to a specific tenant_id. The embeddings can be used to help summarize and draft feedbacks.
4. self_feedback
Theself_feedback table allows employees to provide feedback about themselves. Each record includes a unique self_feedback_id, the employee_id who provided the feedback, and the text of the feedback. This table includes a vector_embedding for AI analysis and is associated with a specific tenant_id. The embeddings can be used to help summarize and draft feedbacks.
5. kudos
Thekudos table tracks kudos given by employees to their peers. It includes a unique kudos_id, the giver_id (employee giving kudos), the receiver_id (employee receiving kudos), and the text of the kudos. A vector_embedding is included for AI analysis. The embeddings are used to help search past kudos by HR and understand correlation between feedback and kudos. Each entry is linked to a tenant_id.
6. badges
Thebadges table records badges awarded to employees. Each badge has a unique badge_id, is linked to an employee_id, and includes the badge’s name and the date it was issued. This table helps track employee achievements and is specific to each tenant_id.
7. notifications
Thenotifications table manages notifications sent to employees. Each notification includes a unique notification_id, the employee_id it is intended for, the text of the notification, and a timestamp for when it was created. The table also tracks whether the notification has been read. This table is linked to a specific tenant_id.