Azure-Samples / graphrag-accelerator

One-click deploy of a Knowledge Graph powered RAG (GraphRAG) in Azure
https://github.com/microsoft/graphrag
MIT License
1.6k stars 236 forks source link

Sanitize user-defined names that are passed into the API endpoints #2

Closed jgbradley1 closed 2 months ago

jgbradley1 commented 2 months ago

This PR sanitizes user-defined names that were previously used to name containers in blob storage and cosmos db. Sanitized names are now computed as a truncated SHA-256 hash of the user-defined input.