-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Create Operators for Google Cloud Vertex AI Context Caching #43008
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boring-cyborg
bot
added
area:providers
kind:documentation
provider:google
Google (including GCP) related issues
labels
Oct 14, 2024
Needs rebase. |
MaksYermak
reviewed
Oct 15, 2024
providers/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py
Outdated
Show resolved
Hide resolved
providers/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py
Outdated
Show resolved
Hide resolved
MaksYermak
approved these changes
Oct 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@potiuk LGTM
CYarros10
force-pushed
the
context-cache-operator
branch
from
October 15, 2024 15:41
8b28517
to
69ba217
Compare
CYarros10
force-pushed
the
context-cache-operator
branch
from
October 15, 2024 16:01
69ba217
to
f361d02
Compare
shahar1
approved these changes
Oct 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
R7L208
pushed a commit
to R7L208/airflow
that referenced
this pull request
Oct 17, 2024
…3008) * Fix merge conflicts * Fix documentation. * Update return variables.
harjeevanmaan
pushed a commit
to harjeevanmaan/airflow
that referenced
this pull request
Oct 23, 2024
…3008) * Fix merge conflicts * Fix documentation. * Update return variables.
PaulKobow7536
pushed a commit
to PaulKobow7536/airflow
that referenced
this pull request
Oct 24, 2024
…3008) * Fix merge conflicts * Fix documentation. * Update return variables.
83 tasks
ellisms
pushed a commit
to ellisms/airflow
that referenced
this pull request
Nov 13, 2024
…3008) * Fix merge conflicts * Fix documentation. * Update return variables.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use context caching to reduce the cost of requests that contain repeat content with high input token counts. Cached context items, such as a large amount of text, an audio file, or a video file, can be used in prompt requests to the Gemini API to generate output. Requests that use the same cache in the prompt also include text unique to each prompt. For example, each prompt request that composes a chat conversation might include the same context cache that references a video along with unique text that comprises each turn in the chat.
Adding Operators, hooks, docs. Updating provider.yaml.
Can be used as part of a broader Generative AI Operations pipeline.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.