https://github.com/run-llama/llama_index/issues/14273#issuecomment-2181149146hey i have the following question
- what is the difference between OpenAI agent and ReAct agent & which to use
- using PromptTemplates provided more controlled and consistent output compared to system prompts
- in case of agent
AzureOpenAI
is very slow as compared OpenAI
, there is about 10x delay in response generation. I have tried with both ReActAgent
& OpenAIAgent
llm = AzureOpenAI(
model=os.getenv("AOAI_COMPLETION_MODEL"),
deployment_name=os.getenv("AOAI_DEPLOYMENT_NAME_COMPLETION"),
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
azure_endpoint=os.getenv("AOAI_ENDPOINT"),
api_version=os.getenv("AOAI_API_VERSION"),
)
- lastly how to use prompt template with chat engine