astronomer / ask-astro

An end-to-end LLM reference implementation providing a Q&A interface for Airflow and Astronomer
https://ask.astronomer.io/
Apache License 2.0
196 stars 47 forks source link

URL on Website UI Not Correctly Formatted #301

Closed davidgxue closed 8 months ago

davidgxue commented 9 months ago

Describe the bug URLs in the response of the chat bot is always formatted like below <https://www.astronomer.io/docs/cloud/stable/develop/cli-quickstart|Astronomer Documentation> This format works for slack but not on the UI as the UI needs markdown formatting.

Expected behavior The URLs should be directly embedded not displayed weirdly due to formatting image

Screenshots The system prompt is explicitly prompting for this image

Additional context

davidgxue commented 8 months ago

Re-opening issue as the issue still persists in prod after 0.3.0 release. The client type is passed in correctly and appears in firestore but the system prompt isn't changed somehow