# OrvexTools 7.0
OrvexTools 7.0 expands the module into a broader operational platform by introducing the first AI-assisted business chat inside ORVEX, while continuing the consolidation of HRM, attendance, workspace, and absorbed operational flows under a single unified tool.
This release strengthens the role of OrvexTools as an integration layer for official ORVEX modules and business utilities, combining practical daily-use tools with centralized configuration, safer internal compatibility, and the first generation of AI-guided business interaction.
## Includes
- Continued consolidation of ORVEX operational tools into a single module
- Unified HRM and attendance configuration under OrvexTools
- Workspace / Essentials operational absorption maintained under OrvexTools
- Improved compatibility for legacy installations during transition
- Stronger internal route and navigation alignment under OrvexTools
- Expanded module architecture for future AI, analytics, and business-assistant features
## New in 7.0: ORVEX AI Chat
OrvexTools 7.0 introduces the first version of `ORVEX AI Chat`, a business assistant integrated into the module and designed to help users consult business and catalog information in natural language.
### Initial AI capabilities
- Business chat interface inside OrvexTools
- Independent chat window mode for focused use
- Per-company AI configuration
- Per-company API key support
- Encrypted API key storage
- Role-aware access control for AI usage
- Session-based chat history
- Admin-oriented business insights
- Employee-oriented product assistance
- Natural-language interpretation of selected business data
- Safe data-access layer between AI and database
### Admin use cases
Administrators can ask questions such as:
- How are sales going?
- How did I do this month?
- Who is my best seller?
- What product is selling the most?
- How many products do I currently have?
### Employee use cases
Employees can ask questions such as:
- What is the price of this product?
- How much stock is available?
- What is the SKU?
- Search product by partial name or flexible term
### Security and control model
The AI chat is designed with controlled access rather than unrestricted database access.
- Company isolation enforced by business context
- Role-based permissions for AI actions
- Employee assistant limited to operational catalog questions
- Admin assistant allowed to query broader business summaries
- No unrestricted SQL generation from end-user prompts
- Structured data is prepared by ORVEX before being sent to the AI model
## AI Model Status
Important:
- The AI model integration in 7.0 is still in **test / beta stage**
- The assistant already works as a hybrid system:
- local controlled intent handling
- structured business data extraction
- optional AI-generated natural-language response
- Some answers may still fall back to local structured responses when:
- the API key is missing
- the API key has no quota
- the provider rejects the request
- the question is outside the currently supported scope
- This release should be considered the **first production-facing test stage** of ORVEX AI, not the final version of the assistant
## AI technical notes
- OpenAI integration prepared for company-owned API keys
- SSL handling improved for Windows-based local environments
- Fallback logic added when external AI provider is unavailable
- Business questions now classify more accurately between:
- business insight requests
- sales overview requests
- product lookups
- product counts
- Product search improved with flexible matching and multiple suggestions
- Sales questions such as `How are sales going?` now route to business analytics instead of product search
## HRM and Attendance consolidation maintained
OrvexTools 7.0 keeps and extends the attendance improvements introduced in the previous release line:
- HRM settings remain the main attendance configuration panel
- Legacy employee attendance settings remain deprecated
- Attendance grace periods managed from HRM settings
- Attendance location requirement managed from HRM settings
- Attendance authentication methods unified in OrvexTools
- Employee credential management remains centralized
- Fingerprint / phone-biometric linking per employee maintained
- Protected QR attendance flow maintained
- Authenticator App flow maintained
## Branding and module alignment
- OrvexTools remains the visible owner of absorbed ORVEX operational flows
- User-facing references to legacy module naming continue to be reduced
- Compatibility bridges remain where needed for existing installations
- Module distribution and internal structure continue aligned under ORVEX branding
## Fixes
- Fixed route and navigation inconsistencies during module consolidation
- Fixed HRM / Workspace integration issues inherited from absorbed flows
- Fixed several 500 errors related to module absorption and route namespace resolution
- Fixed attendance settings duplication between old employee settings and HRM settings
- Fixed AI popup rendering behavior in independent window mode
- Fixed AI chat routing so business questions do not fall into product lookup by mistake
- Fixed product lookup extraction and flexible match behavior
- Fixed product count queries in environments without `deleted_at` on products
- Fixed OpenAI client SSL issues in Windows environments
- Fixed installer transaction issue that caused `There is no active transaction` during module installation/update
## Compatibility notes
- Backward compatibility is preserved for legacy installations where possible
- Some internal compatibility aliases remain intentionally active to avoid breaking older environments
- AI features depend on valid provider credentials and available provider quota
- The AI assistant is currently limited to a controlled and evolving set of supported questions
## 7.0 summary
OrvexTools 7.0 turns the module into more than a utility pack: it becomes a centralized operational layer for ORVEX, now including the first test-stage AI assistant for business and catalog interaction, while keeping HRM, attendance, workspace, and absorbed official flows under one unified experience.
## Additional note
When configured with a valid ChatGPT / OpenAI API key and available API quota, the AI assistant works correctly and can generate more natural, reasoned responses based on controlled business data.
The local AI layer remains under active development and currently works as a controlled fallback / hybrid assistant while the broader reasoning model continues evolving.