I’m looking for a way to add callback functionality to Bolt. Specifically, I want to enable Bolt to:
- Call a scraping tool that retrieves some text.
- Use the retrieved text as context for its next generation.
The challenge is that I need a way to call Bolt again from within the code after the scraping tool returns its response.
Does anyone with knowledge of the codebase have suggestions or guidance on how to implement this?
1 Like
You’re wanting a workflow, i’d suggest starting here:
1 Like
I don’t need a complete workflow. I only need to add a callback to Bolt to utilize the new information. The main problem is that most LLMs are not up-to-date or lack the ability to code effectively. That’s why I integrated a scraping tool to extract documentation for other APIs or packages, enabling Bolt to program more effectively with them. This is why I need the automatic callback to bolt, without requiring the user to provide the informations manually to Bolt.
I think we are a way off from having Bolt provide itself feedback, at least from the terminal (a big limiting factor is the Web Container). It would be nice everything (wrapper around execution) was logged, and it could just reference that (because you mostly want it to catch its own errors and correct).