LangChain and Ollama: Build Your Personal Coding Assistant in 10 Minutes

  Рет қаралды 10,085

AI Software Developer

AI Software Developer

Күн бұрын

Пікірлер: 42
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Here is the source code repo: github.com/aidev9/tuts/tree/main/langchain-ollama
@TimHoffeller
@TimHoffeller Ай бұрын
Hi, pretty cool stuff and very helpful! You mentioned the rag approach. A follow up with this approach would be very cool😊. Thanks a lot for your work!
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Hi @TimHoffeller, yes RAG with LangChain would provide a more scalable solution. Luckily, my next video will be covering that very topic with LangChain, Supabase and a local Ollama. Check back in the next few days and let me know your thoughts. Thank you for the comment.
@AISoftwareDeveloper
@AISoftwareDeveloper 28 күн бұрын
@@TimHoffeller the RAG video is now available. Any feedback is appreciated.
@arunbhati101
@arunbhati101 Ай бұрын
Great explanation and easy to understand example. Thanks for sharing your knowledge.
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Thank you @arunbhati101, I am glad you got something out of it. What videos would you like to see in the future?
@Zenith_pop
@Zenith_pop Ай бұрын
one thing in case of bigger model u need it for more memory in tha case vram is an issue and u need to quantization but then accuracy defects using 8bit or 4 bit also in that case code errors happen , smaller cap are usless due to being applicable in real life projects , but good
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Yes, for bigger models, VRAM and GPU can be highly beneficial. And you're right, bigger models will deliver better results for real life projects. Thank you for the comment.
@AaronBlox-h2t
@AaronBlox-h2t Ай бұрын
Cool video. Source code is great . Also including the relevant urls in the video would be good. Thanks.
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Thanks, here are the links, also available in the video description now. github.com/pillarstudio/standards/blob/master/reactjs-guidelines.md gist.github.com/nlaffey/99fdb37c0ba286f38a0582564061dea8
@adriangpuiu
@adriangpuiu Ай бұрын
what it would be nice, is to have a meta agent that creates dynamic tools and reinserts them into the flow when needed
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Yeah, that would be cool. Based on the user prompt, the meta agent creates its own tools and executes them as needed. Controlling the agent will be a beast
@umarkhan8787
@umarkhan8787 Ай бұрын
Nice man 👍🏻, just wanted to where should i append my tool/function response, like in system or in tools😅
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
You'd want to append the tool response into the messages array. You can then filter that array by instance type, passing ToolMessage as the filter. That will do the trick 👍
@genzprogrammer
@genzprogrammer Ай бұрын
Thanks Bro, 🎉 Correct Time. Was looking for something like this
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Thanks for the comment. What would you like to see next?
@genzprogrammer
@genzprogrammer Ай бұрын
@@AISoftwareDeveloper How can we load a complete codebase from a git repo and Implement a Rag for that codebase?
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
@@genzprogrammer Easy. What would the RAG do - are you thinking a chatbot to talk to the codebase or something more advanced, like artifacts generation?
@genzprogrammer
@genzprogrammer Ай бұрын
@@AISoftwareDeveloper Thinking of build something like a Chat where it takes my query and search the vectordb for which file should i change Nd what should i change
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
@@genzprogrammer that's a great idea. So, it will tell you what files need to be updated based on a feature change you're thinking. Can you give me one or two examples of queries you'd ask?
@AlexK-xb4co
@AlexK-xb4co Ай бұрын
ollama models by default are configured to have 2k context size, fyi
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Thanks, that’s great to know.
@sathishbabu3322
@sathishbabu3322 Ай бұрын
Awesome video. Can you teach me how to convert this coding to .py file so I can run it in my local machine visual studio code app and check with other compatible models
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Thank you for the comment. Yes, you can save a Jupyter notebook and run it as a Python scrip locally. Watch this to learn how: Jupyter Notebooks in VS Code on MacOS kzbin.info/www/bejne/aaHFd5VtjZeCmLc
@sathishbabu3322
@sathishbabu3322 Ай бұрын
@@AISoftwareDeveloper I am using windows machine. Hope that video does covers it as well. And thank you so much for a quick response. Really appreciated
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
The video doesn’t cover windows, but once you have VSCode installed, running Python is the same. I hope that helps. Thank you for your comment.
@Aksafan
@Aksafan Ай бұрын
Hey, this was surprisingly helpful!! Thank you so much! Can I ask for a source code please?
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Here you go: github.com/aidev9/tuts/tree/main/langchain-ollama
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Thanks for the comment. What topic would you like to see next?
@Aksafan
@Aksafan Ай бұрын
@@AISoftwareDeveloper Some tuning would be great, cause the quality of code (that React components) is so bad tbh. I asked several frontend engineers to look at it and it was not the best one. Maybe it's cause of models I used (llama 3.2-3b and 3.1-7b). Also, that would be great to know how to prepare a proper guideline for a model to use, cause links (event to GitHub raw MD file) are not working when there are a bunch of other links on that page.
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Here is the repo: github.com/aidev9/tuts/tree/main/langchain-ollama
@agraciag
@agraciag Ай бұрын
Next step? using voice to give it the prompt :-)
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Nice one, @agraciag
@MubashirullahD
@MubashirullahD Ай бұрын
Build it in 10 minutes, waste days in the future dealing with dependency issues
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Not to worry, mate. We’ll have AI to fix all dependency issues 😉
@codelinx
@codelinx Ай бұрын
Sounds like someone has SDE …. Small developer energy😂😂🫰
@MubashirullahD
@MubashirullahD Ай бұрын
@codelinx XD
@NanoGi-lt5fc
@NanoGi-lt5fc Ай бұрын
I hv one question can i somehow create github co pilot who just giveme suggestions wht i need to do using this ?
@AISoftwareDeveloper
@AISoftwareDeveloper Ай бұрын
Hey, definitely. You can use this and create your own Github Copilot as a VSCode extension. Here's how to get started: code.visualstudio.com/api/get-started/your-first-extension
@NanoGi-lt5fc
@NanoGi-lt5fc Ай бұрын
@@AISoftwareDeveloper thanks sir I will try this will it give me suggestions like an co pilot give can I publish that extension as well
EASIEST Way to Fine-Tune a LLM and Use It With Ollama
5:18
warpdotdev
Рет қаралды 128 М.
Introduction to LangGraph: Build a Chatbot in 10 Minutes (Coding Tutorial)
28:56
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 1,7 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 106 МЛН
This AI Coder Is On Another Level (Pythagora Tutorial)
43:21
Matthew Berman
Рет қаралды 135 М.
Code Generation RAG with LangChain, Supabase & Ollama (AI Developer Tutorial)
21:48
This project got me my first AI Engineer job
18:17
PropTech Founder
Рет қаралды 4,2 М.
Using Ollama and N8N for AI Automation
13:43
Matt Williams
Рет қаралды 35 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 634 М.
10. Introduction to APIs and Back-end Development
1:26:06
Orkhan Huseynli
Рет қаралды 75
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 1,7 МЛН