Dev UI
If you use the Dev mode, the quarkus-langchain4j project provides several pages
in the Dev UI to facilitate development:
-
AI Services page: provides a table of all AI Services detected in the application along with a list of tools that they are declared to use.
-
Tools page: provides a list of tools detected in the application.
-
Chat page: allows you to manually hold a conversation with a chat model. This page is only available if the application contains a chat model. You can attach an image to a message, for models with vision capabilities. The image is sent over the Dev UI WebSocket, in a single frame, so the page downscales it to a JPEG of at most 48 KB (base64) to stay within the default
quarkus.http.websocket-server.max-frame-sizeof 64 KB. -
Images page: allows you to test the outputs of image models and tune its parameters. This page is provided specifically by the
openai-vanillaextension and is currently specific to OpenAI’s image models. It appears if the application uses theopenai-vanillaextension and doesn’t have image models explicitly disabled. -
Moderation page: allows you to test the outputs of moderation models - you submit a prompt and receive a list of scores for each appropriateness category (violence, sexual, hate,…). This page is currently only available with the
openai-vanillaextension, and it appears if the application doesn’t explicitly disable moderation models.