Use crewAI and add a custom tool to store notes in Obsidian

Поділитися
Вставка
  • Опубліковано 21 січ 2024
  • In this Tutorial, we create a custom tool for crewAI to add search results as a note in Obsidian. We use it with OpenAI ChatGPT 4 and ChatGPT 3 and Multiple local LLMs like mistral, nexusraven, openhermes and openchat.
    Chapter
    01:31 - Defining LangChain custom tools using the tool decorator
    04:07 - Create a tool package for the crewAI custom tool
    06:06 - Setup and run crewAI with OpenAI ChatGPT 4
    09:47 - Setup and run crewAI with OpenAI ChatGPT gpt-3.5-turbo-1106
    11:12 - Use Ollama to run crewAI with local LLMs like Mistral, Openhermes
    11:49 - Setup and run crewAI with local LLM mistral
    13:00 - Setup and configure crewAI with local LLM nexusraven
    14:15 - Setup and run crewAI with local LLM openhermes
    14:33 - Setup and run crewAI with local LLM openchat
    15:01 - Make some Prompt Engineering to improve the results of crewAI
    In this tutorial we use Ollama on Windows using WSL2.
    Github:
    github.com/business24ai/crewa...

КОМЕНТАРІ • 16

  •  3 місяці тому +2

    Actually there is a new command called "expected_output" to put inside the task! And it can minimize the output erros you are facing!! Nice video!!

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

      Yes, it was introduced in a newer version and it improves the App.

  • @FrederickROS
    @FrederickROS 3 місяці тому +1

    Thanks for the video! Actually it's a good example of why somthing like DSPy is really needed :)

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

      Welcome. Yes. Although DSPy is used normally with powerful LLMs, it is very helpful for production-ready apps.

  • @ThanhNguyen-lk6ns
    @ThanhNguyen-lk6ns 4 місяці тому +1

    Very informative, helpful, concise video. Keep the good work. 🎉🎉

  • @shuntera
    @shuntera 4 місяці тому +1

    When I ran it with openhermes, I just got this written to Obsidian, title was fine, but the text was just "Content is the table of school holidays in Hamburg for 2024." No dates or table inserted!!

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

      Hi, first of all congratulations. The main goal is to save a note using a custom tool. The content depends of the search results and will be improved with time when better LLMs get available. Some better prompt engineering will help with better results.

  • @nuclearthrone2497
    @nuclearthrone2497 2 місяці тому +1

    Great video

  • @basilbrush7878
    @basilbrush7878 4 місяці тому +2

    Who would have thought "Hamburg" in the US 😂

    • @business24_ai
      @business24_ai  4 місяці тому +1

      You will find not only Hamburg in the US but also Paris (in Texas)

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

    Great video bro. Keep up the good work. What extensions do you have installed in visual studio?

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

      Hi, thanks for your positive feedback. I use Python, Pylance, Github Copilot, Code Runner, Jupyter, Python Debugger, Python Environment Manager, SQLite, WSL, etc

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

    Task 3 - "Your final answer MUST be the information is the note is stored or not", should that be "if the note is stored or not" ?

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

      Hi, yes. You are right. It's a typo. It should be "if the note is stored or not".