Results 61 comments of Danish J.

I saw langchain example for Python but not on js.

Once HuggingFace has its transformer js documentation improved that might be a viable alternative and simpler to use. They support using quantized models too.

how to set api key for custom model

(node:64750) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. MaxListeners is 10. Use events.setMaxListeners() to increase limit ``` ragChainWithSource = ragChainWithSource.assign({ answer: ragChainFromDocs, }); // Example...

This agent never triggers the _call for the tool.