sohamok

Results 2 comments of sohamok

Getting error: pydantic.error_wrappers.ValidationError: 1 validation error for AIMessage none is not an allowed value (type=type_error.none.not_allowed) Code: def run_agent(question:str, agent_chain: AgentExecutor) -> str: """Function to run the brain agent and deal...

Faced the same error today, fixed it by specifying the default env name in config.json present inside .azure. ![image](https://github.com/Azure-Samples/azure-search-openai-demo/assets/95952432/e3dc9e3a-b887-4b92-8f12-e10372122261) Changed it to my env name ('demo' in my case) Initially...