レコード
このページには、Oracle Agent Memoryストアおよび検索APIによって返されるレコード値タイプが表示されます。
ベース・レコード
クラス oracleagentmemory.apis.records.Record
ベース: object
メモリー・ストアおよび検索結果によって返されるベース永続レコード。
- パラメータ:
- id
str– 格納されたレコードの安定した識別子。 - record_type
str–"message"、"memory"、"guideline"、"fact"、"preference"などの論理レコード・タイプ。 - content
str | None– レコード用に格納されるオプションのテキスト・ペイロード。 - thread_id
str | None– オプションのスレッドスコープ識別子。 - user_id
str | None– オプションのユーザースコープ識別子。 - agent_id
str | None– オプションのエージェントスコープ識別子。 - timestamp
str | None– レコードに関連付けられたオプションのイベントタイムスタンプ。 - metadata
dict[str, Any] | None– レコードにアタッチされたオプションのJSONのようなメタデータ・ペイロード。
- id
メッセージ・レコード
クラス oracleagentmemory.apis.records.MessageRecord
ベース: Record
チャットメッセージレコード。
- パラメータ:
- id
str - コンテンツ
str | None - thread_id
str | None - user_id
str | None - agent_id
str | None - タイムスタンプ
str | None - メタデータ
dict[str, Any] | None - role
str | None
- id
メモリー・レコード
クラス oracleagentmemory.apis.records.MemoryRecord
ベース: Record
永続メモリー・レコード。
- パラメータ:
- id
str - コンテンツ
str | None - thread_id
str | None - user_id
str | None - agent_id
str | None - タイムスタンプ
str | None - メタデータ
dict[str, Any] | None
- id
ガイドライン・レコード
クラス oracleagentmemory.apis.records.GuidelineRecord
ベース: Record
一般的な記憶とは別に保存されたガイドライン・レコード。
- パラメータ:
- id
str - コンテンツ
str | None - thread_id
str | None - user_id
str | None - agent_id
str | None - タイムスタンプ
str | None - メタデータ
dict[str, Any] | None
- id
ファクトレコード
クラス oracleagentmemory.apis.records.FactRecord
ベース: Record
一般的な記憶とは別に格納されたファクト・レコード。
- パラメータ:
- id
str - コンテンツ
str | None - thread_id
str | None - user_id
str | None - agent_id
str | None - タイムスタンプ
str | None - メタデータ
dict[str, Any] | None
- id
ユーザープロファイルレコード
クラス oracleagentmemory.apis.records.UserProfileRecord
ベース: Record
ユーザープロファイルレコード。
- パラメータ:
- id
str - コンテンツ
str | None - thread_id
str | None - user_id
str | None - agent_id
str | None - タイムスタンプ
str | None - メタデータ
dict[str, Any] | None
- id
エージェント・プロファイル・レコード
クラス oracleagentmemory.apis.records.AgentProfileRecord
ベース: Record
エージェントプロファイルレコード。
- パラメータ:
- id
str - コンテンツ
str | None - thread_id
str | None - user_id
str | None - agent_id
str | None - タイムスタンプ
str | None - メタデータ
dict[str, Any] | None
- id
スレッド・レコード
クラス oracleagentmemory.apis.records.ThreadRecord
ベース: Record
スレッド・スコープのストア・レコード。
- パラメータ:
- id
str - コンテンツ
str | None - thread_id
str | None - user_id
str | None - agent_id
str | None - タイムスタンプ
str | None - メタデータ
dict[str, Any] | None - runtime_config
dict[str, Any] | None
- id
ヘルパー
oracleagentmemory.apis.records.build_record
格納された行の最も具体的なレコード実装を構築します。
- パラメータ:
- record_type
str– 標準のレコードタイプラベル。 - record_id
str– レコードの安定した公開識別子。 - content
str | None– オプションのテキスト・ペイロード。 - thread_id
str | None– オプションのスレッドスコープ識別子。 - user_id
str | None– オプションのユーザースコープ識別子。 - agent_id
str | None– オプションのエージェントスコープ識別子。 - role
str | None– メッセージレコードにのみ使用されるオプションのチャット役割。 - timestamp
str | None– オプションのイベントタイムスタンプ。 - metadata
dict[str, Any] | None– オプションのメタデータ・ペイロード。 - kwargs
Any– 特定のレコードタイプに対する追加のキーワード引数。
- record_type
- 戻り値:
record_typeで認識される最も具体的なレコード・クラス。 - 返品タイプ: レコード