Unlock AI with Fabric Patterns
Вставка
- Опубліковано 14 лип 2024
- Fabric is an amazingly cool framework for getting better answers out of your AI tools. You have to try playing with it.
You can find the code for every video I make at github.com/technovangelist/vi.... Then find the folder name that starts with the date this video was published and a title that makes sense for what the video covers.
Be sure to sign up to my monthly newsletter at technovangelist.substack.com/...
00:00 Introduction
00:40 Intro to the solution
01:23 An example
02:35 What and why
03:16 Installing
04:27 What got added
05:35 Try it out
06:50 AI is always better if you....
08:14 A lot of potential here - Наука та технологія
Matt, here’s a suggestion- see if it is possible to have a live chat with the author, that would really be interesting. Great video as always, will try out fabric today! 👍
@@narulavarun i would love to see this!
I’m excited to learn more about Fabric!
I started using it recently. I use to to output markdown to my Obsidian vault. I created special version of save that also calls fabric to create the front-matter tags for it so my vault can auto connect related content
@@PaulRobello Do you mind sharing that save command? I’d love to integrate Fabric into my Obsidian vault myself! Thanks in advance 🙏🏼
@@Outplayedqt +1
I started writing my own Python tools to do this, including downloading and concat'ing multiple transcripts for upload to chatbots for discussion. So cool to stumble across your channel!
I'm glad you've gotten into fabric, I use it very often and have found it to be great.
Tends to occupy a screen whilst I'm working. Very useful.
This was hugely beneficial! Thank you so much!
Yes please create more Fabric videos with use cases students, creators and data analysts can make use of. Great video thank you! Subscribed
Using it for a while. In love with it 😅 Have created new patterns for it too.
Thanks. You did it again.
another banger! Thank you
I would like to access fabric from a CMD or powershell under windows. To run fabric you have to use wsl under windows.
It would be great if you could address this topic in one of your upcoming videos!
It's funny; I was examining Fabric with a friend on Tuesday, and my takeaway was, "The tool itself may not be the greatest, but the value truly lies in these prompts."
Hi Matt, one nice thing to do at the end when you take you favorite drink, expose a scrolled window at the side to show all the code you've written during that video. Sounds good?
First youtuber I've seen recommned fish, I love it. I'd just like if more documentation took it into account as setting env variable etc it a bit different.
I’ve created a prompt library tailored to my workflow since I’m a civil engineer and landscape architect, which are niche fields. Many AI tools are designed for general use, not specifically for those of us who build and maintain our infrastructure-true “civil” engineering, from the word “civilization,” the mother of all engineering and landscape architecture, henceforth. While there are many interesting tools out there, they often don’t provide practical help for my work. I’m also developing niche software to better support my profession since no one in the tech field understands anything more than virtual reality. There are too many outsiders to the profession that miss the mark when developing software so I guess I am going to have to step up to the plate.
That would be amazing to release something like that. I have spoken with folks on the engineering side of construction industry doing similar things and something similar would have been immensely useful for my wife who is also an architect, though she focused on the programming aspects for science buildings for colleges and universities.
I am doing a structural documentation software for projects in Denmark :)
YES! It's all about the prompts. The confusion over fabric, comes from how they bury the lead with the framework and tools they've built, which is cool but I'm not a UA-camr, I don't work in Cyber security, I'm not a Mac user, I'm not a Christian, and I don't play DnD. I just need to know how to write good prompts.
I'm baffled at the praise Fabric is getting tbh; They seem to have spent more time on buzzwords like 'fabric,' 'loom' and 'weave' than they have actual functionality. The directory separator in the "save" script is a hard-coded forward slash... At the end of the day it seems like little more than a very limited-use prompts library, especially compared to something like Langchain.
Perhaps I'm missing something, but after trying it a few times, I just cannot find a use-case that isn't better served by more established, more flexible, and more professionally-written tools.
The "extract wisdom" and youtube use-case seems to be getting a good majority of the attention. Langchain's summary chain, rag-driven chat, and a prompt for extracting ideas work together to provide a much better solution for that use-case.
I don’t like the tools in fabric but the prompts are great. But langchain is completely unrelated and not even that great for most use cases.
I use the UA-cam one a lot. The time saved is incredible when you can quickly see if a 20 min video is worth watching or get the key points from an instructional video.
Yes, extract wisdom gets a lot of praise but how about analyze personality? Last night I took 3 1 hour videos from our major political parties here in the UK and fed them in.
Amusingly, I ended up having to use a dolphin fine tune model as the base llama3 was so vicious and biased that it was like a UA-cam comments section. But after I did that, it gave some really interesting and useful analysis of the lying, corrupt liars.
It's a collection of good, effective prompts in a tool with a nice way to get a YT transcript as well.
@@technovangelist langchain is not unrelated at all. Fabric wants to (and fails miserably at) chain outputs from one prompt to the next. Langchain does that. It exposes tons of underlying pieces for all kinds of llm tools for rag, chat, prompting, etc etc… saying it’s “not that great” considering its use and ubiquity seems as close to objectively incorrect as an opinion can get.
The prompts are just fine in Fabric. But that’s the main attraction there, and I think there are better ways to keep track of your prompts.
@@ts757arse exactly. The UA-cam one is great. But there are much better and easier ways to skin that cat. You’ll notice all the demos and promos for fabric lean on this one use case pretty heavily, and it’s just plain RAG, simple as you can get.
This is definitely not rag. If you think that you should probably look into what rag is all about. Completely different.
i am really interested in how you are using fabric patterns with your code. are the scripts already released in that repo ?
@technovangelist Thank you for the video. I have Ollama installed on Windows 11 system. Got Fabric installed, put API for Google/YT in setup. Cool to get the video summary, but when I pipe to "extract wisdom" I get unrecognized command.
there is a include file in the fabric directory that has all the aliases. you need to source that file
Amazing channel, Matt - full of wisdom. And it's free...how'd that happen? Where the heck i$ your tip jar? I would like to motivate you to make more great un$ponsored honest content. I am just learning AI for my law profession and am super motivated and excited to learn from brilliant minds as yours.
thanks so much for the comment. I have been reluctant to add stuff like that. But after enough folks asked, I created a patreon at patreon.com/technovangelist and some folks do some tip thing on my streams, though i don't know how that works. But don't feel obligated. I do this because its fun. motivation is nice though....
Your slow autofocus is making me crazy. I cannot ignore it, and it makes me miss points in your presentation. You could edit them out in Premiere Pro or your video editing software. But it feels like you are doing the presentation all in one take with someone zooming in and out to emphasize points. Zoom In. "Pay attention. This is really important". Zoom out. "This is general material or intro to a demo". Or maybe your are using a focus blur transition between takes. Either way, it gets in the way of my absorbing the content. Your content is great, and I do not want to miss a single word. That is why I am complaining. Hopefully you will take my comment in the spirit in which it is intended, to help you to help me to absorb your content. Thanks for listening.
cant add to playlist as you marked this as for kids !!!
No it isn’t. Because it’s not.
To me, fabric is the same as langchain - unnecessary extra man-in-the-middle you don't need. You can do better, cleaner and simpler dealing with LLM directly
Without sleek modern and sexy UI this will never get enough traction. It's too cumbersome to use and install for almost anyone who is not very tech savy
If that were true ollama wouldn’t have millions of downloads.
@technovangelist This is not ollama. Obviously you have no idea how the market works and what first time mover means.
Ugh. Ollama wasn’t anywhere near first. I know. I helped create Ollama. We made it because we didn’t like any of the long list of tools in the market ahead of us. A ui is not needed for this. But as stated in the video, there are plenty of UIs out there that I hope will leverage these prompts.
"crafting" ai prompts. you mean typing words.
No. It’s not just words. Anyone can do that. Coming up with something that really adds value is hard.
But if you want to waste 30 minutes coming up with a detailed prompt every single time I guess that fine.
@@technovangelist It is just words and everyone can do that.
Great. I would rather get that time back rather than waste it typing very similar long text every time. Everyone can recreate llamacpp with a bit of time. its just text. Do that each time while you are at it.
@@brulsmurf yeah and everyone is a novelist
I've wasted a lot of time with all this nonsense. Let's have a look at this again in 10.000 years or so when it can write the snake game without 20 errors.
Sounds like you are hoping for the ai to do the job for you rather than help you get the job done. You will be disappointed for a long time to come because that isn’t going to happen for a while. But the folks that use it effectively will pass you by while you wait.