We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm happy to contribute to the repo btw after getting validation that this makes sense as a feature.
I want to be able to upload text files once and be able to reference them.
Part.from_uri is only referenced in image utils here: libs/vertexai/langchain_google_vertexai/_image_utils.py#L80-L97
Part.from_uri
but in the vertexai module, that supports arbitrary mime types like the following example.
vertexai
import vertexai from vertexai.generative_models import GenerativeModel, Part gemini_model = GenerativeModel(model_name="gemini-1.5-pro-preview-0409") model_response = gemini_model.generate_content([ "summarize the readme", Part.from_uri("gs://example-bucket/some-directory/README.md", "text/markdown"), ]) print(model_response)
The text was updated successfully, but these errors were encountered:
sure, please, feel free to contribute. that would be a great addition!
Sorry, something went wrong.
No branches or pull requests
I'm happy to contribute to the repo btw after getting validation that this makes sense as a feature.
I want to be able to upload text files once and be able to reference them.
Part.from_uri
is only referenced in image utils here: libs/vertexai/langchain_google_vertexai/_image_utils.py#L80-L97but in the
vertexai
module, that supports arbitrary mime types like the following example.The text was updated successfully, but these errors were encountered: