Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_last_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6005ee42f3882434563e5e1662aa0d95781ab781
874d8f1733df5029f169c35ed088d2f081eb6687
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Version changelog

## Release v0.169.0 (2026-11-19)

### API Changes
* Add `delete_software_artifact()` and `delete_software_artifact_version()` methods for [w.software_artifacts](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/softwareartifacts/software_artifacts.html) workspace-level service.
* Add `high` enum value for `databricks.sdk.service.jobs.AiRuntimeTaskPriorityClass`.
* [Breaking] Remove `best_effort` enum value for `databricks.sdk.service.jobs.AiRuntimeTaskPriorityClass`.

## Release v0.168.0 (2026-11-18)

### API Changes
Expand Down
26 changes: 15 additions & 11 deletions databricks/sdk/service/agentkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,9 @@ class ManagedMemoryEntry:
"""Customer-provided identifier for the actor whose memory this entry represents."""

path: str
"""Absolute, case-sensitive path identifying the entry within its actor and optional session. Paths
must begin with ``/`` and must not contain empty, ``.`` or ``..`` segments."""
"""Absolute, case-sensitive path identifying the entry within its actor and, until the deprecated
``session_id`` is ignored, its optional session. Paths must begin with ``/`` and must not
contain empty, ``.`` or ``..`` segments."""

content: Optional[str] = None
"""Optional free-form memory content."""
Expand All @@ -458,8 +459,9 @@ class ManagedMemoryEntry:
updates; assigned by the service on creation."""

session_id: Optional[str] = None
"""Optional identifier for the session associated with this memory entry. When omitted, the entry
applies across the actor's sessions."""
"""Deprecated: memory entries will be identified by ``(actor_id, path)``, and the service will
ignore this field on writes and omit it from responses. Until then, an omitted value means the
entry applies across the actor's sessions."""

source_type: Optional[ManagedMemoryEntrySourceType] = None
"""Which writer created this entry. Caller sets this on Create; immutable after creation. The
Expand Down Expand Up @@ -1241,7 +1243,8 @@ def create_memory(
generates one when it is omitted. Returns ``ALREADY_EXISTS`` when an entry with the same actor,
session, and path already exists. Omitted ``session_id`` is its own uniqueness key: two
omitted-session entries with the same actor and path conflict, but an omitted-session entry does not
conflict with a session-scoped entry at the same actor and path.
conflict with a session-scoped entry at the same actor and path. ``session_id`` is deprecated: once it
is ignored, the uniqueness key becomes actor and path.

:param parent: str
Memory store that will contain the entry, in the form ``memory-stores/{managed_memory_store_id}``.
Expand Down Expand Up @@ -1753,8 +1756,8 @@ def list_memories(
view: Optional[ManagedMemoryEntryView] = None,
) -> Iterator[ManagedMemoryEntry]:
"""Lists memory entries for one actor. An exact ``path`` filters entries across sessions, ignoring
session metadata. Otherwise, ``session_id`` and ``path_prefix`` restrict the actor partition. ``view``
controls whether each returned entry includes memory content.
session metadata. Otherwise, ``path_prefix`` and the deprecated ``session_id`` restrict the actor
partition. ``view`` controls whether each returned entry includes memory content.

:param parent: str
Memory store whose entries are listed, in the form ``memory-stores/{managed_memory_store_id}``.
Expand All @@ -1768,8 +1771,9 @@ def list_memories(
:param path_prefix: str (optional)
Optional path prefix used to restrict entries within the actor partition.
:param session_id: str (optional)
Optional session identifier. When set, only entries with this exact ``session_id`` are returned.
Omitted-session (cross-session) entries are not included. Ignored when path is set.
Deprecated: the service will ignore this filter. Until then, when set, only entries with this exact
``session_id`` are returned, and omitted-session (cross-session) entries are not included. Ignored
when path is set.
:param view: :class:`ManagedMemoryEntryView` (optional)
Controls whether each returned entry includes memory content. Defaults to ``FULL``.

Expand Down Expand Up @@ -2169,8 +2173,8 @@ def search_memories(
Optional absolute, case-sensitive path prefix used to restrict searched entries within the actor
partition. The prefix must begin with ``/`` and must not contain empty, ``.`` or ``..`` segments.
:param session_id: str (optional)
Optional session identifier. When set, only entries with this exact ``session_id`` are searched.
Omitted-session (cross-session) entries are not included.
Deprecated: the service will ignore this filter. Until then, when set, only entries with this exact
``session_id`` are searched, and omitted-session (cross-session) entries are not included.
:param view: :class:`ManagedMemoryEntryView` (optional)
Controls whether each returned entry includes memory content. Search scores are always returned.
Defaults to ``FULL``.
Expand Down
10 changes: 7 additions & 3 deletions databricks/sdk/service/aifunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ class AiDecideOptions:
"""ai_decide"""

version: Optional[str] = None
"""The function API version to invoke. Defaults to "1.0". Supported versions: ["1.0"]."""
"""The function API version to invoke. If unset, the version is inferred per row. Supported
versions: ["1.0"]."""

def as_dict(self) -> dict:
"""Serializes the AiDecideOptions into a dictionary suitable for use as a JSON request body."""
Expand Down Expand Up @@ -1004,7 +1005,8 @@ def ai_classify(
:param labels: any
The label set to classify as. Either a JSON array of label strings (e.g. ["spam", "not_spam"]), or a
JSON object mapping each label to a description (e.g. {"spam": "unsolicited bulk message",
"not_spam": "a legitimate message"}). Accepts 2 to 500 labels, each 1 to 100 characters.
"not_spam": "a legitimate message"}). Accepts 2 to 500 labels, each 1 to 100 characters. When
multilabel is true, a single label is also accepted.
:param options: :class:`AiClassifyOptions` (optional)
Function options. Omitted fields fall back to their documented defaults.

Expand Down Expand Up @@ -1032,7 +1034,9 @@ def ai_classify(

def ai_decide(self, state: any, questions: any, *, options: Optional[AiDecideOptions] = None) -> AiDecideResponse:
"""Turn text and structured data into decisions your application can use. Define questions and criteria
to choose an option, estimate a probability, or assign a score given a provided state.
to choose an option, estimate a probability, or assign a score given a provided state. For REST API
requests, the default rate limit is 1,200 requests per minute per workspace. Contact your Databricks
account team to request a higher limit.

:param state: any
A string, JSON object, or array containing the content, related context, and examples needed to
Expand Down
30 changes: 20 additions & 10 deletions databricks/sdk/service/billing.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading