Skip to content

Conversation

@sayalaruano
Copy link
Collaborator

@sayalaruano sayalaruano commented Apr 11, 2025

Modified code to:

  • Update APICall component to incorporate different methods and capture potential errors.
  • Refactor ChatBot component to accept Ollama-style streaming chatbots and prompt-response APIs like in the BKGR project.
  • Update README to document the changes

…_body as attributes and modify the scripts accordingly
…ICall class

Define dynamic_request_body argument on the make_api_request to handle chatbot component instead of static request_body from config. Also, adapt chatbot class signature  with these changes.
…t to handle a JSON file retrieved from the BKGR API
…dify the _generate_chatbot_content function to handle both Olla-style and standard API chatbots

Also, fix bug in the _format_text function to recognize caption type
@sayalaruano sayalaruano marked this pull request as ready for review April 16, 2025 08:12
@sayalaruano sayalaruano changed the title Api chatbot updt Api and chatbot components update Apr 16, 2025
@sayalaruano sayalaruano merged commit ec43047 into main Apr 16, 2025
16 checks passed
@sayalaruano sayalaruano deleted the api-chatbot-updt branch April 16, 2025 12:19
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

Successfully merging this pull request may close these issues.

2 participants