- Issue created by @narendraR
- First commit to issue fork.
- 🇮🇳India utkarsh_33
I think we should wait for 🐛 AI should use only necessary history/comments for each task Active to go in first, so postponing it on that.
- 🇮🇳India utkarsh_33
🐛 AI should use only necessary history/comments for each task Active is fixed now and this is actionable.
- 🇮🇳India utkarsh_33
Tested this manually and now the image upload feature works much better. This is ready for review.
- 🇮🇳India narendraR Jaipur, India
Prompt: What is Drupal?
Observation: Got “No prompt provided” response. This is wrong.Refresh page.
Step: Uploaded Image without prompt.
Observation: After explaining Image, LLM should not ask irrelevant questions. Question should be something like (Would you like to create a component related to the uploaded image?) - 🇮🇱Israel heyyo Jerusalem
I don't think we should assume, uploading an image, means creates a code component.
This image could be used as an example of creating a page, or even used in an existing component.
What about to force prompt text, if there is an uploaded image ? - 🇮🇳India narendraR Jaipur, India
Hi @heyyo, 📌 [PP-1] Image upload feature in AI Chatbot Active implemented the image upload feature for creating code components from uploaded images—currently, this is the only supported use case.
This image could be used as an example of creating a page, or even used in an existing component.
That’s an excellent feature request! We can track this as a new issue.
- 🇮🇳India utkarsh_33
Re #7 :
The
No prompt
issue is fixed also the LLM asks relevant questions not just related to the users.
I totally agree with
I don't think we should assume, uploading an image, means creates a code component.
therefore it asks the user questions related to what task it should perform based on it's current capabilities. As the capabilities grow then it might present those additional options as well to the user.
Marking it NR
- 🇮🇳India narendraR Jaipur, India
The problem with LLM suggesting “Would you like to create, add, or generate a component, page, title, or metadata related to this image?” Is that non of the prompts like “Generate page” or “Generate title” gives results as expected by user.
Even if I give “generate a component” prompt it does not create the component. Instead it again askI'll help you create a component for Drupal Experience Builder. To get started, I need a bit more information about what type of component you'd like to generate. Here are some details that would be helpful: 1. What should the component do or display? (e.g., image gallery, card, button, testimonial, etc.) 2. What content or functionality should it include? 3. Any specific styling preferences? Once you provide some details about the component you need, I can create it for you with the appropriate structure, styling using Tailwind CSS, and the necessary props.
Which is not related to uploaded image in any way. It means that it is not considering the history of uploaded image.
- 🇮🇳India narendraR Jaipur, India
Tested manually and it is working fine.
One issue I found is that if you upload an image second time, the prompt field is no longer required. - 🇮🇳India narendraR Jaipur, India
There still appears to be an issue related to required prompt, if the first image upload fails. - 🇮🇳India utkarsh_33
Now even after an error you cannot submit the image without a prompt.
- 🇮🇳India narendraR Jaipur, India
Tested again and it is working as expected.
One unrelated observation: if the first response is small and no scrollbar appears, the chatbox design is distorted. A follow-up issue should be created to address this. See #15 🐛 XB AI: History issue in image upload Active - 🇮🇳India utkarsh_33
Created a follow-up for #17 XB AI: Deepchat's design is distorted if the first response is small. 📌 XB AI: Deepchat's design is distorted if the first response is small. Active .
- 🇺🇸United States tim.plunkett Philadelphia
tim.plunkett → made their first commit to this issue’s fork.
-
tim.plunkett →
committed 154adc78 on 1.x authored by
utkarsh_33 →
Issue #3538354 by utkarsh_33: XB AI: History issue in image upload
-
tim.plunkett →
committed 154adc78 on 1.x authored by
utkarsh_33 →
-
tim.plunkett →
committed 40a9dad5 on 0.x authored by
utkarsh_33 →
Issue #3538354 by utkarsh_33: XB AI: History issue in image upload
-
tim.plunkett →
committed 40a9dad5 on 0.x authored by
utkarsh_33 →
Automatically closed - issue fixed for 2 weeks with no activity.