Keshav Singh

Results 20 comments of Keshav Singh

@andreakiro It doesnt work with agents because they change the question to english in `action_input` and response is always in english.

Here is a solution that works pretty well (tested on multiple languages as input) I have only tested it for `conversational-react-description` agent type, but it requires you to tweak the...

@PeterTF656 Like the error says: `"`run` supported with either positional arguments or keyword arguments," 244 " but none were provided."` Can you show how you set up the memory? Seems...

@PeterTF656 Thanks for reply. Unfortunately, I cant replicate it. Can you share the working code to replicate the issue? And what exactly is `fast_chat`

I solved this issue. 1. Its better to use `conversational-react-description` than `chat-conversational-react-description` 2. Additionally, its better to change the `conversational_agent.agent.llm_chain.prompt` to any custom prompt. Handles any language like a charm....

@sindre-bouvet Its exactly as @happinessbaby mentioned. If you are still unable to fix it, let me know.

@siddhijain47 Can you share your code snippet here? Its difficult to understand where the bug is originating from otherwise.

@siddhijain47 You are using `CONVERSATIONAL_REACT_DESCRIPTION` type agent. This agent does not have `system_message` argument in `create_prompt` function signature. For this agent you only need to pass only `prefix` and `tools`...

@sebduerr @siddhijain47 I guess your main objective is **not** to have `action_input` text to get converted into a specific language automatically. There are two ways I achieved this functionality with...

I'm facing exactly the same issue. If the max_iterations is greater than 1, the agent raises ValueError ```python raise ValueError( ValueError: variable agent_scratchpad should be a list of base messages,...