Тёмный
Fast and Simple Development
Fast and Simple Development
Fast and Simple Development
Подписаться
Fast and Simple Development - presents software development skills and techniques for super productive development focused on API, Microservices, Spring Boot, Java, MongoDB, Docker, React and AWS.

In this Channel I will shares Pro-Tips and Techniques for Java, Spring Boot, Microservices, Docker, AWS, MongoDB, SES, Twilio, Bit.ly and so much more

If you are want to grow your software development skills super first then you've come to the right place.

Overall I'II guide you to become a better software developer. If you are interest in this channel, make sure to Subscribe and click this notification button, So you never miss one of my videos! For sure, It's FREE!!

Stay with us:

Udemy classes: www.udemy.com/user/tomjay2

Website: www.thomasjayconsulting.com/

Twitter: twitter.com/startupdev

Spring Boot: The JSON Log Revolution
5:43
3 месяца назад
Customize your Spring Boot Banner in 5 minutes
4:23
5 месяцев назад
How I Create Educational Videos
10:59
Год назад
Spring Boot Value Annotation
2:36
Год назад
Комментарии
@DREBO-z8c
@DREBO-z8c 19 часов назад
Great video, please post more (especially for spring).
@themax2go
@themax2go 2 дня назад
ps: same for langgraph and autogen? or langgraph maybe same as in langchain?
@themax2go
@themax2go 2 дня назад
what do you think of zed instead of vscode? my input: it's very lightweight, but because it's quite new, not as full-fledged as vscode yet, but it does have "ai coding / copilot" implemented and supporting ollama also 🥳
@sahillakhe1093
@sahillakhe1093 3 дня назад
Briliant! Its that simple only because you explained it simply :). Thank you!
@ShoeBoxHydroponics
@ShoeBoxHydroponics 3 дня назад
Thanks, glad you enjoyed it!
@wcontreras4987
@wcontreras4987 6 дней назад
Excelente explicación. Muy agradecido. Saludes amigo
@fastandsimpledevelopment
@fastandsimpledevelopment 6 дней назад
Thanks, hope it helps you.
@EVandPassions
@EVandPassions 7 дней назад
The best tutorial
@fastandsimpledevelopment
@fastandsimpledevelopment 7 дней назад
Glad you liked it, thanks!
@rajkumaraddu
@rajkumaraddu 8 дней назад
thank you. you made my day.
@fastandsimpledevelopment
@fastandsimpledevelopment 8 дней назад
Glad you enjoyed it
@pavlostepura1086
@pavlostepura1086 11 дней назад
Awesome tutorial!
@fastandsimpledevelopment
@fastandsimpledevelopment 11 дней назад
Thanks, glad you liked it!
@federicocalo4776
@federicocalo4776 12 дней назад
Hello i have a problem, the variable context is not declared
@fastandsimpledevelopment
@fastandsimpledevelopment 12 дней назад
Can you give me more information? I do not see a variable "context" in the code, "context" is returned in the lookup of data from the ChromaDB so if there is no context then I suspect there is no matching results from the search, maybe tell me the line number or share the code with me
@federicocalo4776
@federicocalo4776 12 дней назад
@@fastandsimpledevelopment line 27 of your github repo. "NameError: name 'context' is not defined"
@federicocalo4776
@federicocalo4776 12 дней назад
my mistake. the editor put a f""" automatically
@fastandsimpledevelopment
@fastandsimpledevelopment 12 дней назад
@@federicocalo4776 That is part of the PromptTemplate so not a real variable, it is populated by the Retriever so line #70 should create this value in the retriever for you.
@fastandsimpledevelopment
@fastandsimpledevelopment 12 дней назад
Make sure you have line 27 in 3 double quotes and you are using Python 3.9 or greater
@Adifferentkind7
@Adifferentkind7 22 дня назад
i dont understand how you set up the api key
@Adifferentkind7
@Adifferentkind7 22 дня назад
im new to coding 😅
@DaleIsWigging
@DaleIsWigging 23 дня назад
WINDOWS USERS INSTALL PROBLEM: "uvloop" says it doesn't work on windows remove it from requirements.txt it should install and seems to work anyways (I haven't tested the RAG part, only that the API call works)
@fastandsimpledevelopment
@fastandsimpledevelopment 23 дня назад
Thanks for the input
@santoshdahal4911
@santoshdahal4911 Месяц назад
I tried so hard to get lanchain_community to work but it wouldn't. I installed it and it would show in my env but it wouldn't work. I used 3.8 and 3.10 both and went through multiple doc and even took help of chatgpt for troubleshooting....It wouldn't work though. I am not sure why it wouldn't import langchain_community at all
@wesleymogaka
@wesleymogaka Месяц назад
Very excellent. I am doing chatbot creation for a bank and privacy/ security is of utmost importance. I'll surely use knowledge gained here.
@fastandsimpledevelopment
@fastandsimpledevelopment Месяц назад
Glad you found this useful, feel free to ask me questions, I've already setup banks and insurance companies using these techniques.
@sojib_ahmed_freelancer
@sojib_ahmed_freelancer Месяц назад
Greate Video sir ❤
@ExpertKNowledgeGroup
@ExpertKNowledgeGroup Месяц назад
Really love the XIAO ESP32S3 device, super fast and cheap. Les than the size of a dime!
@Rudyru3
@Rudyru3 Месяц назад
At minute 23:00, I was getting an error with fastembedembeddings This was the fix There was a new version of langchain_community released 3 weeks ago. You need to roll back to the earlier versions. Run these commands and then it will work. pip3 uninstall langchain_community. pip3 install langchain_community==0.2.6. pip3 uninstall fastembed pip3 install fastembed==0.3.2
@marekj3759
@marekj3759 Месяц назад
Bravo :) for my curiosity - is there any option to limit the answers only to provided content? Just to avoid irrelevant questions like "what is the best(...) / who is ()..." etc
@yashshinde8185
@yashshinde8185 Месяц назад
The Video was awesome and prety helpful but can you cover the security point of view too like anyone with the IP and portnumber can access it So how can we avoide that?
@Karstark84
@Karstark84 Месяц назад
I really love this video. I'm curious though the api call you make to elevenlabs, would it be possible to have it reach out to a new trained voice model or are you only able to call it locally on the package on the same server ollama is installed on?
@mikkaruru
@mikkaruru Месяц назад
Great video! Thank you!
@kyougetsubarano1534
@kyougetsubarano1534 Месяц назад
Postman gives this error, can anyone help? <!doctype html> <html lang=en> <title>415 Unsupported Media Type</title> <h1>Unsupported Media Type</h1> <p>Did not attempt to load JSON data because the request Content-Type was not &#39;application/json&#39;.</p>
@adanpalma4026
@adanpalma4026 Месяц назад
Sorry for my written english, I just speak spanish: google. translate helped me : ) First Time Ever that I can finish a RAG project with chroma and llama3. Literally i saw dozens of videos y I was loosing my mind, because all videos out there are too complicated and langchain is huge and hard,(for me). Literaly I was loosing my mind. Thanks so much for took your time and give us this great tutor. For some reason the context of my raw_prompt is empty (I dont know) why and I am not getting answer... I am getting this message when creatae my retriever: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain_core/vectorstores.py:342: UserWarning: No relevant docs were retrieved using the relevance score threshold 0.1. I assume that for that reason context is not injected in raw prompt?
@none-s5t
@none-s5t Месяц назад
I tried adding a dockerfile and run in docker I am getting error fastembed.common.model_management:download_model:227 - Could not download model from HuggingFace: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/qdrant/bge-small-en-v1.5-onnx-q/revision/main (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))"), '(Request ID: ec0cb652-4ddc-4224-9caf-91eb57204534)')Falling back to other sources. any thoughts?
@Larimuss
@Larimuss Месяц назад
Can you do one for Windows or Linux 😂 sorry im a bit lost too. Guess I need more python knowledge
@yusuf50
@yusuf50 Месяц назад
Thats way man, great tutorial. Thank you
@erictidmore8047
@erictidmore8047 Месяц назад
Dude do you sell any training. Excellent video
@moisesvillalba6615
@moisesvillalba6615 Месяц назад
Thanks so much for the great explanation! Greetings from Paraguay, South America
@superman-h4i
@superman-h4i Месяц назад
why is this giving answers outside the pdfs when i am asking unrelated questions to content of an error response?
@fastandsimpledevelopment
@fastandsimpledevelopment Месяц назад
This is the typical hallucination problem, in the prompt you need to say "Only use the content provided" and also if the results from the retriever or zero length then I normally put up a message that says I could not find the content in the PDF.
@davidtindell950
@davidtindell950 Месяц назад
Thank You Again. Perhaps a follow-on Vid where you make this a full Flask App with a responsive Web-GUI ?!?!?
@fastandsimpledevelopment
@fastandsimpledevelopment Месяц назад
I have video that I'm editing that has a full React UI, I built it so anyone can build a product with it if they wanted, I have the Python code now as a Microservice which makes it much cleaner to deploy in production as well as full logging.
@HarikrishnanSrinivasan
@HarikrishnanSrinivasan Месяц назад
Could you please tell me what's wrong. The context and sources of the document is not getting passed to the LLM {'input': 'What is the title of this document', 'context': [], 'answer': '[s][INST] Ah, let me check! * searches documents * Ah-ha! According to my search results, the title of this document is... "Technical Guidelines for Document Retrieval". [/INST]'}
@nizark.5265
@nizark.5265 Месяц назад
Thanks for the tutorial. I had an error when saving the file in Windows , here is how itsolved: from pathlib import Path current_folder = Path(__file__).parent.resolve() save_file = str(current_folder) + "\\pdf\\" + file_name
@fastandsimpledevelopment
@fastandsimpledevelopment Месяц назад
Thanks for the input, hope it helps someone else as well.
@AbdulHalim-mp2rs
@AbdulHalim-mp2rs Месяц назад
Thank you, thank you, thank you.
@AkashDesai-ef9mk
@AkashDesai-ef9mk Месяц назад
Can I use this without any limits or restrictions means its free no token and anything needed ? please reply
@fastandsimpledevelopment
@fastandsimpledevelopment Месяц назад
FREE FREE FREE - All you have to do is host the service yourself. This is all Open Source, no fees for Ollama, Llama3, LangChain, ChromaDB, Flask or any of the Python Libraries. Keep watching for my Python Microservices that make all this even simpler to setup and use with a React Front End
@AkashDesai-ef9mk
@AkashDesai-ef9mk Месяц назад
@@fastandsimpledevelopment thanks for reply
@learnfromIITguy
@learnfromIITguy 2 месяца назад
Awesome
@yongxiang4635
@yongxiang4635 2 месяца назад
thank you so much for this video, this is very helpful for me now. But i have some questions, how can i deploy this Flask app to server so no need to use 'localhost'
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
You can just create a venv on your Linux server, activate it and then pip install -r requirements.txt to install all the required dependencies. The just start as normal python 3 app.py and it will be running. You may need to open a port on your firewall on the server and then you can connect externally so maybe 10/10/10/25:8081/api for a connection. I do this all the time. I break things into smaller services (microservices) and have them run in a Docker container. You can load the Ollama on a GPU based server (see my video on this).
@ajaybiswal1
@ajaybiswal1 2 месяца назад
Great Video. It will great if u can make video using same tech with Vector DB
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Thanks for the response, glad you enjoyed the video. Based on your comment I did research VectorDB, my initial concern is the lack of ongoing support from its GitHub, it appears the core is very old and it does not appear to be well maintained. One of the major issues with the functionality is that I do not see how to support distinct collections, so say you have a user and they upload a document (Bob has 3 PDF files) and another user then uploads a document (Sally uploads 5 PDF files) you would normally have something like a shared collection, a Bob collection and a Sally collection so the data is unique which is important for any Enterprise RAG application. I see no way to do this in VectorDB other than a unique instance which does not really work for me. I will continue to watch the project and if it progresses I will make some videos. Thanks for sharing!
@ajaybiswal1
@ajaybiswal1 2 месяца назад
@fastandsimpledevelopment thanks for the response what I meant was some vector dB being involved like chroma, pg vector etc ( mainly open source). Since u are dealing only with raw prompt. So maintaining context with be difficult if I use some paid model by chat gpt. As everything u have to sent the history in the chat which will be very expensive. So involving vector dB will make it cheaper. Anyways thanks for the response. And all the best. Hoping to see more videos from in future
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
@@ajaybiswal1 I do have a few videos using ChromaDB for Rag and also one for Chat History, I don't have anything using MongoDB which is what I use for production systems bug ChromaDB works well since it is based on SqlLite but you do need to turn off telemetry to keep everything private set anonymized_telemetry=False
@ajaybiswal1
@ajaybiswal1 2 месяца назад
@@fastandsimpledevelopment thanks for this...I will watch this video
@ruggerovecchio
@ruggerovecchio 2 месяца назад
Congratulations, this is really an exhaustive explanation on how to setup the necessary architecture for exposing AI, LLM based services from a private cloud. Thank you for sharing!
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Thanks for the feedback, glad you enjoyed it.
@chiragmundra5564
@chiragmundra5564 2 месяца назад
It worked, but when i run mvn install on the project, it also run tests, and during that time its giving error. Because it cannot decrypt the thing during test run. Any solution for this?
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
My first thought is to just skip the tests with the params -Dmaven.test.skip=true but maybe a more elegant solution would be to setup the decrypt to run in the tests, not sure exactly who to do that but I'm sure you can research this online
@user-iq5wx7qq4v
@user-iq5wx7qq4v 2 месяца назад
Thank you so very much for this awesome video!🙏
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Glad I could help
@kks4020
@kks4020 2 месяца назад
Great tutorial! Super useful!
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Glad you enjoyed it
@juliandarley
@juliandarley 2 месяца назад
thank you very much. i would add that adjusting the hyperparameters `k`, `score_threshold` and the `PromptTemplate` custom instruction can make a huge difference to the answer - by changing these i got the system to stop producing useless, inaccurate verbiage and give short, accurate, useful answers. it was like comparing a 1B early LLM with GPT4o.
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Thanks for the info, hope it helps others as well
@juliandarley
@juliandarley 2 месяца назад
​@@fastandsimpledevelopment to be specific this is what i have found so far to work reasonably well: PromptTemplate "Based on the following context, provide a precise, concise, and accurate answer to the query. Do not give a load of waffle and empty verbiage, just the actual answer. Do not use your own knowledge, only that in the text supplied. The answer is almost certainly in the given text, but it may require some intelligence on your part to piece together information in order to answer the question. Try hard; don't give up easily." "k": 5, "score_threshold": 0.5, if anyone is interested, i can give some example answers; my impression is that the LLM is the weak link - it's often not quite smart enough to piece together the right pieces of information, where a human would easily work it out. i plan to try out other LLMs and embedding algorithms, but at least the results are looking promising.
@manihss
@manihss Месяц назад
would you mind sharing those? the params and the Prompt.
@juliandarley
@juliandarley Месяц назад
@@manihss i am away from my main desktop, but i will look as soon as i can. the prompt was something like: "keep the answer very short and don't give me a load of empty blather"! i think the score threshold was 5, but that may be erroneous.
@dr.mikeybee
@dr.mikeybee 2 месяца назад
Nice tutorial. I've been struggling with coreference resolution. This handles most of that.
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Glad is helped
@singar1976
@singar1976 2 месяца назад
Thank you for making this video. It was so helpful :)
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Glad you enjoyed it
@Shut-Up-Lu-Ngu
@Shut-Up-Lu-Ngu 2 месяца назад
hello
@user-ut8rk6df5q
@user-ut8rk6df5q 2 месяца назад
nice starter tutorial that does not involve openai!
@ExpertKNowledgeGroup
@ExpertKNowledgeGroup 2 месяца назад
There was so much OpenAI and almost none that really cover running Ollama locally, I uses this for a last company that has very private data, from HR information to Product Development, Jira and Confluence integration, no way could we use OpenAI and have them "Learn" all our IP content :)
@Mutar
@Mutar 2 месяца назад
gj
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Thanks
@taariqnoor8716
@taariqnoor8716 2 месяца назад
About the search_kwargs in the as_retriever method, i can't find all other options that can be used and what are they for, can anybody help ?
@lesptitsoiseaux
@lesptitsoiseaux 2 месяца назад
We're about the same age. This is by far the best tutorial on the subject I've seen in a while. Thank you very much for your conscientiousness and dedication to quality! Cheers from Vancouver :)
@fastandsimpledevelopment
@fastandsimpledevelopment 2 месяца назад
Glad you enjoyed this.
@kappaj01
@kappaj01 2 месяца назад
You have Lombok already - @AllArgsConstructor....
@minci923
@minci923 2 месяца назад
More like this