File size: 1,010 Bytes
e712779
f66e4f3
e712779
 
 
 
 
 
 
 
f66e4f3
e712779
f66e4f3
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: ContextqaSV Tool
emoji: 📊
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 4.42.0
app_file: app.py
pinned: false
---
# ContextqaSV tool

HuggingChat tool for querying law documents from El Salvador. This is a forked and customized version of the [RAG community template](https://huggingface.co/spaces/nsarrazin/rag-tool-template/tree/main)

## 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.

### Contact
For inquiries, contributions, or feedback, please contact [me](mailto:[email protected]). Visit my [github account](https://github.com/zaldivards) and check out my other projects :)