Project

General

Profile

Feature #3706

Add image file support to create styled questions, store in DS and show in FE

Added by Ram Kordale 4 months ago. Updated 2 months ago.

Status:
Closed
Priority:
High
Assignee:
Start date:
08/08/2024
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

Here are some details for an end to end demo.

Sample question:

#$Exercise: 3.5.1.a
#$Question: Here is a factor tree for 60. Write the missing numbers.
#$Figure: [https://storage.googleapis.com/edutestdev_images/ncert_3_mathematics_3.5.1.a_1.jpg]
#$Answer: 3, 2

- Ensure figures are added to the attachments part of the OpenAI call.
- If response contains “![<some text>]”, ignore the text from ! to ]
- Additional field in the styled_questions kind can be called Figures.
- Use the figure sent in the standard style question to the styled question as well while presenting in the FE.

Also available in: Atom PDF