How-To: Visualize Collection#
db-ally provides simple way to visualize your collection with Gradio. The app allows you to debug your views and query data using different LLMs.
Installation#
Install dbally
with gradio
extra.
Run the app#
Pick the collection created using create_collection
and lunch the gradio interface.
from dbally.gradio import create_gradio_interface
gradio_interface = create_gradio_interface(collection)
gradio_interface.launch()
Note
By default, the app will use LLM API key defined in environment variable depending on the LLM provider used. You can override the key in the app.
Full Example#
Access the full example on GitHub.