Tamirci is an intelligent technical support assistant that uses AI to answer only technology and mechanics-related questions. The project leverages MonkeyLearn for question classification and OpenAI's GPT-3.5-turbo for generating detailed technical responses.
- Intelligent Question Classification: Uses MonkeyLearn API to determine if a question is technical
- AI-Powered Responses: Generates detailed, step-by-step technical answers using OpenAI GPT-3.5-turbo
- Multi-language Support: Responds in multiple languages including English, Turkish, and French
- Smart Filtering: Only responds to technical questions, politely declining non-technical queries
- Detailed Guidance: Includes YouTube videos and web articles in responses when applicable
- Comprehensive Support: Covers all programming languages, frameworks, and technical topics
- oai.py: Main application with Tkinter GUI
- mlear.py: MonkeyLearn integration for text classification
- RelatedToTech.csv: Training dataset with 999 tech/non-tech labeled texts
- Python 3.7+
- tkinter
- openai
- monkeylearn
- Install required packages:
pip install openai monkeylearn-
Set up environment variables:
- Replace
OPENAI_API_KEYinoai.pywith your OpenAI API key - Replace
api_keyandmodel_idinmlear.pywith your MonkeyLearn credentials
- Replace
-
Run the application:
python oai.py- Get your API key from OpenAI Platform
- Uses GPT-3.5-turbo model for chat completions
- Temperature: 0.7 for balanced creativity
- Max tokens: 1000 for detailed responses
- Get your API key from MonkeyLearn
- Create or use a pre-trained text classification model
- Model should classify text as 'tech' or 'non-tech'
The project includes RelatedToTech.csv, a dataset containing 999 examples of technical and non-technical texts. This can be used for:
- Training custom MonkeyLearn models
- Testing the classification accuracy
- Understanding the scope of technical questions
- User Input: User submits a question through the interface
- Classification: MonkeyLearn API analyzes if the question is tech-related
- Response Generation:
- If technical: OpenAI generates a detailed, helpful response
- If non-technical: Returns a polite message explaining the limitation
- Conversation History: Maintains context for follow-up questions
For Technical Questions: Tamirci provides detailed, step-by-step instructions with relevant resources, YouTube links, and article references.
For Non-Technical Questions: "I am Tamirci technical assistant, developed to answer only technical questions. If you think I made an error and your question is technical, please try asking it differently."
- Web interface deployment
- Support for more AI models
- Enhanced conversation memory
- Code snippet execution
- Integration with technical documentation APIs
- Real-time collaboration features
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.
For questions or support, please open an issue in the repository.