Building STORM from scratch with LangGraph

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 28

  • @jessiondiwangan2591
    @jessiondiwangan2591 8 місяців тому +12

    Another application of STORM will be automating Report generation given a ton of documents for reference. Replacing wikipedia by the reports. This is just an idea. I dont know if its possible.

  • @andydataguy
    @andydataguy 6 місяців тому +1

    This and the RAPTOR implementation are some of the coolest projects on your channel. Excited to see what else ya'll have been cooking up lately!

  • @SimonMariusGalyan
    @SimonMariusGalyan 5 місяців тому

    Thank you for the explainer video! Interesting concept which can be adopted for other tasks as well… 😊

  • @pascalmauze
    @pascalmauze 8 місяців тому

    Great job! I had done more or less the same without langgraph. But this makes it much more elegantly.
    Just a technical question: in langgraph, as the graph state is a TypeDict schema, it can't carry the llm not the vectorstore, right?... But, in most nodes, we need to create a Runnable using an llm, and ideally a retriever from a vectorstore. Does this mean that the llm and vectorstore should always remain global variables?

  • @avinashjain3191
    @avinashjain3191 8 місяців тому +1

    Pls make a video on
    1) write a blog on a topic ,
    -- search across web what are the topics related to it..
    --search what are the most questions asked by user over search engine realted to blog
    -- cover most of targeted questions in my blog
    --in my blog, there should be a index, start, main, images, visually charts, graph end point.., and FAQ
    Can you take challenge for this, and make video on this..?

  • @Tarun_Mamidi
    @Tarun_Mamidi 8 місяців тому +3

    Great tutorial!
    Can you also show how much it cost overall at the end moving forward?
    Appreciate all your work!

    • @akhilhem1
      @akhilhem1 8 місяців тому +5

      I tried this with OpenAI gpt-4 turbo and the overall cost came to about $0.14

    • @Tarun_Mamidi
      @Tarun_Mamidi 8 місяців тому +1

      @@akhilhem1 That's not bad at all. Thanks for sharing!

    • @willfu-hinthorn
      @willfu-hinthorn 8 місяців тому +2

      You can see all the cost info in LangSmith if you run!@@Tarun_Mamidi

  • @jessiondiwangan2591
    @jessiondiwangan2591 8 місяців тому +3

    The content for each subsections is short. How can we make it longer?

    • @tyessenov
      @tyessenov 8 місяців тому +4

      You can try better prompting or add another writer that will expand the topic in details with unlimited depth, virtually

    • @jessiondiwangan2591
      @jessiondiwangan2591 8 місяців тому

      @@tyessenov thanks mate

  • @ronen.azachi
    @ronen.azachi 7 місяців тому +2

    i get error on final step it stays None AttributeError Traceback (most recent call last)
    in ()
    ----> 1 final_state = next(iter(final_step.values()))
    AttributeError: 'NoneType' object has no attribute 'values'

    • @nicola.lepetit
      @nicola.lepetit 7 місяців тому +1

      I have the same error

    • @MrDbiswal
      @MrDbiswal 5 місяців тому +1

      16:22 I have also same issue. final_step is always None because somehow the END is not coming from graph. Are you able to fix it somehow?

    • @fengshi9462
      @fengshi9462 3 місяці тому

      i have the same error, fully one day wasting on it

  • @GeoffLadwig
    @GeoffLadwig 4 місяці тому

    Nice, Thanks

  • @playboy71322
    @playboy71322 8 місяців тому

    Could this be used to fill out predefined templates as well? I’m assuming yes if you provide the template and ensure each section of the template is filled out appropriately.

    • @willfu-hinthorn
      @willfu-hinthorn 8 місяців тому +3

      Totally - rather than prompting for a wiki structure, you could define your own template and have the system fill it in

  • @jackmartin1146
    @jackmartin1146 8 місяців тому

    Is there a way to deploy this as langserve API?

    • @willfu-hinthorn
      @willfu-hinthorn 8 місяців тому

      Yes! The graph itself should be deployable directly (after running .compile())

  • @bahwah
    @bahwah 8 місяців тому

    Thanks a lot! This is really useful. I am getting the following error while running the code interview_graph.astream(initial_state): Error code: 400 - {'error': {'message': "'Dr. Innovation' does not match '^[a-zA-Z0-9_-]{1,64}$. Any idea what could be the possible reason? I had to change the name of "Subject Matter Expert" to Subject_Matter_Expert. But got stuck again with the editors name.

    • @digitalisationofutilities4337
      @digitalisationofutilities4337 8 місяців тому +1

      Did you find a solution to this problem ? Getting the same problem tried fixing but still struggling.

    • @codewithbod
      @codewithbod 7 місяців тому +1

      same error

    • @GeeZoosPL
      @GeeZoosPL 7 місяців тому +1

      Hello, I also had this problem. I solved it by changing the versions of the langchain packages to older ones, i.e.:
      langchain-community 0.0.25
      langchain-core 0.1.29
      langchain-fireworks 0.1.0
      langchain-openai 0.0.8
      langgraph 0.0.26
      langsmith 0.1.11. @@codewithbod

    • @akashsri99
      @akashsri99 7 місяців тому

      same error

    • @Cuzinz
      @Cuzinz 7 місяців тому

      same error any idea ?