contextqasv-tool / README.md
zaldivards's picture
docs: add a little guide on the readme
f713e02

A newer version of the Gradio SDK is available: 5.27.1

Upgrade
metadata
title: ContextqaSV Tool
emoji: 📊
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 4.42.0
app_file: app.py
pinned: false

Imagen

ContextqaSV

HuggingChat tool for querying law documents from El Salvador. This is a forked and customized version of the RAG community template

Updated or added features

  • Better model for texts in Spanish (This tool's target is spanish-speaking people, and the data sources are in Spanish as well)
  • Chunk normalization
  • Enhanced text splitting logic based on a specific chunk size and the split character (.).
  • Cosine similarity instead of dot product for finding text similarities.
  • Cached embeddings (local development).
  • Typed functions.
  • Simplified existing functions.

How to use?

On the HuggingChat site, follow the next steps:

Click the Browse more tools button:

Brose more tools ss

Start typing in the search box and click on the ContextqaSV tool:

search and select it ss

Click on the Activate button:

activate ss

You're all set! You can now start asking questions about El Salvador's constitution and its traffic regulations:

start ss

Note that you can use the tool's URL to be redirected to HuggingChat and directly show the tool card to activate it (3rd step)

Contact

For inquiries, contributions, or feedback, please contact me. Visit my github account and check out my other projects :)