Integrate tool LLM

Hello community,

I’m testing the LLM agent and would like integrate Serper.dev instead of serApi.

Is that possible ?

You can do that with a LangChain Code Node. Is literally 2 lines of code:

const { Serper } = require('langchain/tools');
return new Serper('REPLACE_WITH_API_KEY');

Here is a full example workflow. You just have to replace your API-Key in the node “Serper.dev”:

1 Like

It runs through an error, should I modify the requirement ?

image

I’m using the cloud version

Ah sorry. On the cloud version that node is sadly not available. A good example why the topic template should always be filled and not deleted.

In this case, there is sadly no way of using that right now on n8n.cloud but we should be able to add a node in the next days.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.