Hello there, was wondering if we could pass images in prompt template
currently what i am doing is prompt = prompt_template.format( system_prompt=agent.system_prompt, history=message_history, context=context_str, question=query, agent_id=str(agent.id), )
but I want to add image reasoning also. was wondering how we do it. If anyone have idea, please help I am able to get response like doing this sample_message = ChatMessage( role=MessageRole.USER, blocks=[ TextBlock(text=text), ImageBlock(url=image_url) ], )
openai_llm = OpenAI(model=settings.OPENAI_MODEL, api_key=settings.OPEN_AI_API) re = openai_llm.chat(messages=[sample_message])
but having difficulty integrating to stream_chat and prompt template