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

[Issue]: docs improvement for conversation Pattern #2745

Open
amzker opened this issue May 21, 2024 · 2 comments
Open

[Issue]: docs improvement for conversation Pattern #2745

amzker opened this issue May 21, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@amzker
Copy link

amzker commented May 21, 2024

Describe the issue

image

guys, please specify like summary_args={"summar_prompt": "Your prompt here"}

because line in image shows like we need to do
initiate_chat(
summay_prompt =
)

i needed to look into source code

    @staticmethod
    def _reflection_with_llm_as_summary(sender, recipient, summary_args):
        prompt = summary_args.get("summary_prompt")
        prompt = ConversableAgent.DEFAULT_SUMMARY_PROMPT if prompt is None else prompt
        if not isinstance(prompt, str):
            raise ValueError("The summary_prompt must be a string.")

Steps to reproduce

No response

Screenshots and logs

No response

Additional Information

No response

@ekzhu
Copy link
Collaborator

ekzhu commented May 21, 2024

You are welcome to submit a PR to fix it.

@ekzhu ekzhu added the documentation Improvements or additions to documentation label May 21, 2024
@amzker
Copy link
Author

amzker commented May 22, 2024

sure

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

No branches or pull requests

2 participants