Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Callback Functionality to Bolt for Scraping Integration #780

Open
ihebmrabet opened this issue Dec 16, 2024 · 2 comments
Open

Add Callback Functionality to Bolt for Scraping Integration #780

ihebmrabet opened this issue Dec 16, 2024 · 2 comments

Comments

@ihebmrabet
Copy link

I’m looking for a way to add callback functionality to Bolt. Specifically, I want to enable Bolt to:

  1. Call a scraping tool that retrieves some text.
  2. 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?

@leex279
Copy link

leex279 commented Dec 17, 2024

I dont know how, but I would like to understand the purpose/use case of it?

@ihebmrabet
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants