Skip to content

Conversation

@mikix
Copy link
Contributor

@mikix mikix commented Sep 2, 2025

Checklist

  • Consider if documentation (like in docs/) needs to be updated
  • Consider if tests should be added

from cumulus_etl import errors


class OpenAIModel(abc.ABC):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm changing away from an abstract class that is inherited by specific-use models like AzureModel and LocalModel. And switching that into a class that looks for all supported methods (azure, bedrock, local) and finds whichever mode is configured. This better supports stuff like llama4, which can do any of the three modes depending on config.

@github-actions
Copy link

github-actions bot commented Sep 3, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4173 4131 99% 98% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cumulus_etl/etl/tasks/nlp_task.py 100% 🟢
cumulus_etl/nlp/openai.py 100% 🟢
TOTAL 100% 🟢

updated for commit: f1c80ff by action🐍

@mikix mikix merged commit f1551e9 into main Sep 3, 2025
3 checks passed
@mikix mikix deleted the mikix/bedrock branch September 3, 2025 16:32
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