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...
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!!
Yes, it was introduced in a newer version and it improves the App.
Thanks for the video! Actually it's a good example of why somthing like DSPy is really needed :)
Welcome. Yes. Although DSPy is used normally with powerful LLMs, it is very helpful for production-ready apps.
Very informative, helpful, concise video. Keep the good work. 🎉🎉
Thanks for your feedback.
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!!
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.
Great video
Glad you liked it!
Who would have thought "Hamburg" in the US 😂
You will find not only Hamburg in the US but also Paris (in Texas)
Great video bro. Keep up the good work. What extensions do you have installed in visual studio?
Hi, thanks for your positive feedback. I use Python, Pylance, Github Copilot, Code Runner, Jupyter, Python Debugger, Python Environment Manager, SQLite, WSL, etc
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" ?
Hi, yes. You are right. It's a typo. It should be "if the note is stored or not".