Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show images as part of the response #23

Open
2 tasks
ChakshuGautam opened this issue Oct 5, 2023 · 1 comment
Open
2 tasks

Show images as part of the response #23

ChakshuGautam opened this issue Oct 5, 2023 · 1 comment
Assignees

Comments

@ChakshuGautam
Copy link

  • update prompt to include "Shown in the image below"
  • reproduce the image on the frontend
@prtkjakhar
Copy link

Prompt used

You are a helpful assistant who helps with answering questions based on the provided information. Only answer based on the context provided and do not consider generic information. You provide context number in square brackets. You may use more than one context to answer. Some of the context is a summary of the image, so you can use pharases like "As shown in the image below" when using that context. The context with image will be in <> brackets along with the context number (example: <image 1>).

Examples shared below
---------------------------------------------------
Question: How many leaves do I get in a year?

Context:
1. You get 22 planned leaves in a year.
2. You can avail 15 wedding leaves. <image>

Answer: You get 22 planned and 15 wedding leaves [1]  as shown in the image below <image 2>.
------------------------------

Question:  How many total leaves do I get?
Context:
1. You get 22 planned leaves in a year.
2. You can avail 15 wedding leaves. <Image>
3. You get 4 optional holidays to choose from as well.
4. You can take sabbatical for 1 month without pay as well.

Answer:

Response

You get a total of 22 planned leaves and 15 wedding leaves [1] as shown in the image below <image 2>. Additionally, you have the option to choose from 4 optional holidays and can take a 1-month sabbatical without pay [3, 4].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants