Christian Yarros
Christian Yarros
Add PromptLanguageModelOperator and PromptMultimodalModelOperator for Google Cloud Generative AI use
Creating hooks, operators, and test for two Google Cloud generative model APIs. Namely, the [language model for text generation (PaLM 2)](https://cloud.google.com/vertex-ai/docs/generative-ai/text/test-text-prompts) and the [multimodal model for content generation (Gemini)](https://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/send-chat-prompts-gemini). This...
With the constantly evolving Vertex AI APIs for generative models, this PR updates the generative_model hooks/operators in the following ways: - naming conventions in line with Vertex AI APIs -...
This pull request adds the following: **SupervisedFineTuningHook**: Hook for Google Cloud Vertex AI Supervised Fine Tuning APIs. **SupervisedFineTuningTrainOperator**: Use the Google Cloud Supervised Fine Tuning API to create a tuning...
Conflicting tests when evaluating `airflow/tests/providers/google/cloud/operators/vertex_ai/test_supervised_fine_tuning.py` and `airflow/tests/providers/google/cloud/hooks/vertex_ai/test_supervised_fine_tuning.py` ... [Static checks, mypy, docs / Static checks](https://github.com/apache/airflow/actions/runs/10603244920/job/29387419328?pr=41807#logs) : ``` Run 'ruff' for extremely fast Python linting.......................................Failed - hook id: ruff - exit...
- Upgrade `google-cloud-aiplatform` to allow for data store interactions. - Upgrade docstrings to fill in missing `tools` param - Add `system_instruction` to `GenerativeModelGenerateContentOperator` - [About System Instruction](https://ai.google.dev/gemini-api/docs/system-instructions?lang=python) : System instructions...