A multilingual AI-powered farming assistant that helps answer agriculture-related questions in any language using advanced AI tools and search capabilities.
- 🌍 Multilingual Support: Ask questions in any language and get responses in your native language
- 🔍 Intelligent Search: Uses Wikipedia, ArXiv, and DuckDuckGo for comprehensive farming information
- 🤖 AI-Powered: Leverages advanced language models for accurate responses
- 💬 Interactive Chat: Streamlit-based user-friendly interface
- 🧠 Memory: Maintains conversation context for better interactions
- Streamlit - Web interface
- LangChain - AI agent framework
- OpenAI/Groq - Language model integration
- Wikipedia/ArXiv/DuckDuckGo - Information sources
- Google Translator - Multilingual support
- Python 3.11+
- GROQ API key
-
Clone the repository:
git clone https://github.com/Rafi-uzzaman/RootSourceBot.git cd RootSourceBot -
Create a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables: Create a
.envfile in the root directory:GROQ_API_KEY=your_groq_api_key_here -
Run the application:
streamlit run app.py
- Push your code to GitHub
- Go to share.streamlit.io
- Connect your GitHub repository
- Add your
GROQ_API_KEYin the secrets section - Deploy!
- Railway: Connect GitHub repo and deploy
- Render: Deploy from GitHub with automatic builds
- Heroku: Use the provided Procfile for deployment
| Variable | Description | Required |
|---|---|---|
GROQ_API_KEY |
Your Groq API key for AI model access | Yes |
- Open the application in your browser
- Type your farming-related question in any language
- The AI will detect your language and provide a response
- Continue the conversation for follow-up questions
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is open source and available under the MIT License.
For support, please open an issue on GitHub or contact the maintainers. RootSource AI, Ask your farming-related questions in any language, and get accurate answers!