-
Couldn't load subscription status.
- Fork 404
Comparing changes
Open a pull request
base repository: googleapis/python-aiplatform
base: v1.45.0
head repository: googleapis/python-aiplatform
compare: v1.46.0
- 7 commits
- 42 files changed
- 5 contributors
Commits on Mar 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b89becc - Browse repository at this point
Copy the full SHA b89beccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60b44f2 - Browse repository at this point
Copy the full SHA 60b44f2View commit details -
chore: LVM - Update a few flag values and interaction between differe…
…nt parameters Changed flags: `maskMode` is it's own struct in the API, encapsulating `maskType` and `classes` `maskMode` can only be set (even to an empty value) if two conditions are satisfied: - `mask` is None - `editMode` is not `product-image` The logic now reflects this PiperOrigin-RevId: 620092866
Configuration menu - View commit details
-
Copy full SHA for d4c3c66 - Browse repository at this point
Copy the full SHA d4c3c66View commit details
Commits on Mar 29, 2024
-
feat: Python SDK for Vertex Feature Store.
PiperOrigin-RevId: 620105958
Configuration menu - View commit details
-
Copy full SHA for 5015d25 - Browse repository at this point
Copy the full SHA 5015d25View commit details -
feat: GenAI - Automatic Function Calling feature
The Automatic Function Calling (AFC) feature automates the function calling handling. AFC reduces manual user steps when using Function Calling. AFC makes it easy to use native functions (e.g. Python) with the Function Calling feature. AFC makes it possible for the user to instruct the SDK to let the model call the user-provided functions automatically. AFC can be enabled when starting a chat. Usage: ```python from vertexai.preview.generative_models import GenerativeModel, FunctionCallingConfig, FunctionDeclaration, Tool # Some function that the model will be able to call def get_current_weather(location: str, unit: str = "centigrade"): """Gets weather in the specified location. Args: location: The location for which to get the weather. unit: Optional. Temperature unit. Can be Centigrade or Fahrenheit. Defaults to Centigrade. Returns: The weather information as a dict. """ # Add actual implementation. return dict( location=location, unit=unit, weather="Super nice, but maybe a bit hot.", ) # AFC feature 1: Automatically creating function declaration and schema from a Python function: get_current_weather_declaration = FunctionDeclaration.from_func(get_current_weather) weather_tool = Tool([get_current_weather_declaration]) fc_model = GenerativeModel("gemini-pro", tools=[weather_tool]) # AFC feature 2: Activating the Automatic Function Calling afc_responder = AutomaticFunctionCallingResponder( # Optional: max_number_of_automatic_function_calls=5, ) chat = model.start_chat(responder=afc_responder) # Using the AFC-enabled chat fc_chat.send_message("What is the weather like in Boston?") # With AFC, send_message returns the final model answer rather than `function_call` that the user has to handle. # Notice how the model slightly changes the function response to incorporate it in the final answer. ``` PiperOrigin-RevId: 620189258Configuration menu - View commit details
-
Copy full SHA for eef84c6 - Browse repository at this point
Copy the full SHA eef84c6View commit details
Commits on Mar 30, 2024
-
chore: update supporting XGBoost version of the pre-built serving con…
…tainers PiperOrigin-RevId: 620427553
Configuration menu - View commit details
-
Copy full SHA for e0f5601 - Browse repository at this point
Copy the full SHA e0f5601View commit details
Commits on Apr 1, 2024
-
chore(main): release 1.46.0 (#3522)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5a853f9 - Browse repository at this point
Copy the full SHA 5a853f9View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.45.0...v1.46.0