Optima Nexus
A sales assistant that retrieves company information to help with quotes
This is a high-level account of closed-source work. Source code, customer data, internal screens, and operational details are private.
My contribution
I’m the primary developer on this service, responsible for its API, retrieval layer, model integration, and sales workflows.
The challenge
Sales teams needed answers based on company information and limited to quoting and sales tasks. An open-ended chatbot was a poor fit.
The approach
The service retrieves company information to ground responses, then limits the assistant to defined sales and quote workflows. The model provider is configurable.
What happens when a request fails
Each request makes one provider attempt. This service does not retry with another model automatically.
Multi-provider failover and the roughly 95% cost reduction belong to the wider SmartChat platform, not Optima Nexus. I have no measured impact to report for this service.
How the system fits together
Workflow API
The service for sales and quote workflows
- Go/Gin HTTP service
- Bounded workflow operations
Retrieval layer
Searches company context to ground responses
- pgvector similarity search
- Context assembled from retrieved records
Model access
A configurable client for an OpenAI-compatible provider
- Single-shot provider attempts
- No automatic fallback or model switching in this service
Sales workflow
Keeps the assistant focused on sales and quote tasks
- Defined sales and quote steps
- Retrieved context used within those steps
A simplified view, not a deployment diagram