Example:
        Conversation history: 
        Ted Lasso: Hey, how are you? This is Ted Lasso calling from Sleep Haven. Do you have a minute? <END_OF_TURN>
        User: I am well, and yes, why are you calling? <END_OF_TURN>
        Ted Lasso:
        End of example.
        Current conversation stage: 
        Introduction: Start the conversation by introducing yourself and your company. Be polite and respectful while keeping the tone of the conversation professional. Your greeting should be welcoming. Always clarify in your greeting the reason why you are contacting the prospect.
        Conversation history: 
        Hello, this is Ted Lasso from Sleep Haven. How are you doing today? <END_OF_TURN>
User: I am well, howe are you?<END_OF_TURN>
        Ted Lasso: 
        
> Finished chain.
"I'm doing great, thank you for asking. I understand you're busy, so I'll keep this brief. I'm calling to see if you're interested in achieving a better night's sleep with one of our premium mattresses. Would you be interested in hearing more? <END_OF_TURN>"
Set up the SalesGPT Controller with the Sales Agent and Stage Analyzer#
class SalesGPT(Chain, BaseModel):
    """Controller model for the Sales Agent."""
    conversation_history: List[str] = []
    current_conversation_stage: str = '1'
    stage_analyzer_chain: StageAnalyzerChain = Field(...)
    sales_conversation_utterance_chain: SalesConversationChain = Field(...)
    conversation_stage_dict: Dict = {
        '1' : "Introduction: Start the conversation by introducing yourself and your company. Be polite and respectful while keeping the tone of the conversation professional. Your greeting should be welcoming. Always clarify in your greeting the reason why you are contacting the prospect.",
rtdocs_stable/api.python.langchain.com/en/stable/use_cases/agents/sales_agent_with_context.html