The vision of the AI assistant is to empower farmers with the timely knowledge and insights they need to thrive in an ever-changing agricultural landscape. Providing personalised and vernacular assistance through the AI-powered assistant aims to help farmers make informed decisions, increase their crop yields, and ultimately contribute to the increase in farmer income.
- Ama Krushi (advisory dep of Odisha) maintains a vetted advisory database on key agriculture and allied sector activities relevant to Odisha
- Information in the curated Database is encoded using BERT to compute the similarity of information to any query
- Each query passes through an algorithm that scans the DB for relevant information using the similarity score
- A threshold for the similarity score is defined which determines if the DB has information relevant to the prompt
- If the similarity index < threshold, then GPT3 directly responds to the query (based on its global learning)
- If the similarity index > threshold, then GPT3 fine-tunes its response based on the information learnt from the DB
- Bhashini is being used to translate queries and responses from Odia to English and vice versa
- Farmers can ask questions in multiple Indian languages (Odia, Hindi, Punjabi, English)
- Bhashini will detect the language and will provide the response in the input language used
- The user interface will allow users to toggle between the most commonly used languages (English & Odia)
This repo uses Yarn as a package manager. It includes the following packages/apps:
docs
: a Next.js appweb
: another Next.js appui
: a stub React component library shared by bothweb
anddocs
applicationseslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This repo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To build all apps and packages, run the following command:
cd my-turborepo
yarn run build
To develop all apps and packages, run the following command:
cd my-turborepo
yarn run dev
Learn more about the power of Turborepo: