Пікірлер
@raymobula
@raymobula 10 сағат бұрын
Excellent. Concise! And no super hyped language.
@MetiriPersonal
@MetiriPersonal Күн бұрын
What features of fastapi are not available in fasthtml? What caused you to want to combine these technologies?
@codingcrashcourses8533
@codingcrashcourses8533 Күн бұрын
Actually the complete API Part :p. I received a question if you could do it on my first tutorial and I showed how. I also gave an opinion about if you "should" do it.
@techme1972
@techme1972 Күн бұрын
Great video!! Thank you for taking the time! My confusion is…How would I create a multi agent graph where the initial agent asks the user a few questions to determine intent -> based on that it determines what agent to send the user to - this 2nd agent has its own LLM prompt logic -> when this 2nd agent requires feedback from the user … does it communicate with the user directly ? Or does the initial agent only communicate with the user That is where I’m really confused - any guidance would be great! Thank you again!!
@codingcrashcourses8533
@codingcrashcourses8533 Күн бұрын
It is actually totally up to you. When only the initial agent is talking to the user, you have a so called hierarchial agent. But you can allow every agent to interact with a user. That´s totally up to you. If you make a system with intent classificatio and route to different agents, I would probably let the agent directly talk to the agent, since the first agent is just the classifier and probably only should do that task
@techme1972
@techme1972 Күн бұрын
@@codingcrashcourses8533 Anyway I could talk to you more about it - of course I’d compensate you for your time Thank you!
@CptSnunu-ii4um
@CptSnunu-ii4um 2 күн бұрын
How much VRAM and RAM do you think it takes to run the 70b model at minimum?
@maikwurl1484
@maikwurl1484 2 күн бұрын
Danke
@jonathanconn4630
@jonathanconn4630 2 күн бұрын
Great explanation, thank you!
@rutvikjaiswal4986
@rutvikjaiswal4986 2 күн бұрын
Oh man, really I'm just got masterpiece today. I'm searching for long time for sure and finally here it's . One request. please make video on advance rag using LangGraph
@codingcrashcourses8533
@codingcrashcourses8533 2 күн бұрын
Thank you - here you go: kzfaq.info/get/bejne/q8CfrZaFmMCaXas.html
@alex.5801
@alex.5801 2 күн бұрын
What is your email for business?
@codingcrashcourses8533
@codingcrashcourses8533 2 күн бұрын
@@alex.5801 [email protected]
@AbhishekSingh-pj1oo
@AbhishekSingh-pj1oo 3 күн бұрын
THE best OOP Python course, periodddddd.
@codingcrashcourses8533
@codingcrashcourses8533 3 күн бұрын
Thank you so much :-)
@MrKhkostadinov
@MrKhkostadinov 4 күн бұрын
Great video indeed, thanks :) I wonder if it is possible to show how to build edit task route/functionality?
@codingcrashcourses8533
@codingcrashcourses8533 3 күн бұрын
@@MrKhkostadinov i already did that in the introduction :)
@zaptrading
@zaptrading 4 күн бұрын
I appreciate the code you uploaded on GitHub, I'm going to give this a "spin" later Today, Awesome & THX :::
@mgmanzanillo
@mgmanzanillo 4 күн бұрын
Could you also create sample code for instances where multiple documents are stored in a directory in either .txt or a compressed format like Parquet? How would it work then? Would you transform each document separately and combine them as a graph? Would like to get your insight. Thank you for the video!
@mgmanzanillo
@mgmanzanillo 5 күн бұрын
Has any tried this code for a large amounts of documents? How does it scale?
@foysalmamun5106
@foysalmamun5106 5 күн бұрын
Please make a playlist for FastHTML
@caruccio
@caruccio 5 күн бұрын
Where is the app state saved? In the python process or in the browser?
@_waltdisney
@_waltdisney 5 күн бұрын
Jinja with battery))
@RT-mn2pb
@RT-mn2pb 5 күн бұрын
Its simple. I love simple.
@doggydoggy578
@doggydoggy578 5 күн бұрын
Does this need an open ai key ? i have zero in my account
@codingcrashcourses8533
@codingcrashcourses8533 5 күн бұрын
@@doggydoggy578 yes
@doggydoggy578
@doggydoggy578 5 күн бұрын
@@codingcrashcourses8533 did you mention this in this video ? i think it's super important
@lhard123l
@lhard123l 5 күн бұрын
Im thinking that wats going on in native html and css is signal that we should stop thinking of using framwworks and use simplest standard.. Im not sure about using JS as it is standard, but we knew from the beggining its shitty- maybe using it only for dom and initialization would be good but there is Rust which is good language- I was sceptical for very long because we are trying to create new C that is not C for years, but I have to agree thats better And you can compile Rust to wasm use ComponentModel and there is no js required to run Rust Componentmoddlor switch to
@codingcrashcourses8533
@codingcrashcourses8533 5 күн бұрын
Well as cool as it sounds, WASM seems not to cut it. I did not try it out yet, so I dont know why
@Fibe24
@Fibe24 5 күн бұрын
Awesome video. Can you please tell me about your audio setup or the microphone that you use for your videos?. Thank you and looking forward to hearing from you
@codingcrashcourses8533
@codingcrashcourses8533 5 күн бұрын
Answered you ;)
@fabriziocasula
@fabriziocasula 5 күн бұрын
Hello, please VS Flask ?
@codingcrashcourses8533
@codingcrashcourses8533 5 күн бұрын
@@fabriziocasula had a similar request already, but not Sure if thats interesting enough
@fabriziocasula
@fabriziocasula 5 күн бұрын
@@codingcrashcourses8533 what do you think! is it better fast html or flask?
@spoonikle
@spoonikle 6 күн бұрын
This is what the GOTH stack is all about, but now the python gang is here 🎉
@ultrainstinct6715
@ultrainstinct6715 6 күн бұрын
Very informative content. Thank you so much for sharing.
@codingcrashcourses8533
@codingcrashcourses8533 6 күн бұрын
Hooked? Learn design principles/patterns for FastHTML here: kzfaq.info/get/bejne/nreHdsib0c_Sepc.html
@BillRocha
@BillRocha 6 күн бұрын
PHPython 🤣
@viorelteodorescu
@viorelteodorescu 6 күн бұрын
I am using flask for my projects at the moment, if this fasthtml delivers on it’s promise, it would be great…😊
@kevli6373
@kevli6373 6 күн бұрын
for entity in entities.names: response = graph.query( """CALL db.index.fulltext.queryNodes('entity', $query, {limit:2}) YIELD node,score CALL { WITH node MATCH (node)-[r:!MENTIONS]->(neighbor) RETURN node.id + ' - ' + type(r) + ' -> ' + neighbor.id AS output UNION ALL WITH node MATCH (node)<-[r:!MENTIONS]-(neighbor) RETURN neighbor.id + ' - ' + type(r) + ' -> ' + node.id AS output } RETURN output LIMIT 50 """, {"query": generate_full_text_query(entity)}, ) result += " ".join([el['output'] for el in response]) __ I'm getting the error because I don't have an index called entity, but I'm curious if anyone else is getting it.
@codingcrashcourses8533
@codingcrashcourses8533 6 күн бұрын
@@kevli6373 did you try openai models too? Or just the small 8b llama model?
@kevli6373
@kevli6373 6 күн бұрын
@@codingcrashcourses8533 I used only openai model. i got a message : ClientError: {code: Neo.ClientError.Procedure.ProcedureCallFailed} {message: Failed to invoke procedure db.index.fulltext.queryNodes: Caused by: java.lang.IllegalArgumentException: There is no such fulltext schema index: entity} Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings... 😂
@kevli6373
@kevli6373 6 күн бұрын
@@codingcrashcourses8533 thank you reply. i used only openai model. i didnt try llama yet.
@kevli6373
@kevli6373 6 күн бұрын
@@codingcrashcourses8533 I used only OpenAI gpt 4o mini not llama. In your case, Does it work well for both ?
@codingcrashcourses8533
@codingcrashcourses8533 6 күн бұрын
@@kevli6373 I had issues with Llama 8B. Everything else worked fine :/. The LLM seems not be able to create/extract entities
@kevli6373
@kevli6373 6 күн бұрын
Thank u for great video. Is it possible to still use ollama via langchain? I got a error when i use "if llmtype=="olllama" -- error message : Received unsupported message type for Ollama. (my_path) : LangChainDeprecationWarning: The method `BaseChatModel.__call__` was deprecated in langchain-core 0.1.7 and will be removed in 0.3.0. Use invoke instead. warn_deprecated(
@codingcrashcourses8533
@codingcrashcourses8533 6 күн бұрын
Did you change something in the codebase? Which line exactly produces this error? I have used the invoke method, to perform calls to the LLMs, so this kind of warning should not appear
@PassingTheDog
@PassingTheDog 7 күн бұрын
Running this error over and over in the "graph_documents = llm_transformer.convert_to_graph_documents(documents)" cell: 731 parsed_json = self.json_repair.loads(raw_schema) 732 for rel in parsed_json: 733 # Nodes need to be deduplicated using a set --> 734 nodes_set.add((rel["head"], rel["head_type"])) 735 nodes_set.add((rel["tail"], rel["tail_type"])) 737 source_node = Node(id=rel["head"], type=rel["head_type"]) TypeError: string indices must be integers
@codingcrashcourses8533
@codingcrashcourses8533 6 күн бұрын
Hmhmh, some people seem to get this unfortunately. Did you use the 8B model? That could explain it, since it might create empty documents or so.
@Wingly113
@Wingly113 2 күн бұрын
@@codingcrashcourses8533 getting the same error as well
@codingcrashcourses8533
@codingcrashcourses8533 2 күн бұрын
@@Wingly113 also with 8b? I did not run in any errors with 70b of gpt4-small yet
@PassingTheDog
@PassingTheDog 2 күн бұрын
@@codingcrashcourses8533 Yup, 8b. I can't handle 70b tho...
@oluwaseunakinropo6318
@oluwaseunakinropo6318 7 күн бұрын
Hii, amazing content as usual man, i am trying to implement this noe4j graph on my pc after downloading your code, i went to neo4jaura and downloaded a .txt file containing the database credentials but whenever i try it from your code i get this error message below, please help " Could not connect to Neo4j database. Please ensure that the url is correct" it is exactly the same thing i downloaded from their website
@shuangg
@shuangg 7 күн бұрын
But why?
@codingcrashcourses8533
@codingcrashcourses8533 7 күн бұрын
But why what? Combine the frameworks?
@shuangg
@shuangg 7 күн бұрын
@@codingcrashcourses8533 Why not just use FastHmtl alone?
@MuhammadTaha-p1i
@MuhammadTaha-p1i 7 күн бұрын
Could you make an updated version with LCEL especially how to implement memory
@saisaigraph1631
@saisaigraph1631 7 күн бұрын
Love streamlit it makes coding really easy and fun with its context managers... Hope similar concepts are available in FH too.
@codingcrashcourses8533
@codingcrashcourses8533 7 күн бұрын
I already thought of creating decorators which you might wrap around a function for layouting :)
@adonisECM
@adonisECM 8 күн бұрын
Do a video comparing moderns python web frameworks; reflex, fasthtml, robot, flet, streamlit, nicegui, etc.
@tuba-inxs
@tuba-inxs 8 күн бұрын
Is this really an RDF Knowledge Grap, or just a Neo4J property graph. That doesn't look like a SPARQL query in your code.
@codingcrashcourses8533
@codingcrashcourses8533 8 күн бұрын
Hm I am not a Graph Expert to be honest. I had go through some tutorials myself to learn how to construct a query first, since I mainly worked with the RAG part so far. How would it look like in your opinion?
@garic4
@garic4 8 күн бұрын
This was EXACTLY what I've been looking for. Thank you for the great walkthrough, you just got yourself a new subscriber. Cheers
@toddribnek6660
@toddribnek6660 8 күн бұрын
This is amazing, started to learn python, but already known the front end very well. I will definitely be playing around with this.
@MannyBernabe
@MannyBernabe 8 күн бұрын
helpful thanks!
@awakenwithoutcoffee
@awakenwithoutcoffee 8 күн бұрын
awesome course mate, really enjoying it. Adding sections on using PostGreSQL, PGVector would be super useful as most are used to use simpler hosted solutions. Btw I'm making an update to your semantic chunker ha!
@roman9788
@roman9788 8 күн бұрын
At 3:30 the example is a bit misleading, as it's not "is one of the two numbers larger than 1?". The | operator is a bitwise OR, e.g. 1|2>2 is true (because 01|11=11=3) even when both numbers individually aren't. Great content though!
@Sundaysun9633
@Sundaysun9633 9 күн бұрын
Cool 🤙
@riccardomenoli5185
@riccardomenoli5185 9 күн бұрын
As far as I see pydantic kind of kills the __init__ method. When I define classes I do not need to use anymore the __init__ method but the pytdantic attributes. Is it correct?
@codingcrashcourses8533
@codingcrashcourses8533 8 күн бұрын
Yes, you are correct to some extent, but let's clarify the details. When using Pydantic to define data models in Python, it automatically generates the __init__ method for you, based on the fields you define in the class. This means that you generally don't need to write a custom __init__ method yourself because Pydantic handles the initialization of the attributes, as well as validation and type checking.
@riccardomenoli5185
@riccardomenoli5185 7 күн бұрын
@@codingcrashcourses8533 Thank you so much!
@ahmadumar9387
@ahmadumar9387 9 күн бұрын
thanks for your approach, are you thinking to create course about?
@codingcrashcourses8533
@codingcrashcourses8533 9 күн бұрын
No, package is far too new :)
@ahmadumar9387
@ahmadumar9387 9 күн бұрын
@@codingcrashcourses8533 total understandable
@ahmadumar9387
@ahmadumar9387 9 күн бұрын
thanks for your content, got a question, do you thinks to create a whole course for fasthtml on udemy?
@codingcrashcourses8533
@codingcrashcourses8533 9 күн бұрын
If the package gets more stable and gets a bigger community, than maybe, but currently not. It´s way too new.
@ahmadumar9387
@ahmadumar9387 9 күн бұрын
@@codingcrashcourses8533 yeahh i see, but i really hope that you will be the first one, who create a course for this :)
@rgolanng
@rgolanng 9 күн бұрын
look like llama cant generate low resource language like Vietnamese
@codingcrashcourses8533
@codingcrashcourses8533 9 күн бұрын
no, but to honest most models have issues with that. You probably have to create the english documents first and then try to translate it
@rgolanng
@rgolanng 9 күн бұрын
@@codingcrashcourses8533 when i first tried it since release, it failed to generate low resource language, but i just tested in Poe, it seems to work well now. Btw thank you, your content really help.
@rgolanng
@rgolanng 8 күн бұрын
@@codingcrashcourses8533 I really appreciate your content. When i first test with togetherAI, it only responded with English, it seems work well now when i tested again
@tawakalitolamide578
@tawakalitolamide578 9 күн бұрын
Thank you for this video, I have been looking for a way to use local graphrag until I see this. Thank you so much. But I encountered an issue while using the neo4j browser. It keeps saying "Cannot load from URL 'file:///import/test_container.csv': Couldn't load the external resource at: file:///import/test_container.csv ()" I have tried all means to resolve this issue but the error keep persisting. Please I need your help.
@codingcrashcourses8533
@codingcrashcourses8533 9 күн бұрын
You got this issue when running my code? I don´t use a test_container.csv file
@tawakalitolamide578
@tawakalitolamide578 9 күн бұрын
@@codingcrashcourses8533 No, I did not get the issue while running your code. I already solved it. Thank you
@eloiseidlitz7062
@eloiseidlitz7062 9 күн бұрын
Smart video ! It could be a good way to access easily relationships between stakeholders in any kind of business.
@mahoanghai3364
@mahoanghai3364 9 күн бұрын
Cool. Thank a lot