Skip to content

BytteLoader: African Language Corpora Document Loader#525

Open
BytteData wants to merge 3 commits intolangchain-ai:mainfrom
BytteData:main
Open

BytteLoader: African Language Corpora Document Loader#525
BytteData wants to merge 3 commits intolangchain-ai:mainfrom
BytteData:main

Conversation

@BytteData
Copy link

VulavulaClient Improvements

  1. Added structured logging instead of print statements
  2. Implemented input validation for API key
  3. Added configurable timeout with default value (30s)
  4. Pre-built headers in init for better performance
  5. Enhanced error handling with specific exception types (Timeout, HTTPError, RequestException)
  6. Added response parsing error handling
  7. Introduced class constants for base URL and timeout
  8. Improved docstrings with detailed Args, Returns, and Raises sections
  9. Added optional custom base URL parameter for flexibility

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.

1 participant