QuivrHQ / quivr

Open-source RAG Framework for building GenAI Second Brains 🧠 Build productivity assistant (RAG) ⚡️🤖 Chat with your docs (PDF, CSV, ...) & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, Groq that you can share with users ! Efficient retrieval augmented generation framework
https://quivr.com
Other
36.16k stars 3.51k forks source link

feat: Normalize file names in sync module #2661

Closed StanGirard closed 3 months ago

StanGirard commented 3 months ago

This commit adds a new utility function remove_special_characters to the normalize.py module in the sync/utils directory. The function removes special characters from file names by normalizing the input string and using regular expressions to remove non-alphanumeric characters.

The function is then used in the list_files.py module in the sync/utils directory to normalize the names of files retrieved from Google Drive and Azure Drive. This ensures that the file names are free of special characters, improving consistency and compatibility with other parts of the system.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quivrapp 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 9:08am
sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud