How osiris-sio/sae-ia-groupe7 works
This is a French-language document search application: users submit a query in Gradio and choose lexical, semantic, or hybrid retrieval. For indexing, the service extracts supported document formats, chunks their text, generates embeddings, and writes aligned records to vector and lexical stores. Search results are formatted for the UI; hybrid mode combines rankings with RRF. The README documents these capabilities, while the source excerpts show the main calls. The LLM client’s documented generation features are represented separately; no sampled source connects them to the search workflow.
Main entry points: core.py Search orchestrator · base.py Ollama HTTP client · embedding.py Embedding client · config.py Application settings
Components 11
User interface
- Gradio search UI
src/recherche_fichiers/ui_gradio.py
Search and indexing
- Search orchestrator
src/recherche_fichiers/service/core.py - Parsing and chunking
src/recherche_fichiers/service/utils.py - Application settings
src/recherche_fichiers/config.py
Ollama clients
- Embedding client
src/recherche_fichiers/ollama_client/embedding.py - LLM features
src/recherche_fichiers/ollama_client/llm.py - Ollama HTTP client
src/recherche_fichiers/ollama_client/base.py
Search storage
- Vector store
src/recherche_fichiers/storage/base.py - Lexical store
src/recherche_fichiers/storage/base.py
Other components
- Search user
- Ollama server
Connections 13
- Search user → Gradio search UI: enters query
src/recherche_fichiers/ui_gradio.py - Gradio search UI → Search orchestrator: submits search
src/recherche_fichiers/ui_gradio.py - Search orchestrator → Parsing and chunking: loads and chunks
src/recherche_fichiers/service/core.py - Search orchestrator → Embedding client: requests embeddings
src/recherche_fichiers/service/core.py - Search orchestrator → Vector store: writes and searches
src/recherche_fichiers/service/core.py - Search orchestrator → Lexical store: writes and searches
src/recherche_fichiers/service/core.py - Search orchestrator → Parsing and chunking: formats results
src/recherche_fichiers/service/core.py - Embedding client → Ollama HTTP client: uses HTTP client
src/recherche_fichiers/ollama_client/embedding.py - LLM features → Ollama HTTP client: uses HTTP client
src/recherche_fichiers/ollama_client/llm.py - Ollama HTTP client → Ollama server: sends API requests
src/recherche_fichiers/ollama_client/base.py - Ollama HTTP client → Application settings: reads settings
src/recherche_fichiers/ollama_client/base.py - Embedding client → Application settings: reads settings
src/recherche_fichiers/ollama_client/embedding.py - LLM features → Application settings: reads settings
src/recherche_fichiers/ollama_client/llm.py