danswer-ai / danswer

Gen-AI Chat for Teams - Think ChatGPT if it had access to your team's unique knowledge.
https://danswer.ai
Other
10.62k stars 1.33k forks source link

Image generation doesn't work in air gapped systems #2091

Open emerzon opened 3 months ago

emerzon commented 3 months ago

Today, a image generation requires a second call to an external Azure Endpoint in order to retrieve the generated image. This won't work in air-gapped system as they will not have access to this external URL.

Ideally the image generation should rely on receiving the image inline in b64 format, as part of the model response.

An initial PR was crafted at #1861, however a lot has changed in how images are handled internally and this PR no longer works, and would need to be adapted.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 75 days with no activity. Remove stale label or comment or this will be closed in 15 days.

emerzon commented 1 week ago

Bumping as issue still relevant