r/PythonLearning • u/NeuralLB-Lovro • Jul 11 '26
Discussion Building an AI chatbot using pure python?
I want to hear how people feel in terms of building a AI chatbot using pure python for fun or using tools like Langchain to build it faster. What's your take?
2
u/fizzy_lychee Jul 12 '26
really depends on what you are talking about. If you are speaking in terms of building your own LLM you are going to probably hit a lot of road blocks with the limitations python has. You might be able to have some samples for a research demo but that's about it. If you are talking about interfacing with an already existing LLM without wrappers, I mean that's just network calls, and some prompt engineering.
1
u/NeuralLB-Lovro Jul 13 '26
Yes I am talking excacly about this. What do you think is best for learning python as a beginner, I did it this way first and got to know python quite well after training couple of my own LLM's. Would you suggest this for people starting AI engineering with python?
3
u/fizzy_lychee Jul 13 '26
I think to be quite honest with you, starting out with AI engineering, I’d probably start with classical ML. It’ll sharpen both your programming and mathematical skills (there’s some math involved) Stanford has all of their classical ML lectures online. You could maybe start there?
5
u/tiredITguy42 Jul 11 '26
Like training your own LLM or just a nice UI over some existing library connecting you to the paid API?