This workflow has integrated with some common tool (online search, load local document, get time and weather, etc…).
However, many tools would need to setup api-key (searching, weather..) or download external models (embedding long local files or online content).
Let’s start with ask AI with searching in comfyui.
2.1 Get ready for you google searching API key.
For using google search, you need to acquire your own google_api_key and google_CSE_ID. You would have 100 free request per day for google searching API.
Click a new project if you do not have project yet, then click next.
Then click SHOW KEY.
Then copy and save the key.
Past it in comfyui.
Get your google_CSE_ID
Now you could start to get your google_CSE_ID here.
Add a project if you do not have yet.
Chose “search the entire web” and click create.
You are almost done.
Now you get your search engine ID.
Paste in comfyui, then you are ready now.
2.2 Asking AI with searching online.
Here would would take an example about use bio-intelligence of mycelium to design future London. Here are sever key points:
Make sure the city you set in time and weather is same within your questions.
Tell AI clearly what tool you want it to use when answers your question.
Then we can see the LLM answered our question after searching online for more reliable information.
3.Advance skills
3.1 Skips some nodes in Comfyui.
When you have a lot nodes in comfyui, some time you would like to skips some of them for testing purpose. There are two ways to do that.
For single node:
Right click single node to by pass it.
For a lot of nodes:
You need to add a group, then drag the corner of the group to include all the nodes you want to skip running.
Then you can hide the group by right click and select “set group to never.”
3.2 Continuously chatting
If you enable the is_memory, the LLM will be able to continue to talk with the context of previous content, which will help you to dive into deeper talk.
3.3 self-evolution AI Agent Architect
You could setup 2 AIs for acting as different role, then they could keep self-improving by talking with each other, try with bellow workflow.