Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Sales Agent prompts do not use stage-related inputs like conversation_stage #166

Open
anthony2261 opened this issue Aug 27, 2024 · 1 comment

Comments

@anthony2261
Copy link

Dug into the implementation of the SalesGPT class in salesgpt/agents.py, and I found that some of the prepared inputs in the call/acall methods are not entirely used when invoking models. Example inputs:

inputs = {
            "input": "",
            "conversation_stage": self.current_conversation_stage,
            "conversation_history": "\n".join(self.conversation_history),
            "salesperson_name": self.salesperson_name,
            "salesperson_role": self.salesperson_role,
            "company_name": self.company_name,
            "company_business": self.company_business,
            "company_values": self.company_values,
            "conversation_purpose": self.conversation_purpose,
            "conversation_type": self.conversation_type,
        }

conversation_stage is not used in either the SALES_AGENT_TOOLS_PROMPT nor the SALES_AGENT_INCEPTION_PROMPT inside salesgpt/prompts.py

@littttttlebird
Copy link

Yes, i find the bug too, so i added a conversation_stage slot into the SALES_AGENT_INCEPTION_PROMPT。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants