Skip to content

Commit

Permalink
Added a bit more detail to prompt for image summarization. TODO Needs…
Browse files Browse the repository at this point in the history
… to be migrated to jinja
  • Loading branch information
dividor committed Jul 16, 2024
1 parent 288cc6b commit b93ff13
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flows/chainlit-ui-evaluation/call_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
TMP_IMAGE = "temp.png"
CHAT_URL = os.getenv("CHAT_URL")

IMAGE_SUMMARIZATION_PROMPT = "Summarize the image"
IMAGE_SUMMARIZATION_PROMPT = (
"Summarize the image. Where possible list maximum or mimum values and any trends."
)


def set_chrome_options() -> Options:
Expand Down Expand Up @@ -319,7 +321,7 @@ def call_assistant(query, chat_history):
# user_input = chat_history[4]
# print(user_input)

# user_input="Is your data updated in real time?"
# user_input="How many rows does the population table have for Nigeria"
# call_assistant(user_input, "[]")
# sys.exit()

Expand Down

0 comments on commit b93ff13

Please sign in to comment.