How SatyaKhoj Works
SatyaKhoj uses a powerful combination of AI and human expertise to provide insightful, culturally-aware answers. Here’s a look at our two main workflows.
Flow 1: Getting an Instant AI Answer
1. You Ask a Question
You type a superstition or claim into the search bar on the homepage.
2. AI Gets to Work
The query is sent to a Genkit AI flow, which uses Google's Gemini model. The API key is used here to securely connect to the Google AI service.
3. Structured Analysis
Guided by a detailed prompt, the AI generates a structured JSON response with verdict, scientific reasons, cultural context, and more.
4. Insightful Answer
The app formats this structured data into the easy-to-read answer you see on the results page.
Flow 2: Submitting a Claim for Review
1. You Submit a New Claim
You use the "Submit a Claim" dialog to add a new belief that isn't in our system yet.
2. Saved to the Database
The claim is saved to our Firestore database. An AI model briefly analyzes it to add categories and flag potential risks.
3. Expert Review
The new claim appears in the Admin Dashboard for you and other human experts to review, verify, and edit.
How Can You Make It Better?
You've already done the most important part: providing great ideas! Continuing to refine the AI's prompts, adding more expert-reviewed claims to the database, and sharing your feedback are the best ways to improve the platform. The combination of your expert knowledge and the AI's power is what makes SatyaKhoj special.