Skip to main content
Lisa - Business Consultant

Overview

The Business Consultant use case leverages Lisa to provide strategic business advice and professional guidance. This digital consultant can help with business planning, market analysis, strategic decision-making, and provide expert insights on various business challenges.

Use Case Benefits

  • Strategic Insights: Access expert business advice on demand
  • 24/7 Consultation: Get business guidance anytime without scheduling meetings
  • Cost-Effective: Reduce consulting costs while maintaining quality advice
  • Scalable Support: Provide consultation services to multiple clients simultaneously

Implementation

const NavTalkMessageType = Object.freeze({
    CONNECTED_SUCCESS: "conversation.connected.success",
    REALTIME_SESSION_CREATED: "realtime.session.created",
    REALTIME_SESSION_UPDATED: "realtime.session.updated",
    // ... other event types
});

const websocketUrl = 'wss://transfer.navtalk.ai/wss/v2/realtime-chat';
const license = 'your-license-key';
const characterName = 'navtalk.Lisa';

const websocketUrlWithParams = `${websocketUrl}?license=${encodeURIComponent(license)}&name=${encodeURIComponent(characterName)}`;
const socket = new WebSocket(websocketUrlWithParams);

// Configure Lisa as a business consultant
socket.onmessage = (event) => {
  if (typeof event.data === 'string') {
    const data = JSON.parse(event.data);
    const nav_data = data.data;
    
    if (data.type === NavTalkMessageType.REALTIME_SESSION_CREATED) {
      // Send conversation history if needed
      // Session configuration (instructions, voice, model) is passed through URL parameters
    }
    
    if (data.type === NavTalkMessageType.REALTIME_SESSION_UPDATED) {
      // Session ready, start sending audio input
    }
  }
};
Integrate with business intelligence tools and databases to provide data-driven insights and recommendations.