Build a LOCAL AI Web Search Assistant with Ollama

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025

ความคิดเห็น • 39

  • @Ai_Austin
    @Ai_Austin  หลายเดือนก่อน +4

    forgot to mention in the video:
    you will need to start the Ollama app on your PC before running the program.
    also made a mistake with 2 of the colorized print statements:
    the print statement i put on line 113 in the video, should be moved to line 102.
    then on line 113 print:
    “DATA SCRAPED FROM: {page_link}”

    • @MrRavaging
      @MrRavaging 14 วันที่ผ่านมา

      I followed along with you step-by-step and my line 113 looks like this:
      "context = page_text" as part of the ai_search while loop.
      Line 102 currently reads as "best_result = best_search_result(s_results=search_results, query=search_query) in the same while loop.
      Things shifted around during the process of drafting and so while in the video it might have been on line 113 and 102 at the time, the finished product by the end of the video doesn't align with those reference points.
      It could be, however, that I have no idea what I'm talking about. It just looks to me like "DATA SCRAPED FROM: {page_link}" doesn't fit on 113.

  • @MrRavaging
    @MrRavaging 14 วันที่ผ่านมา

    The way you explained each step and reason for each piece of code so fluently is exactly the kind of guidance n00bs like me need.

  • @for-ever-22
    @for-ever-22 หลายเดือนก่อน +1

    Just another incredible video. Y’re the best !!

  • @Plash14
    @Plash14 หลายเดือนก่อน +1

    I support you! Thank you for this video.

    • @Ai_Austin
      @Ai_Austin  หลายเดือนก่อน

      :)

  • @Panubiin
    @Panubiin 22 วันที่ผ่านมา +1

    Does yours already come with a system to identify whether it's for searching or just a "normal" prompt? If not, can you teach how to add it?

    • @Ai_Austin
      @Ai_Austin  22 วันที่ผ่านมา

      i bet if you watch you'll find out

    • @Panubiin
      @Panubiin 18 วันที่ผ่านมา

      @@Ai_Austin How do I get him to cite the sources used, like just the link, without an icon, etc.?

    • @Ai_Austin
      @Ai_Austin  16 วันที่ผ่านมา

      i would just print the link selected by the best_search_result function

  • @IdPreferNot1
    @IdPreferNot1 หลายเดือนก่อน +1

    Great video with explanation. Really can't learn without this guidance!.

  • @tomthompson1198
    @tomthompson1198 28 วันที่ผ่านมา +3

    fight against the for profit AI overlords with open source, locally hosted and privacy as a right by default. i dont trust sam or elon or zack!

  • @agungbachtiar4293
    @agungbachtiar4293 8 วันที่ผ่านมา

    great i need more learn about make local ai assistant can do

  • @ebyhanson1301
    @ebyhanson1301 24 วันที่ผ่านมา

    Can u show how to train our data from api with ollama

  • @alisaleh73
    @alisaleh73 27 วันที่ผ่านมา

    Thanks man for the great tutorial. i'm just having 1 issue. whenever ollama responds, it adds 2 empty lines after each word. the print('

    ') makes it do that i believe. btw, it does respond and all... but as i said, 2 blank lines after each word from the response. is it just me ?

  • @marcusmassioni8414
    @marcusmassioni8414 13 วันที่ผ่านมา

    For some reason, when I run this code and talk to the model, it tells me that it has access to the internet, but I ask for the next ufc event date and it tells me 2023. So its gaslighting me about being able to see search results lol how do I fix that?

    • @Ai_Austin
      @Ai_Austin  12 วันที่ผ่านมา +1

      figure out if it's searching or not.
      if searching when it should, figure out what link it's selecting.
      modify system messages and or try a different language models until you get it to perform correctly.
      these smaller language models are going to hallucinate commonly. If you really want to maximize their performance for each of the specific tasks in the program, i would fine-tune a model for each task.
      basically, if you wanna improve upon these python programs, i would think through the code top to bottom of where my issue may lie in the program

    • @dirtbike165
      @dirtbike165 10 วันที่ผ่านมา

      I would also play around with the model temperature as well. I get a large variety of different results from the same models, simply by changing the temp 1/10th of a point.

  • @mr.movieking7496
    @mr.movieking7496 23 วันที่ผ่านมา

    hello bro please next video soon and also make one for gemini latest update and please include it's all features and also add it's function calling pls

  • @JNET_Reloaded
    @JNET_Reloaded หลายเดือนก่อน +1

    wheres the github link for this???????????????

    • @Ai_Austin
      @Ai_Austin  หลายเดือนก่อน +2

      whats a github link?

    • @javiergimenezmoya86
      @javiergimenezmoya86 29 วันที่ผ่านมา

      ​@@Ai_Austingithub repository I suppouse he wanted to say.

    • @Ai_Austin
      @Ai_Austin  29 วันที่ผ่านมา +4

      i don't give microsoft my code anymore. if you guys need it, watch my video long enough to know how to access my source code. because i don't make videos for people to click off and yoink my code without supporting me continuing to make these programs you guys seem to want😉

    • @MrRavaging
      @MrRavaging 14 วันที่ผ่านมา

      @@Ai_Austin man, I'm just here to yoink some code :P Gotta say... your method of making me watch the video and type it all out myself is actually a lot more beneficial in the long-run because you're actually walking me through the coding process. As a complete novice, I really appreciate it.

  • @justsomeguy8982
    @justsomeguy8982 หลายเดือนก่อน +1

    lol who is this sam, anyways nice video ai austin( ̄︶ ̄)

  • @naeemulhoque1777
    @naeemulhoque1777 19 วันที่ผ่านมา

    21:12 this is very frustrating!

  • @taryono0271
    @taryono0271 5 วันที่ผ่านมา

    Woy tin ini kah TH-cam nya

  • @TreeLuvBurdpu
    @TreeLuvBurdpu 26 วันที่ผ่านมา +1

    "Stop paying these for-profit providers. Join my patreon today". Too bad youngsters hate themselves for profiting.

    • @Ai_Austin
      @Ai_Austin  26 วันที่ผ่านมา +1

      there is nothing wrong with for profit. it's the deception that i am against. it's the calling yourself "openai" and being the most closed and biggest company in ai. it's the selling your product as greater than it really is that i am against. and it's the control of the most powerful tool humans will create i am against. i know my morals pal, but if you think you can do what i do while making $0 to feed yourself for the thousands of hours your put into it, please help out in getting more humans to know these skills. i can't do that but would totally respect if you can invest thousands of hours into something (without being a billionaire) and make $0 for your time, while sustaining your ability to keep putting time into helping humans.
      thanks for your opinions bud

  • @DCinzi
    @DCinzi 29 วันที่ผ่านมา

    I f love u

  • @be9em0t
    @be9em0t 14 วันที่ผ่านมา

    I'm not sure how Sam Altman exactly is stopping you from doing better. Stop moaning and Just Do It. If you think you've got the stuff.

    • @Ai_Austin
      @Ai_Austin  13 วันที่ผ่านมา

      i don't think anyones moaning here but you. we're just some chill guys building stuff. keep your negativity in your head please

  • @blingo265
    @blingo265 9 วันที่ผ่านมา

    Thank you for sharing this. In my case I am receiving a captcha page as a response from duckduckgo, asking to prove of If am human. Can you please suggest a workaround to resolve this?