pharmaand-backend / rag_engine.py

Commit History

5-step quality improvement: SentenceTransformer embeddings, better system prompt, rich sources, TOP_K=4, deduplication
e73551c

Rohit0994 commited on

Replace Gemini with NVIDIA Mistral API
b91701b

Rohit0994 commited on

Use gemini-2.0-flash-lite (same as PharmAvenir - proven working model)
403a45f

Rohit0994 commited on

Switch back to google-generativeai (gemini-pro) with new API key
8be871d

Rohit0994 commited on

Switch LLM from Gemini to Groq (openai/gpt-oss-120b)
8a96d53

Rohit0994 commited on

Fix: read GEMINI_API_KEY from environment (HF Spaces secret)
ad7d9ac

Rohit0994 commited on

Initial commit: Pharmaand RAG backend
5383765

Rohit0994 commited on