From f77552782ae370bfd5f18eeb73ce960e76f0a6af Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 23 Sep 2026 23:35:12 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ep.GraphEpisode.JsonSerializerContext.g.cs | 40 ++++++++++++++++++- .../Zep.GraphEpisodeClient.ListByGraphId.g.cs | 10 ++++- .../Zep.GraphEpisodeClient.ListByUserId.g.cs | 10 ++++- .../Zep.GraphNode.JsonSerializerContext.g.cs | 2 + ...Zep.IGraphEpisodeClient.ListByGraphId.g.cs | 9 ++++- .../Zep.IGraphEpisodeClient.ListByUserId.g.cs | 9 ++++- .../Zep.IZepClient.UpdatesAMessage.g.cs | 4 +- ...Models.ApidataGraphEpisodeListRequest.g.cs | 21 +++++++++- .../Zep.Models.ApidataThreadMessage.g.cs | 4 +- ...p.Models.ApidataThreadMessageMetadata.g.cs | 2 +- .../Zep.Models.GraphitiEntityEdge.g.cs | 13 ++++++ .../Zep.Models.GraphitiEntityNode.g.cs | 32 +++++++++++++++ .../Zep.Models.ModelsThreadMessageUpdate.g.cs | 6 ++- ...els.ModelsThreadMessageUpdateMetadata.g.cs | 2 +- .../Zep.ZepClient.UpdatesAMessage.g.cs | 4 +- src/libs/Zep/openapi.json | 28 +++++++++++-- 16 files changed, 177 insertions(+), 19 deletions(-) diff --git a/src/libs/Zep/Generated/Zep.GraphEpisode.JsonSerializerContext.g.cs b/src/libs/Zep/Generated/Zep.GraphEpisode.JsonSerializerContext.g.cs index 8326c28..7c7c9c3 100644 --- a/src/libs/Zep/Generated/Zep.GraphEpisode.JsonSerializerContext.g.cs +++ b/src/libs/Zep/Generated/Zep.GraphEpisode.JsonSerializerContext.g.cs @@ -29,14 +29,24 @@ namespace Zep [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiComparisonOperator), TypeInfoPropertyName = "GraphitiComparisonOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiEpisodeMetadataFilter))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiMetadataFilterGroupType), TypeInfoPropertyName = "GraphitiMetadataFilterGroupType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiMetadataFilterGroup))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.ApidataGraphEpisodeListRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.ApidataRoleType?), TypeInfoPropertyName = "NullableApidataRoleType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.ModelsGraphDataType?), TypeInfoPropertyName = "NullableModelsGraphDataType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiComparisonOperator?), TypeInfoPropertyName = "NullableGraphitiComparisonOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiMetadataFilterGroupType?), TypeInfoPropertyName = "NullableGraphitiMetadataFilterGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class GraphEpisodeSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -109,7 +119,15 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Zep.ModelsGraphDataType) - || typeToConvert == typeof(global::Zep.ModelsGraphDataType?); + || typeToConvert == typeof(global::Zep.ModelsGraphDataType?) + + || typeToConvert == typeof(global::Zep.GraphitiComparisonOperator) + + || typeToConvert == typeof(global::Zep.GraphitiComparisonOperator?) + + || typeToConvert == typeof(global::Zep.GraphitiMetadataFilterGroupType) + + || typeToConvert == typeof(global::Zep.GraphitiMetadataFilterGroupType?); } public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( @@ -135,6 +153,26 @@ public override bool CanConvert(global::System.Type typeToConvert) { return new global::Zep.JsonConverters.ModelsGraphDataTypeNullableJsonConverter(); } + + if (typeToConvert == typeof(global::Zep.GraphitiComparisonOperator)) + { + return new global::Zep.JsonConverters.GraphitiComparisonOperatorJsonConverter(); + } + + if (typeToConvert == typeof(global::Zep.GraphitiComparisonOperator?)) + { + return new global::Zep.JsonConverters.GraphitiComparisonOperatorNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Zep.GraphitiMetadataFilterGroupType)) + { + return new global::Zep.JsonConverters.GraphitiMetadataFilterGroupTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::Zep.GraphitiMetadataFilterGroupType?)) + { + return new global::Zep.JsonConverters.GraphitiMetadataFilterGroupTypeNullableJsonConverter(); + } throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); } } diff --git a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByGraphId.g.cs b/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByGraphId.g.cs index 07aa604..0f071ab 100644 --- a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByGraphId.g.cs +++ b/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByGraphId.g.cs @@ -528,13 +528,19 @@ partial void ProcessListByGraphIdResponseContent( /// /// Sort direction. One of "asc" or "desc". Defaults to "desc". /// + /// + /// Restricts results to episodes whose stored metadata matches this
+ /// predicate. Same type and limits as graph.search episode_metadata_filters. + /// /// /// Maximum number of episodes to return. An explicit value is clamped to
/// 50; when omitted, the default page size (100) applies. /// /// /// Restricts results to episodes that mention any of the listed node
- /// UUIDs. At most 256 entries; each must be a syntactically valid UUID. + /// UUIDs. The list can also contain episode UUIDs: an episode UUID
+ /// matches that episode, so one request can return a known set of
+ /// episodes. At most 256 entries; each must be a syntactically valid UUID. /// /// /// Field to sort by. One of "uuid" or "created_at". Defaults to "uuid". @@ -546,6 +552,7 @@ partial void ProcessListByGraphIdResponseContent( string graphId, string? cursor = default, string? direction = default, + global::Zep.GraphitiMetadataFilterGroup? episodeMetadataFilters = default, int? limit = default, global::System.Collections.Generic.IList? mentionedNodeUuids = default, string? orderBy = default, @@ -556,6 +563,7 @@ partial void ProcessListByGraphIdResponseContent( { Cursor = cursor, Direction = direction, + EpisodeMetadataFilters = episodeMetadataFilters, Limit = limit, MentionedNodeUuids = mentionedNodeUuids, OrderBy = orderBy, diff --git a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByUserId.g.cs b/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByUserId.g.cs index bd94ea8..d93815c 100644 --- a/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByUserId.g.cs +++ b/src/libs/Zep/Generated/Zep.GraphEpisodeClient.ListByUserId.g.cs @@ -528,13 +528,19 @@ partial void ProcessListByUserIdResponseContent( /// /// Sort direction. One of "asc" or "desc". Defaults to "desc". /// + /// + /// Restricts results to episodes whose stored metadata matches this
+ /// predicate. Same type and limits as graph.search episode_metadata_filters. + /// /// /// Maximum number of episodes to return. An explicit value is clamped to
/// 50; when omitted, the default page size (100) applies. /// /// /// Restricts results to episodes that mention any of the listed node
- /// UUIDs. At most 256 entries; each must be a syntactically valid UUID. + /// UUIDs. The list can also contain episode UUIDs: an episode UUID
+ /// matches that episode, so one request can return a known set of
+ /// episodes. At most 256 entries; each must be a syntactically valid UUID. /// /// /// Field to sort by. One of "uuid" or "created_at". Defaults to "uuid". @@ -546,6 +552,7 @@ partial void ProcessListByUserIdResponseContent( string userId, string? cursor = default, string? direction = default, + global::Zep.GraphitiMetadataFilterGroup? episodeMetadataFilters = default, int? limit = default, global::System.Collections.Generic.IList? mentionedNodeUuids = default, string? orderBy = default, @@ -556,6 +563,7 @@ partial void ProcessListByUserIdResponseContent( { Cursor = cursor, Direction = direction, + EpisodeMetadataFilters = episodeMetadataFilters, Limit = limit, MentionedNodeUuids = mentionedNodeUuids, OrderBy = orderBy, diff --git a/src/libs/Zep/Generated/Zep.GraphNode.JsonSerializerContext.g.cs b/src/libs/Zep/Generated/Zep.GraphNode.JsonSerializerContext.g.cs index ac58c8e..eef8b4e 100644 --- a/src/libs/Zep/Generated/Zep.GraphNode.JsonSerializerContext.g.cs +++ b/src/libs/Zep/Generated/Zep.GraphNode.JsonSerializerContext.g.cs @@ -22,6 +22,7 @@ namespace Zep [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.ApidataAPIError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiEntityNode))] @@ -43,6 +44,7 @@ namespace Zep [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.ApidataGraphNodeNeighbor))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiComparisonOperator?), TypeInfoPropertyName = "NullableGraphitiComparisonOperator2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Zep.GraphitiMetadataFilterGroupType?), TypeInfoPropertyName = "NullableGraphitiMetadataFilterGroupType2")] diff --git a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByGraphId.g.cs b/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByGraphId.g.cs index e3023b5..c9bb1f7 100644 --- a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByGraphId.g.cs +++ b/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByGraphId.g.cs @@ -46,13 +46,19 @@ public partial interface IGraphEpisodeClient /// /// Sort direction. One of "asc" or "desc". Defaults to "desc". /// + /// + /// Restricts results to episodes whose stored metadata matches this
+ /// predicate. Same type and limits as graph.search episode_metadata_filters. + /// /// /// Maximum number of episodes to return. An explicit value is clamped to
/// 50; when omitted, the default page size (100) applies. /// /// /// Restricts results to episodes that mention any of the listed node
- /// UUIDs. At most 256 entries; each must be a syntactically valid UUID. + /// UUIDs. The list can also contain episode UUIDs: an episode UUID
+ /// matches that episode, so one request can return a known set of
+ /// episodes. At most 256 entries; each must be a syntactically valid UUID. /// /// /// Field to sort by. One of "uuid" or "created_at". Defaults to "uuid". @@ -64,6 +70,7 @@ public partial interface IGraphEpisodeClient string graphId, string? cursor = default, string? direction = default, + global::Zep.GraphitiMetadataFilterGroup? episodeMetadataFilters = default, int? limit = default, global::System.Collections.Generic.IList? mentionedNodeUuids = default, string? orderBy = default, diff --git a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByUserId.g.cs b/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByUserId.g.cs index 501b1f9..6813dcc 100644 --- a/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByUserId.g.cs +++ b/src/libs/Zep/Generated/Zep.IGraphEpisodeClient.ListByUserId.g.cs @@ -46,13 +46,19 @@ public partial interface IGraphEpisodeClient /// /// Sort direction. One of "asc" or "desc". Defaults to "desc". /// + /// + /// Restricts results to episodes whose stored metadata matches this
+ /// predicate. Same type and limits as graph.search episode_metadata_filters. + /// /// /// Maximum number of episodes to return. An explicit value is clamped to
/// 50; when omitted, the default page size (100) applies. /// /// /// Restricts results to episodes that mention any of the listed node
- /// UUIDs. At most 256 entries; each must be a syntactically valid UUID. + /// UUIDs. The list can also contain episode UUIDs: an episode UUID
+ /// matches that episode, so one request can return a known set of
+ /// episodes. At most 256 entries; each must be a syntactically valid UUID. /// /// /// Field to sort by. One of "uuid" or "created_at". Defaults to "uuid". @@ -64,6 +70,7 @@ public partial interface IGraphEpisodeClient string userId, string? cursor = default, string? direction = default, + global::Zep.GraphitiMetadataFilterGroup? episodeMetadataFilters = default, int? limit = default, global::System.Collections.Generic.IList? mentionedNodeUuids = default, string? orderBy = default, diff --git a/src/libs/Zep/Generated/Zep.IZepClient.UpdatesAMessage.g.cs b/src/libs/Zep/Generated/Zep.IZepClient.UpdatesAMessage.g.cs index 2fe0b3c..aaefb7e 100644 --- a/src/libs/Zep/Generated/Zep.IZepClient.UpdatesAMessage.g.cs +++ b/src/libs/Zep/Generated/Zep.IZepClient.UpdatesAMessage.g.cs @@ -39,7 +39,9 @@ public partial interface IZepClient /// Updates a message. /// /// - /// + /// + /// Metadata to store on the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// diff --git a/src/libs/Zep/Generated/Zep.Models.ApidataGraphEpisodeListRequest.g.cs b/src/libs/Zep/Generated/Zep.Models.ApidataGraphEpisodeListRequest.g.cs index 147bb43..673204f 100644 --- a/src/libs/Zep/Generated/Zep.Models.ApidataGraphEpisodeListRequest.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ApidataGraphEpisodeListRequest.g.cs @@ -21,6 +21,13 @@ public sealed partial class ApidataGraphEpisodeListRequest [global::System.Text.Json.Serialization.JsonPropertyName("direction")] public string? Direction { get; set; } + /// + /// Restricts results to episodes whose stored metadata matches this
+ /// predicate. Same type and limits as graph.search episode_metadata_filters. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("episode_metadata_filters")] + public global::Zep.GraphitiMetadataFilterGroup? EpisodeMetadataFilters { get; set; } + /// /// Maximum number of episodes to return. An explicit value is clamped to
/// 50; when omitted, the default page size (100) applies. @@ -30,7 +37,9 @@ public sealed partial class ApidataGraphEpisodeListRequest /// /// Restricts results to episodes that mention any of the listed node
- /// UUIDs. At most 256 entries; each must be a syntactically valid UUID. + /// UUIDs. The list can also contain episode UUIDs: an episode UUID
+ /// matches that episode, so one request can return a known set of
+ /// episodes. At most 256 entries; each must be a syntactically valid UUID. ///
[global::System.Text.Json.Serialization.JsonPropertyName("mentioned_node_uuids")] public global::System.Collections.Generic.IList? MentionedNodeUuids { get; set; } @@ -57,13 +66,19 @@ public sealed partial class ApidataGraphEpisodeListRequest /// /// Sort direction. One of "asc" or "desc". Defaults to "desc". /// + /// + /// Restricts results to episodes whose stored metadata matches this
+ /// predicate. Same type and limits as graph.search episode_metadata_filters. + /// /// /// Maximum number of episodes to return. An explicit value is clamped to
/// 50; when omitted, the default page size (100) applies. /// /// /// Restricts results to episodes that mention any of the listed node
- /// UUIDs. At most 256 entries; each must be a syntactically valid UUID. + /// UUIDs. The list can also contain episode UUIDs: an episode UUID
+ /// matches that episode, so one request can return a known set of
+ /// episodes. At most 256 entries; each must be a syntactically valid UUID. /// /// /// Field to sort by. One of "uuid" or "created_at". Defaults to "uuid". @@ -74,12 +89,14 @@ public sealed partial class ApidataGraphEpisodeListRequest public ApidataGraphEpisodeListRequest( string? cursor, string? direction, + global::Zep.GraphitiMetadataFilterGroup? episodeMetadataFilters, int? limit, global::System.Collections.Generic.IList? mentionedNodeUuids, string? orderBy) { this.Cursor = cursor; this.Direction = direction; + this.EpisodeMetadataFilters = episodeMetadataFilters; this.Limit = limit; this.MentionedNodeUuids = mentionedNodeUuids; this.OrderBy = orderBy; diff --git a/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessage.g.cs b/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessage.g.cs index 497fa42..289c8a1 100644 --- a/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessage.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessage.g.cs @@ -22,7 +22,7 @@ public sealed partial class ApidataThreadMessage public string? CreatedAt { get; set; } /// - /// The metadata associated with the message. + /// The metadata associated with the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. /// [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] public object? Metadata { get; set; } @@ -72,7 +72,7 @@ public sealed partial class ApidataThreadMessage /// The timestamp of when the message was created. /// /// - /// The metadata associated with the message. + /// The metadata associated with the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. /// /// /// Customizable name of the sender of the message (e.g., "john", "sales_agent"). diff --git a/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessageMetadata.g.cs b/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessageMetadata.g.cs index 3800399..11a149c 100644 --- a/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessageMetadata.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ApidataThreadMessageMetadata.g.cs @@ -4,7 +4,7 @@ namespace Zep { /// - /// The metadata associated with the message. + /// The metadata associated with the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. /// public sealed partial class ApidataThreadMessageMetadata { diff --git a/src/libs/Zep/Generated/Zep.Models.GraphitiEntityEdge.g.cs b/src/libs/Zep/Generated/Zep.Models.GraphitiEntityEdge.g.cs index 3b64555..394cfd6 100644 --- a/src/libs/Zep/Generated/Zep.Models.GraphitiEntityEdge.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.GraphitiEntityEdge.g.cs @@ -40,6 +40,13 @@ public sealed partial class GraphitiEntityEdge [global::System.Text.Json.Serialization.JsonRequired] public required string Fact { get; set; } + /// + /// HyperedgeUUID groups the pairwise edges projected from the same atomic
+ /// multi-entity fact. Omitted when the edge is not part of a hyperedge. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("hyperedge_uuid")] + public string? HyperedgeUuid { get; set; } + /// /// Datetime of when the fact stopped being true /// @@ -172,6 +179,10 @@ public sealed partial class GraphitiEntityEdge /// /// Datetime of when the node was invalidated /// + /// + /// HyperedgeUUID groups the pairwise edges projected from the same atomic
+ /// multi-entity fact. Omitted when the edge is not part of a hyperedge. + /// /// /// Datetime of when the fact stopped being true /// @@ -223,6 +234,7 @@ public GraphitiEntityEdge( object? attributes, global::System.Collections.Generic.IList? episodes, string? expiredAt, + string? hyperedgeUuid, string? invalidAt, double? relevance, string? scope, @@ -239,6 +251,7 @@ public GraphitiEntityEdge( this.Episodes = episodes; this.ExpiredAt = expiredAt; this.Fact = fact ?? throw new global::System.ArgumentNullException(nameof(fact)); + this.HyperedgeUuid = hyperedgeUuid; this.InvalidAt = invalidAt; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Relevance = relevance; diff --git a/src/libs/Zep/Generated/Zep.Models.GraphitiEntityNode.g.cs b/src/libs/Zep/Generated/Zep.Models.GraphitiEntityNode.g.cs index 312745b..ea10c2f 100644 --- a/src/libs/Zep/Generated/Zep.Models.GraphitiEntityNode.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.GraphitiEntityNode.g.cs @@ -21,6 +21,23 @@ public sealed partial class GraphitiEntityNode [global::System.Text.Json.Serialization.JsonRequired] public required string CreatedAt { get; set; } + /// + /// The UUIDs of the live episodes that mention this node, newest first. The
+ /// list is complete when `episodes_truncated` is false. The list is empty
+ /// when the node has more than 100 source episodes; list episodes with the
+ /// `mentioned_node_uuids` filter to read them. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("episodes")] + public global::System.Collections.Generic.IList? Episodes { get; set; } + + /// + /// True when the node has more than 100 source episodes, so `episodes` is
+ /// empty, or when provenance is unavailable. False means `episodes` is the
+ /// complete set. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("episodes_truncated")] + public bool? EpisodesTruncated { get; set; } + /// /// Labels associated with the node /// @@ -91,6 +108,17 @@ public sealed partial class GraphitiEntityNode /// /// Additional attributes of the node. Dependent on node labels /// + /// + /// The UUIDs of the live episodes that mention this node, newest first. The
+ /// list is complete when `episodes_truncated` is false. The list is empty
+ /// when the node has more than 100 source episodes; list episodes with the
+ /// `mentioned_node_uuids` filter to read them. + /// + /// + /// True when the node has more than 100 source episodes, so `episodes` is
+ /// empty, or when provenance is unavailable. False means `episodes` is the
+ /// complete set. + /// /// /// Labels associated with the node /// @@ -113,6 +141,8 @@ public GraphitiEntityNode( string summary, string uuid, object? attributes, + global::System.Collections.Generic.IList? episodes, + bool? episodesTruncated, global::System.Collections.Generic.IList? labels, double? relevance, double? score, @@ -120,6 +150,8 @@ public GraphitiEntityNode( { this.Attributes = attributes; this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.Episodes = episodes; + this.EpisodesTruncated = episodesTruncated; this.Labels = labels; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Relevance = relevance; diff --git a/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdate.g.cs b/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdate.g.cs index a218a73..06400dc 100644 --- a/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdate.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdate.g.cs @@ -9,7 +9,7 @@ namespace Zep public sealed partial class ModelsThreadMessageUpdate { /// - /// + /// Metadata to store on the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. /// [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] @@ -24,7 +24,9 @@ public sealed partial class ModelsThreadMessageUpdate /// /// Initializes a new instance of the class. /// - /// + /// + /// Metadata to store on the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdateMetadata.g.cs b/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdateMetadata.g.cs index 4d1e23c..89032dd 100644 --- a/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdateMetadata.g.cs +++ b/src/libs/Zep/Generated/Zep.Models.ModelsThreadMessageUpdateMetadata.g.cs @@ -4,7 +4,7 @@ namespace Zep { /// - /// + /// Metadata to store on the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. /// public sealed partial class ModelsThreadMessageUpdateMetadata { diff --git a/src/libs/Zep/Generated/Zep.ZepClient.UpdatesAMessage.g.cs b/src/libs/Zep/Generated/Zep.ZepClient.UpdatesAMessage.g.cs index 9936685..01d1cea 100644 --- a/src/libs/Zep/Generated/Zep.ZepClient.UpdatesAMessage.g.cs +++ b/src/libs/Zep/Generated/Zep.ZepClient.UpdatesAMessage.g.cs @@ -521,7 +521,9 @@ partial void ProcessUpdatesAMessageResponseContent( /// Updates a message. ///
/// - /// + /// + /// Metadata to store on the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// diff --git a/src/libs/Zep/openapi.json b/src/libs/Zep/openapi.json index cf1e038..eb967cb 100644 --- a/src/libs/Zep/openapi.json +++ b/src/libs/Zep/openapi.json @@ -4630,7 +4630,7 @@ "get": { "operationId": "entity_getEpisodesForANode", "summary": "Get Episodes for a node", - "description": "Deprecated. Use episode listing with `mentioned_node_uuids` (`POST /graph/episodes/graph/{graph_id}` or `POST /graph/episodes/user/{user_id}`) instead. Returns episodes that mentioned a given node, subject to an internal cap; responses reduced by that cap set the Zep-Truncated header.", + "description": "Deprecated. Read the `episodes` field on the node; when `episodes_truncated` is true, use the episode list SDK methods `graph.episode.list_by_graph_id` or `graph.episode.list_by_user_id` with the `mentioned_node_uuids` filter. Returns episodes that mentioned a given node, subject to an internal cap; responses reduced by that cap set the Zep-Truncated header.", "tags": [ "entity" ], @@ -6713,7 +6713,7 @@ "additionalProperties": { "description": "Any type" }, - "description": "The metadata associated with the message." + "description": "The metadata associated with the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars." }, "name": { "type": "string", @@ -6948,7 +6948,8 @@ "type": "object", "additionalProperties": { "description": "Any type" - } + }, + "description": "Metadata to store on the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars." } }, "required": [ @@ -7129,6 +7130,17 @@ "type": "string", "description": "Creation time of the node" }, + "episodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The UUIDs of the live episodes that mention this node, newest first. The\nlist is complete when `episodes_truncated` is false. The list is empty\nwhen the node has more than 100 source episodes; list episodes with the\n`mentioned_node_uuids` filter to read them." + }, + "episodes_truncated": { + "type": "boolean", + "description": "True when the node has more than 100 source episodes, so `episodes` is\nempty, or when provenance is unavailable. False means `episodes` is the\ncomplete set." + }, "labels": { "type": "array", "items": { @@ -7970,6 +7982,10 @@ "type": "string", "description": "Fact representing the edge and nodes that it connects" }, + "hyperedge_uuid": { + "type": "string", + "description": "HyperedgeUUID groups the pairwise edges projected from the same atomic\nmulti-entity fact. Omitted when the edge is not part of a hyperedge." + }, "invalid_at": { "type": "string", "description": "Datetime of when the fact stopped being true" @@ -9134,6 +9150,10 @@ "type": "string", "description": "Sort direction. One of \"asc\" or \"desc\". Defaults to \"desc\"." }, + "episode_metadata_filters": { + "$ref": "#/components/schemas/GraphitiMetadataFilterGroup", + "description": "Restricts results to episodes whose stored metadata matches this\npredicate. Same type and limits as graph.search episode_metadata_filters." + }, "limit": { "type": "integer", "description": "Maximum number of episodes to return. An explicit value is clamped to\n50; when omitted, the default page size (100) applies." @@ -9143,7 +9163,7 @@ "items": { "type": "string" }, - "description": "Restricts results to episodes that mention any of the listed node\nUUIDs. At most 256 entries; each must be a syntactically valid UUID." + "description": "Restricts results to episodes that mention any of the listed node\nUUIDs. The list can also contain episode UUIDs: an episode UUID\nmatches that episode, so one request can return a known set of\nepisodes. At most 256 entries; each must be a syntactically valid UUID." }, "order_by": { "type": "string",