mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
feat(i18n): update translations (#1653)
This commit is contained in:
@@ -535,7 +535,7 @@ app.post('/sim-webhook', (req, res) => {
|
||||
// Handle error...
|
||||
} else {
|
||||
console.log(`Workflow ${workflowId} completed: ${executionId}`);
|
||||
console.log(`Cost: ${cost.total}`);
|
||||
console.log(`Cost: $${cost.total}`);
|
||||
// Process successful execution...
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -110,6 +110,7 @@ Inhalte aus einem Microsoft Teams-Chat lesen
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `chatId` | string | Ja | Die ID des Chats, aus dem gelesen werden soll |
|
||||
| `includeAttachments` | boolean | Nein | Nachrichtenanhänge \(gehostete Inhalte\) herunterladen und in den Speicher aufnehmen |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
@@ -119,9 +120,10 @@ Inhalte aus einem Microsoft Teams-Chat lesen
|
||||
| `messageCount` | number | Anzahl der aus dem Chat abgerufenen Nachrichten |
|
||||
| `chatId` | string | ID des Chats, aus dem gelesen wurde |
|
||||
| `messages` | array | Array von Chat-Nachrichtenobjekten |
|
||||
| `attachmentCount` | number | Gesamtzahl der gefundenen Anhänge |
|
||||
| `attachmentCount` | number | Gesamtanzahl der gefundenen Anhänge |
|
||||
| `attachmentTypes` | array | Arten der gefundenen Anhänge |
|
||||
| `content` | string | Formatierter Inhalt der Chat-Nachrichten |
|
||||
| `attachments` | file[] | Hochgeladene Anhänge zur Vereinfachung \(abgeflacht\) |
|
||||
|
||||
### `microsoft_teams_write_chat`
|
||||
|
||||
@@ -155,19 +157,21 @@ Inhalte aus einem Microsoft Teams-Kanal lesen
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `teamId` | string | Ja | Die ID des Teams, aus dem gelesen werden soll |
|
||||
| `channelId` | string | Ja | Die ID des Kanals, aus dem gelesen werden soll |
|
||||
| `includeAttachments` | boolean | Nein | Nachrichtenanhänge \(gehostete Inhalte\) herunterladen und in den Speicher aufnehmen |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `success` | boolean | Erfolgsstatus des Lesevorgangs im Teams-Kanal |
|
||||
| `success` | boolean | Erfolgsstatus des Teams-Kanal-Lesevorgangs |
|
||||
| `messageCount` | number | Anzahl der aus dem Kanal abgerufenen Nachrichten |
|
||||
| `teamId` | string | ID des Teams, aus dem gelesen wurde |
|
||||
| `channelId` | string | ID des Kanals, aus dem gelesen wurde |
|
||||
| `messages` | array | Array von Kanalnachrichtenobjekten |
|
||||
| `messages` | array | Array von Kanal-Nachrichtenobjekten |
|
||||
| `attachmentCount` | number | Gesamtanzahl der gefundenen Anhänge |
|
||||
| `attachmentTypes` | array | Arten der gefundenen Anhänge |
|
||||
| `content` | string | Formatierter Inhalt der Kanalnachrichten |
|
||||
| `content` | string | Formatierter Inhalt der Kanal-Nachrichten |
|
||||
| `attachments` | file[] | Hochgeladene Anhänge zur Vereinfachung \(abgeflacht\) |
|
||||
|
||||
### `microsoft_teams_write_channel`
|
||||
|
||||
|
||||
@@ -203,6 +203,7 @@ E-Mails aus Outlook lesen
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `folder` | string | Nein | Ordner-ID, aus der E-Mails gelesen werden sollen \(Standard: Posteingang\) |
|
||||
| `maxResults` | number | Nein | Maximale Anzahl der abzurufenden E-Mails \(Standard: 1, max: 10\) |
|
||||
| `includeAttachments` | boolean | Nein | E-Mail-Anhänge herunterladen und einschließen |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
@@ -210,6 +211,7 @@ E-Mails aus Outlook lesen
|
||||
| --------- | ---- | ----------- |
|
||||
| `message` | string | Erfolgs- oder Statusmeldung |
|
||||
| `results` | array | Array von E-Mail-Nachrichtenobjekten |
|
||||
| `attachments` | file[] | Alle E-Mail-Anhänge, zusammengefasst aus allen E-Mails |
|
||||
|
||||
### `outlook_forward`
|
||||
|
||||
|
||||
242
apps/docs/content/docs/de/tools/zep.mdx
Normal file
242
apps/docs/content/docs/de/tools/zep.mdx
Normal file
@@ -0,0 +1,242 @@
|
||||
---
|
||||
title: Zep
|
||||
description: Langzeitgedächtnis für KI-Agenten
|
||||
---
|
||||
|
||||
import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
|
||||
<BlockInfoCard
|
||||
type="zep"
|
||||
color="#4F46E5"
|
||||
icon={true}
|
||||
iconSvg={`<svg className="block-icon"
|
||||
|
||||
|
||||
|
||||
viewBox='0 0 24 24'
|
||||
fill='none'
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
>
|
||||
<path
|
||||
d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<path
|
||||
d='M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<circle cx='12' cy='12' r='2' fill='currentColor' />
|
||||
<path
|
||||
d='M8 8h8M8 16h8'
|
||||
stroke='currentColor'
|
||||
strokeWidth='1.5'
|
||||
strokeLinecap='round'
|
||||
/>
|
||||
</svg>`}
|
||||
/>
|
||||
|
||||
## Nutzungsanleitung
|
||||
|
||||
Integriere Zep für Langzeitgedächtnisverwaltung. Erstelle Threads, füge Nachrichten hinzu, rufe Kontext mit KI-gestützten Zusammenfassungen und Faktenextraktion ab.
|
||||
|
||||
## Tools
|
||||
|
||||
### `zep_create_thread`
|
||||
|
||||
Starte einen neuen Konversations-Thread in Zep
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Ja | Eindeutige Kennung für den Thread |
|
||||
| `userId` | string | Ja | Benutzer-ID, die mit dem Thread verknüpft ist |
|
||||
| `apiKey` | string | Ja | Dein Zep API-Schlüssel |
|
||||
|
||||
#### Output
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threadId` | string | Die Thread-ID |
|
||||
| `userId` | string | Die Benutzer-ID |
|
||||
| `uuid` | string | Interne UUID |
|
||||
| `createdAt` | string | Erstellungszeitstempel |
|
||||
| `projectUuid` | string | Projekt-UUID |
|
||||
|
||||
### `zep_get_threads`
|
||||
|
||||
Liste alle Konversations-Threads auf
|
||||
|
||||
#### Input
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `pageSize` | number | Nein | Anzahl der Threads, die pro Seite abgerufen werden sollen |
|
||||
| `pageNumber` | number | Nein | Seitennummer für Paginierung |
|
||||
| `orderBy` | string | Nein | Feld, nach dem die Ergebnisse sortiert werden sollen \(created_at, updated_at, user_id, thread_id\) |
|
||||
| `asc` | boolean | Nein | Sortierrichtung: true für aufsteigend, false für absteigend |
|
||||
| `apiKey` | string | Ja | Dein Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | Array von Thread-Objekten |
|
||||
| `responseCount` | number | Anzahl der Threads in dieser Antwort |
|
||||
| `totalCount` | number | Gesamtanzahl der verfügbaren Threads |
|
||||
|
||||
### `zep_delete_thread`
|
||||
|
||||
Einen Konversations-Thread aus Zep löschen
|
||||
|
||||
#### Eingabe
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Ja | Thread-ID zum Löschen |
|
||||
| `apiKey` | string | Ja | Ihr Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `deleted` | boolean | Ob der Thread gelöscht wurde |
|
||||
|
||||
### `zep_get_context`
|
||||
|
||||
Benutzerkontext aus einem Thread mit Zusammenfassungs- oder Basismodus abrufen
|
||||
|
||||
#### Eingabe
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Ja | Thread-ID, aus der der Kontext abgerufen werden soll |
|
||||
| `mode` | string | Nein | Kontextmodus: "summary" \(natürliche Sprache\) oder "basic" \(rohe Fakten\) |
|
||||
| `minRating` | number | Nein | Mindestbewertung, nach der relevante Fakten gefiltert werden |
|
||||
| `apiKey` | string | Ja | Ihr Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | Der Kontextstring \(Zusammenfassung oder Basis\) |
|
||||
| `facts` | array | Extrahierte Fakten |
|
||||
| `entities` | array | Extrahierte Entitäten |
|
||||
| `summary` | string | Konversationszusammenfassung |
|
||||
|
||||
### `zep_get_messages`
|
||||
|
||||
Nachrichten aus einem Thread abrufen
|
||||
|
||||
#### Eingabe
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Ja | Thread-ID, aus der Nachrichten abgerufen werden sollen |
|
||||
| `limit` | number | Nein | Maximale Anzahl der zurückzugebenden Nachrichten |
|
||||
| `cursor` | string | Nein | Cursor für Paginierung |
|
||||
| `lastn` | number | Nein | Anzahl der neuesten Nachrichten, die zurückgegeben werden sollen \(überschreibt Limit und Cursor\) |
|
||||
| `apiKey` | string | Ja | Ihr Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `messages` | array | Array von Nachrichtenobjekten |
|
||||
| `rowCount` | number | Anzahl der Nachrichten in dieser Antwort |
|
||||
| `totalCount` | number | Gesamtanzahl der Nachrichten im Thread |
|
||||
|
||||
### `zep_add_messages`
|
||||
|
||||
Nachrichten zu einem bestehenden Thread hinzufügen
|
||||
|
||||
#### Eingabe
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Ja | Thread-ID, zu der Nachrichten hinzugefügt werden sollen |
|
||||
| `messages` | json | Ja | Array von Nachrichtenobjekten mit Rolle und Inhalt |
|
||||
| `apiKey` | string | Ja | Ihr Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | Aktualisierter Kontext nach dem Hinzufügen von Nachrichten |
|
||||
| `messageIds` | array | Array der hinzugefügten Nachrichten-UUIDs |
|
||||
| `threadId` | string | Die Thread-ID |
|
||||
|
||||
### `zep_add_user`
|
||||
|
||||
Einen neuen Benutzer in Zep erstellen
|
||||
|
||||
#### Eingabe
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | Ja | Eindeutige Kennung für den Benutzer |
|
||||
| `email` | string | Nein | E-Mail-Adresse des Benutzers |
|
||||
| `firstName` | string | Nein | Vorname des Benutzers |
|
||||
| `lastName` | string | Nein | Nachname des Benutzers |
|
||||
| `metadata` | json | Nein | Zusätzliche Metadaten als JSON-Objekt |
|
||||
| `apiKey` | string | Ja | Ihr Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | Die Benutzer-ID |
|
||||
| `email` | string | E-Mail des Benutzers |
|
||||
| `firstName` | string | Vorname des Benutzers |
|
||||
| `lastName` | string | Nachname des Benutzers |
|
||||
| `uuid` | string | Interne UUID |
|
||||
| `createdAt` | string | Erstellungszeitstempel |
|
||||
| `metadata` | object | Benutzermetadaten |
|
||||
|
||||
### `zep_get_user`
|
||||
|
||||
Benutzerinformationen von Zep abrufen
|
||||
|
||||
#### Eingabe
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | Ja | Zu abzurufende Benutzer-ID |
|
||||
| `apiKey` | string | Ja | Ihr Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | Die Benutzer-ID |
|
||||
| `email` | string | E-Mail des Benutzers |
|
||||
| `firstName` | string | Vorname des Benutzers |
|
||||
| `lastName` | string | Nachname des Benutzers |
|
||||
| `uuid` | string | Interne UUID |
|
||||
| `createdAt` | string | Erstellungszeitstempel |
|
||||
| `updatedAt` | string | Zeitstempel der letzten Aktualisierung |
|
||||
| `metadata` | object | Benutzermetadaten |
|
||||
|
||||
### `zep_get_user_threads`
|
||||
|
||||
Alle Konversations-Threads für einen bestimmten Benutzer auflisten
|
||||
|
||||
#### Eingabe
|
||||
|
||||
| Parameter | Typ | Erforderlich | Beschreibung |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | Ja | Benutzer-ID, für die Threads abgerufen werden sollen |
|
||||
| `limit` | number | Nein | Maximale Anzahl der zurückzugebenden Threads |
|
||||
| `apiKey` | string | Ja | Ihr Zep API-Schlüssel |
|
||||
|
||||
#### Ausgabe
|
||||
|
||||
| Parameter | Typ | Beschreibung |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | Array von Thread-Objekten für diesen Benutzer |
|
||||
| `userId` | string | Die Benutzer-ID |
|
||||
|
||||
## Hinweise
|
||||
|
||||
- Kategorie: `tools`
|
||||
- Typ: `zep`
|
||||
@@ -535,7 +535,7 @@ app.post('/sim-webhook', (req, res) => {
|
||||
// Handle error...
|
||||
} else {
|
||||
console.log(`Workflow ${workflowId} completed: ${executionId}`);
|
||||
console.log(`Cost: ${cost.total}`);
|
||||
console.log(`Cost: $${cost.total}`);
|
||||
// Process successful execution...
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -108,8 +108,9 @@ Leer contenido de un chat de Microsoft Teams
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | ----------- | ----------- |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `chatId` | string | Sí | El ID del chat del que leer |
|
||||
| `includeAttachments` | boolean | No | Descargar e incluir archivos adjuntos de mensajes \(contenidos alojados\) en el almacenamiento |
|
||||
|
||||
#### Salida
|
||||
|
||||
@@ -122,6 +123,7 @@ Leer contenido de un chat de Microsoft Teams
|
||||
| `attachmentCount` | number | Número total de archivos adjuntos encontrados |
|
||||
| `attachmentTypes` | array | Tipos de archivos adjuntos encontrados |
|
||||
| `content` | string | Contenido formateado de los mensajes de chat |
|
||||
| `attachments` | file[] | Archivos adjuntos subidos para mayor comodidad \(aplanados\) |
|
||||
|
||||
### `microsoft_teams_write_chat`
|
||||
|
||||
@@ -155,6 +157,7 @@ Leer contenido de un canal de Microsoft Teams
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `teamId` | string | Sí | El ID del equipo del que leer |
|
||||
| `channelId` | string | Sí | El ID del canal del que leer |
|
||||
| `includeAttachments` | boolean | No | Descargar e incluir archivos adjuntos de mensajes \(contenidos alojados\) en el almacenamiento |
|
||||
|
||||
#### Salida
|
||||
|
||||
@@ -168,6 +171,7 @@ Leer contenido de un canal de Microsoft Teams
|
||||
| `attachmentCount` | number | Número total de archivos adjuntos encontrados |
|
||||
| `attachmentTypes` | array | Tipos de archivos adjuntos encontrados |
|
||||
| `content` | string | Contenido formateado de los mensajes del canal |
|
||||
| `attachments` | file[] | Archivos adjuntos subidos para mayor comodidad \(aplanados\) |
|
||||
|
||||
### `microsoft_teams_write_channel`
|
||||
|
||||
|
||||
@@ -201,8 +201,9 @@ Leer correos electrónicos desde Outlook
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `folder` | string | No | ID de la carpeta desde donde leer los correos electrónicos \(predeterminado: Bandeja de entrada\) |
|
||||
| `folder` | string | No | ID de la carpeta para leer correos electrónicos \(predeterminado: Bandeja de entrada\) |
|
||||
| `maxResults` | number | No | Número máximo de correos electrónicos a recuperar \(predeterminado: 1, máximo: 10\) |
|
||||
| `includeAttachments` | boolean | No | Descargar e incluir archivos adjuntos de correo electrónico |
|
||||
|
||||
#### Salida
|
||||
|
||||
@@ -210,6 +211,7 @@ Leer correos electrónicos desde Outlook
|
||||
| --------- | ---- | ----------- |
|
||||
| `message` | string | Mensaje de éxito o estado |
|
||||
| `results` | array | Array de objetos de mensajes de correo electrónico |
|
||||
| `attachments` | file[] | Todos los archivos adjuntos de correo electrónico aplanados de todos los correos |
|
||||
|
||||
### `outlook_forward`
|
||||
|
||||
|
||||
242
apps/docs/content/docs/es/tools/zep.mdx
Normal file
242
apps/docs/content/docs/es/tools/zep.mdx
Normal file
@@ -0,0 +1,242 @@
|
||||
---
|
||||
title: Zep
|
||||
description: Memoria a largo plazo para agentes de IA
|
||||
---
|
||||
|
||||
import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
|
||||
<BlockInfoCard
|
||||
type="zep"
|
||||
color="#4F46E5"
|
||||
icon={true}
|
||||
iconSvg={`<svg className="block-icon"
|
||||
|
||||
|
||||
|
||||
viewBox='0 0 24 24'
|
||||
fill='none'
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
>
|
||||
<path
|
||||
d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<path
|
||||
d='M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<circle cx='12' cy='12' r='2' fill='currentColor' />
|
||||
<path
|
||||
d='M8 8h8M8 16h8'
|
||||
stroke='currentColor'
|
||||
strokeWidth='1.5'
|
||||
strokeLinecap='round'
|
||||
/>
|
||||
</svg>`}
|
||||
/>
|
||||
|
||||
## Instrucciones de uso
|
||||
|
||||
Integra Zep para la gestión de memoria a largo plazo. Crea hilos, añade mensajes, recupera contexto con resúmenes potenciados por IA y extracción de datos relevantes.
|
||||
|
||||
## Herramientas
|
||||
|
||||
### `zep_create_thread`
|
||||
|
||||
Iniciar un nuevo hilo de conversación en Zep
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Sí | Identificador único para el hilo |
|
||||
| `userId` | string | Sí | ID de usuario asociado con el hilo |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threadId` | string | El ID del hilo |
|
||||
| `userId` | string | El ID del usuario |
|
||||
| `uuid` | string | UUID interno |
|
||||
| `createdAt` | string | Marca de tiempo de creación |
|
||||
| `projectUuid` | string | UUID del proyecto |
|
||||
|
||||
### `zep_get_threads`
|
||||
|
||||
Listar todos los hilos de conversación
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `pageSize` | number | No | Número de hilos a recuperar por página |
|
||||
| `pageNumber` | number | No | Número de página para paginación |
|
||||
| `orderBy` | string | No | Campo para ordenar resultados \(created_at, updated_at, user_id, thread_id\) |
|
||||
| `asc` | boolean | No | Dirección de ordenamiento: true para ascendente, false para descendente |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | Array de objetos de hilo |
|
||||
| `responseCount` | number | Número de hilos en esta respuesta |
|
||||
| `totalCount` | number | Número total de hilos disponibles |
|
||||
|
||||
### `zep_delete_thread`
|
||||
|
||||
Eliminar un hilo de conversación de Zep
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Sí | ID del hilo a eliminar |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `deleted` | boolean | Indica si el hilo fue eliminado |
|
||||
|
||||
### `zep_get_context`
|
||||
|
||||
Recuperar el contexto del usuario de un hilo con modo resumen o básico
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Sí | ID del hilo del que obtener el contexto |
|
||||
| `mode` | string | No | Modo de contexto: "summary" \(lenguaje natural\) o "basic" \(hechos sin procesar\) |
|
||||
| `minRating` | number | No | Calificación mínima para filtrar hechos relevantes |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | La cadena de contexto \(resumen o básico\) |
|
||||
| `facts` | array | Hechos extraídos |
|
||||
| `entities` | array | Entidades extraídas |
|
||||
| `summary` | string | Resumen de la conversación |
|
||||
|
||||
### `zep_get_messages`
|
||||
|
||||
Recuperar mensajes de un hilo
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Sí | ID del hilo del que obtener mensajes |
|
||||
| `limit` | number | No | Número máximo de mensajes a devolver |
|
||||
| `cursor` | string | No | Cursor para paginación |
|
||||
| `lastn` | number | No | Número de mensajes más recientes a devolver \(anula el límite y el cursor\) |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `messages` | array | Array de objetos de mensaje |
|
||||
| `rowCount` | number | Número de mensajes en esta respuesta |
|
||||
| `totalCount` | number | Número total de mensajes en el hilo |
|
||||
|
||||
### `zep_add_messages`
|
||||
|
||||
Añadir mensajes a un hilo existente
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Sí | ID del hilo al que añadir mensajes |
|
||||
| `messages` | json | Sí | Array de objetos de mensaje con rol y contenido |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | Contexto actualizado después de añadir mensajes |
|
||||
| `messageIds` | array | Array de UUIDs de mensajes añadidos |
|
||||
| `threadId` | string | El ID del hilo |
|
||||
|
||||
### `zep_add_user`
|
||||
|
||||
Crear un nuevo usuario en Zep
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | ----------- | ----------- |
|
||||
| `userId` | string | Sí | Identificador único para el usuario |
|
||||
| `email` | string | No | Dirección de correo electrónico del usuario |
|
||||
| `firstName` | string | No | Nombre del usuario |
|
||||
| `lastName` | string | No | Apellido del usuario |
|
||||
| `metadata` | json | No | Metadatos adicionales como objeto JSON |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | El ID del usuario |
|
||||
| `email` | string | Correo electrónico del usuario |
|
||||
| `firstName` | string | Nombre del usuario |
|
||||
| `lastName` | string | Apellido del usuario |
|
||||
| `uuid` | string | UUID interno |
|
||||
| `createdAt` | string | Marca de tiempo de creación |
|
||||
| `metadata` | object | Metadatos del usuario |
|
||||
|
||||
### `zep_get_user`
|
||||
|
||||
Recuperar información del usuario de Zep
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | ----------- | ----------- |
|
||||
| `userId` | string | Sí | ID del usuario a recuperar |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | El ID del usuario |
|
||||
| `email` | string | Correo electrónico del usuario |
|
||||
| `firstName` | string | Nombre del usuario |
|
||||
| `lastName` | string | Apellido del usuario |
|
||||
| `uuid` | string | UUID interno |
|
||||
| `createdAt` | string | Marca de tiempo de creación |
|
||||
| `updatedAt` | string | Marca de tiempo de última actualización |
|
||||
| `metadata` | object | Metadatos del usuario |
|
||||
|
||||
### `zep_get_user_threads`
|
||||
|
||||
Listar todos los hilos de conversación para un usuario específico
|
||||
|
||||
#### Entrada
|
||||
|
||||
| Parámetro | Tipo | Obligatorio | Descripción |
|
||||
| --------- | ---- | ----------- | ----------- |
|
||||
| `userId` | string | Sí | ID del usuario para obtener los hilos |
|
||||
| `limit` | number | No | Número máximo de hilos a devolver |
|
||||
| `apiKey` | string | Sí | Tu clave API de Zep |
|
||||
|
||||
#### Salida
|
||||
|
||||
| Parámetro | Tipo | Descripción |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | Array de objetos de hilo para este usuario |
|
||||
| `userId` | string | El ID del usuario |
|
||||
|
||||
## Notas
|
||||
|
||||
- Categoría: `tools`
|
||||
- Tipo: `zep`
|
||||
@@ -535,7 +535,7 @@ app.post('/sim-webhook', (req, res) => {
|
||||
// Handle error...
|
||||
} else {
|
||||
console.log(`Workflow ${workflowId} completed: ${executionId}`);
|
||||
console.log(`Cost: ${cost.total}`);
|
||||
console.log(`Cost: $${cost.total}`);
|
||||
// Process successful execution...
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -108,20 +108,22 @@ Lire le contenu d'un chat Microsoft Teams
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | ---------- | ----------- |
|
||||
| `chatId` | chaîne | Oui | L'ID du chat à lire |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `chatId` | chaîne | Oui | L'ID de la conversation à partir de laquelle lire |
|
||||
| `includeAttachments` | booléen | Non | Télécharger et inclure les pièces jointes des messages \(contenus hébergés\) dans le stockage |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `success` | booléen | Statut de réussite de l'opération de lecture du chat Teams |
|
||||
| `messageCount` | nombre | Nombre de messages récupérés du chat |
|
||||
| `chatId` | chaîne | ID du chat qui a été lu |
|
||||
| `messages` | tableau | Tableau d'objets de messages de chat |
|
||||
| `success` | booléen | Statut de réussite de l'opération de lecture de la conversation Teams |
|
||||
| `messageCount` | nombre | Nombre de messages récupérés de la conversation |
|
||||
| `chatId` | chaîne | ID de la conversation qui a été lue |
|
||||
| `messages` | tableau | Tableau d'objets de messages de conversation |
|
||||
| `attachmentCount` | nombre | Nombre total de pièces jointes trouvées |
|
||||
| `attachmentTypes` | tableau | Types de pièces jointes trouvées |
|
||||
| `content` | chaîne | Contenu formaté des messages de chat |
|
||||
| `content` | chaîne | Contenu formaté des messages de conversation |
|
||||
| `attachments` | fichier[] | Pièces jointes téléchargées pour plus de commodité \(aplaties\) |
|
||||
|
||||
### `microsoft_teams_write_chat`
|
||||
|
||||
@@ -155,6 +157,7 @@ Lire le contenu d'un canal Microsoft Teams
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `teamId` | chaîne | Oui | L'ID de l'équipe à partir de laquelle lire |
|
||||
| `channelId` | chaîne | Oui | L'ID du canal à partir duquel lire |
|
||||
| `includeAttachments` | booléen | Non | Télécharger et inclure les pièces jointes des messages \(contenus hébergés\) dans le stockage |
|
||||
|
||||
#### Sortie
|
||||
|
||||
@@ -162,12 +165,13 @@ Lire le contenu d'un canal Microsoft Teams
|
||||
| --------- | ---- | ----------- |
|
||||
| `success` | booléen | Statut de réussite de l'opération de lecture du canal Teams |
|
||||
| `messageCount` | nombre | Nombre de messages récupérés du canal |
|
||||
| `teamId` | chaîne | ID de l'équipe à partir de laquelle la lecture a été effectuée |
|
||||
| `channelId` | chaîne | ID du canal à partir duquel la lecture a été effectuée |
|
||||
| `teamId` | chaîne | ID de l'équipe qui a été lue |
|
||||
| `channelId` | chaîne | ID du canal qui a été lu |
|
||||
| `messages` | tableau | Tableau d'objets de messages du canal |
|
||||
| `attachmentCount` | nombre | Nombre total de pièces jointes trouvées |
|
||||
| `attachmentTypes` | tableau | Types de pièces jointes trouvées |
|
||||
| `content` | chaîne | Contenu formaté des messages du canal |
|
||||
| `attachments` | fichier[] | Pièces jointes téléchargées pour plus de commodité \(aplaties\) |
|
||||
|
||||
### `microsoft_teams_write_channel`
|
||||
|
||||
|
||||
@@ -200,16 +200,18 @@ Lire des e-mails depuis Outlook
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| --------- | ---- | ---------- | ----------- |
|
||||
| `folder` | string | Non | ID du dossier pour lire les e-mails \(par défaut : Boîte de réception\) |
|
||||
| `maxResults` | number | Non | Nombre maximum d'e-mails à récupérer \(par défaut : 1, max : 10\) |
|
||||
| `includeAttachments` | boolean | Non | Télécharger et inclure les pièces jointes des e-mails |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `message` | string | Message de succès ou d'état |
|
||||
| `results` | array | Tableau d'objets de messages électroniques |
|
||||
| `message` | string | Message de succès ou de statut |
|
||||
| `results` | array | Tableau d'objets de messages e-mail |
|
||||
| `attachments` | file[] | Toutes les pièces jointes des e-mails regroupées de tous les e-mails |
|
||||
|
||||
### `outlook_forward`
|
||||
|
||||
|
||||
242
apps/docs/content/docs/fr/tools/zep.mdx
Normal file
242
apps/docs/content/docs/fr/tools/zep.mdx
Normal file
@@ -0,0 +1,242 @@
|
||||
---
|
||||
title: Zep
|
||||
description: Mémoire à long terme pour les agents IA
|
||||
---
|
||||
|
||||
import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
|
||||
<BlockInfoCard
|
||||
type="zep"
|
||||
color="#4F46E5"
|
||||
icon={true}
|
||||
iconSvg={`<svg className="block-icon"
|
||||
|
||||
|
||||
|
||||
viewBox='0 0 24 24'
|
||||
fill='none'
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
>
|
||||
<path
|
||||
d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<path
|
||||
d='M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<circle cx='12' cy='12' r='2' fill='currentColor' />
|
||||
<path
|
||||
d='M8 8h8M8 16h8'
|
||||
stroke='currentColor'
|
||||
strokeWidth='1.5'
|
||||
strokeLinecap='round'
|
||||
/>
|
||||
</svg>`}
|
||||
/>
|
||||
|
||||
## Instructions d'utilisation
|
||||
|
||||
Intégrez Zep pour la gestion de la mémoire à long terme. Créez des fils de discussion, ajoutez des messages, récupérez du contexte avec des résumés générés par IA et extraction de faits.
|
||||
|
||||
## Outils
|
||||
|
||||
### `zep_create_thread`
|
||||
|
||||
Démarrer un nouveau fil de conversation dans Zep
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Oui | Identifiant unique pour le fil de discussion |
|
||||
| `userId` | string | Oui | ID utilisateur associé au fil de discussion |
|
||||
| `apiKey` | string | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threadId` | string | L'ID du fil de discussion |
|
||||
| `userId` | string | L'ID utilisateur |
|
||||
| `uuid` | string | UUID interne |
|
||||
| `createdAt` | string | Horodatage de création |
|
||||
| `projectUuid` | string | UUID du projet |
|
||||
|
||||
### `zep_get_threads`
|
||||
|
||||
Lister tous les fils de conversation
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `pageSize` | number | Non | Nombre de fils à récupérer par page |
|
||||
| `pageNumber` | number | Non | Numéro de page pour la pagination |
|
||||
| `orderBy` | string | Non | Champ pour ordonner les résultats \(created_at, updated_at, user_id, thread_id\) |
|
||||
| `asc` | boolean | Non | Direction de tri : true pour ascendant, false pour descendant |
|
||||
| `apiKey` | string | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | Tableau d'objets de fil de discussion |
|
||||
| `responseCount` | number | Nombre de fils de discussion dans cette réponse |
|
||||
| `totalCount` | number | Nombre total de fils de discussion disponibles |
|
||||
|
||||
### `zep_delete_thread`
|
||||
|
||||
Supprimer un fil de conversation de Zep
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Oui | ID du fil de discussion à supprimer |
|
||||
| `apiKey` | string | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `deleted` | boolean | Indique si le fil de discussion a été supprimé |
|
||||
|
||||
### `zep_get_context`
|
||||
|
||||
Récupérer le contexte utilisateur d'un fil de discussion en mode résumé ou basique
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | Oui | ID du fil de discussion pour obtenir le contexte |
|
||||
| `mode` | string | Non | Mode de contexte : "summary" \(langage naturel\) ou "basic" \(faits bruts\) |
|
||||
| `minRating` | number | Non | Note minimale pour filtrer les faits pertinents |
|
||||
| `apiKey` | string | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | La chaîne de contexte \(résumé ou basique\) |
|
||||
| `facts` | array | Faits extraits |
|
||||
| `entities` | array | Entités extraites |
|
||||
| `summary` | string | Résumé de la conversation |
|
||||
|
||||
### `zep_get_messages`
|
||||
|
||||
Récupérer les messages d'un fil de discussion
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | ----------- | ----------- |
|
||||
| `threadId` | chaîne | Oui | ID du fil de discussion pour récupérer les messages |
|
||||
| `limit` | nombre | Non | Nombre maximum de messages à renvoyer |
|
||||
| `cursor` | chaîne | Non | Curseur pour la pagination |
|
||||
| `lastn` | nombre | Non | Nombre de messages les plus récents à renvoyer \(remplace la limite et le curseur\) |
|
||||
| `apiKey` | chaîne | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `messages` | tableau | Tableau d'objets message |
|
||||
| `rowCount` | nombre | Nombre de messages dans cette réponse |
|
||||
| `totalCount` | nombre | Nombre total de messages dans le fil de discussion |
|
||||
|
||||
### `zep_add_messages`
|
||||
|
||||
Ajouter des messages à un fil de discussion existant
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | ----------- | ----------- |
|
||||
| `threadId` | chaîne | Oui | ID du fil de discussion auquel ajouter des messages |
|
||||
| `messages` | json | Oui | Tableau d'objets message avec rôle et contenu |
|
||||
| `apiKey` | chaîne | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | chaîne | Contexte mis à jour après l'ajout des messages |
|
||||
| `messageIds` | tableau | Tableau des UUID des messages ajoutés |
|
||||
| `threadId` | chaîne | L'ID du fil de discussion |
|
||||
|
||||
### `zep_add_user`
|
||||
|
||||
Créer un nouvel utilisateur dans Zep
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | Oui | Identifiant unique pour l'utilisateur |
|
||||
| `email` | string | Non | Adresse e-mail de l'utilisateur |
|
||||
| `firstName` | string | Non | Prénom de l'utilisateur |
|
||||
| `lastName` | string | Non | Nom de famille de l'utilisateur |
|
||||
| `metadata` | json | Non | Métadonnées supplémentaires sous forme d'objet JSON |
|
||||
| `apiKey` | string | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | L'identifiant de l'utilisateur |
|
||||
| `email` | string | E-mail de l'utilisateur |
|
||||
| `firstName` | string | Prénom de l'utilisateur |
|
||||
| `lastName` | string | Nom de famille de l'utilisateur |
|
||||
| `uuid` | string | UUID interne |
|
||||
| `createdAt` | string | Horodatage de création |
|
||||
| `metadata` | object | Métadonnées de l'utilisateur |
|
||||
|
||||
### `zep_get_user`
|
||||
|
||||
Récupérer les informations d'un utilisateur depuis Zep
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | Oui | ID de l'utilisateur à récupérer |
|
||||
| `apiKey` | string | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | L'identifiant de l'utilisateur |
|
||||
| `email` | string | E-mail de l'utilisateur |
|
||||
| `firstName` | string | Prénom de l'utilisateur |
|
||||
| `lastName` | string | Nom de famille de l'utilisateur |
|
||||
| `uuid` | string | UUID interne |
|
||||
| `createdAt` | string | Horodatage de création |
|
||||
| `updatedAt` | string | Horodatage de dernière mise à jour |
|
||||
| `metadata` | object | Métadonnées de l'utilisateur |
|
||||
|
||||
### `zep_get_user_threads`
|
||||
|
||||
Lister tous les fils de conversation pour un utilisateur spécifique
|
||||
|
||||
#### Entrée
|
||||
|
||||
| Paramètre | Type | Obligatoire | Description |
|
||||
| --------- | ---- | ----------- | ----------- |
|
||||
| `userId` | chaîne | Oui | ID de l'utilisateur pour lequel obtenir les fils |
|
||||
| `limit` | nombre | Non | Nombre maximum de fils à retourner |
|
||||
| `apiKey` | chaîne | Oui | Votre clé API Zep |
|
||||
|
||||
#### Sortie
|
||||
|
||||
| Paramètre | Type | Description |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | tableau | Tableau d'objets de fils pour cet utilisateur |
|
||||
| `userId` | chaîne | L'ID de l'utilisateur |
|
||||
|
||||
## Notes
|
||||
|
||||
- Catégorie : `tools`
|
||||
- Type : `zep`
|
||||
@@ -535,7 +535,7 @@ app.post('/sim-webhook', (req, res) => {
|
||||
// Handle error...
|
||||
} else {
|
||||
console.log(`Workflow ${workflowId} completed: ${executionId}`);
|
||||
console.log(`Cost: ${cost.total}`);
|
||||
console.log(`Cost: $${cost.total}`);
|
||||
// Process successful execution...
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -110,6 +110,7 @@ Microsoft Teamsチャットからコンテンツを読み取る
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `chatId` | string | はい | 読み取り元のチャットID |
|
||||
| `includeAttachments` | boolean | いいえ | メッセージの添付ファイル(ホストされたコンテンツ)をダウンロードしてストレージに含める |
|
||||
|
||||
#### 出力
|
||||
|
||||
@@ -122,6 +123,7 @@ Microsoft Teamsチャットからコンテンツを読み取る
|
||||
| `attachmentCount` | number | 見つかった添付ファイルの総数 |
|
||||
| `attachmentTypes` | array | 見つかった添付ファイルの種類 |
|
||||
| `content` | string | チャットメッセージのフォーマット済みコンテンツ |
|
||||
| `attachments` | file[] | 利便性のためにアップロードされた添付ファイル(フラット化済み) |
|
||||
|
||||
### `microsoft_teams_write_chat`
|
||||
|
||||
@@ -155,19 +157,21 @@ Microsoft Teams チャネルからコンテンツを読み取る
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `teamId` | string | はい | 読み取り元のチームID |
|
||||
| `channelId` | string | はい | 読み取り元のチャネルID |
|
||||
| `includeAttachments` | boolean | いいえ | メッセージの添付ファイル(ホストされたコンテンツ)をダウンロードしてストレージに含める |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `success` | boolean | Teams チャネル読み取り操作の成功ステータス |
|
||||
| `messageCount` | number | チャネルから取得したメッセージの数 |
|
||||
| `success` | boolean | Teamsチャネル読み取り操作の成功ステータス |
|
||||
| `messageCount` | number | チャネルから取得したメッセージ数 |
|
||||
| `teamId` | string | 読み取り元のチームID |
|
||||
| `channelId` | string | 読み取り元のチャネルID |
|
||||
| `messages` | array | チャネルメッセージオブジェクトの配列 |
|
||||
| `attachmentCount` | number | 見つかった添付ファイルの総数 |
|
||||
| `attachmentTypes` | array | 見つかった添付ファイルの種類 |
|
||||
| `content` | string | チャネルメッセージのフォーマット済みコンテンツ |
|
||||
| `attachments` | file[] | 利便性のためにアップロードされた添付ファイル(フラット化済み) |
|
||||
|
||||
### `microsoft_teams_write_channel`
|
||||
|
||||
|
||||
@@ -201,8 +201,9 @@ Outlookからメールを読み取る
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `folder` | string | いいえ | メールを読み取るフォルダID(デフォルト:受信トレイ) |
|
||||
| `folder` | string | いいえ | メールを読み込むフォルダID(デフォルト:受信トレイ) |
|
||||
| `maxResults` | number | いいえ | 取得するメールの最大数(デフォルト:1、最大:10) |
|
||||
| `includeAttachments` | boolean | いいえ | メールの添付ファイルをダウンロードして含める |
|
||||
|
||||
#### 出力
|
||||
|
||||
@@ -210,6 +211,7 @@ Outlookからメールを読み取る
|
||||
| --------- | ---- | ----------- |
|
||||
| `message` | string | 成功またはステータスメッセージ |
|
||||
| `results` | array | メールメッセージオブジェクトの配列 |
|
||||
| `attachments` | file[] | すべてのメールからの添付ファイルをまとめたもの |
|
||||
|
||||
### `outlook_forward`
|
||||
|
||||
|
||||
242
apps/docs/content/docs/ja/tools/zep.mdx
Normal file
242
apps/docs/content/docs/ja/tools/zep.mdx
Normal file
@@ -0,0 +1,242 @@
|
||||
---
|
||||
title: Zep
|
||||
description: AIエージェント用の長期記憶
|
||||
---
|
||||
|
||||
import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
|
||||
<BlockInfoCard
|
||||
type="zep"
|
||||
color="#4F46E5"
|
||||
icon={true}
|
||||
iconSvg={`<svg className="block-icon"
|
||||
|
||||
|
||||
|
||||
viewBox='0 0 24 24'
|
||||
fill='none'
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
>
|
||||
<path
|
||||
d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<path
|
||||
d='M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<circle cx='12' cy='12' r='2' fill='currentColor' />
|
||||
<path
|
||||
d='M8 8h8M8 16h8'
|
||||
stroke='currentColor'
|
||||
strokeWidth='1.5'
|
||||
strokeLinecap='round'
|
||||
/>
|
||||
</svg>`}
|
||||
/>
|
||||
|
||||
## 使用方法
|
||||
|
||||
Zepを統合して長期記憶管理を実現。スレッドの作成、メッセージの追加、AI駆動の要約や事実抽出によるコンテキストの取得が可能です。
|
||||
|
||||
## ツール
|
||||
|
||||
### `zep_create_thread`
|
||||
|
||||
Zepで新しい会話スレッドを開始する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | はい | スレッドの一意の識別子 |
|
||||
| `userId` | string | はい | スレッドに関連付けられたユーザーID |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threadId` | string | スレッドID |
|
||||
| `userId` | string | ユーザーID |
|
||||
| `uuid` | string | 内部UUID |
|
||||
| `createdAt` | string | 作成タイムスタンプ |
|
||||
| `projectUuid` | string | プロジェクトUUID |
|
||||
|
||||
### `zep_get_threads`
|
||||
|
||||
すべての会話スレッドを一覧表示する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `pageSize` | number | いいえ | 1ページあたりに取得するスレッド数 |
|
||||
| `pageNumber` | number | いいえ | ページネーションのページ番号 |
|
||||
| `orderBy` | string | いいえ | 結果を並べ替える項目(created_at、updated_at、user_id、thread_id) |
|
||||
| `asc` | boolean | いいえ | 並べ替え方向:昇順はtrue、降順はfalse |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | スレッドオブジェクトの配列 |
|
||||
| `responseCount` | number | このレスポンスに含まれるスレッドの数 |
|
||||
| `totalCount` | number | 利用可能なスレッドの総数 |
|
||||
|
||||
### `zep_delete_thread`
|
||||
|
||||
Zepから会話スレッドを削除する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | はい | 削除するスレッドID |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `deleted` | boolean | スレッドが削除されたかどうか |
|
||||
|
||||
### `zep_get_context`
|
||||
|
||||
サマリーモードまたは基本モードでスレッドからユーザーコンテキストを取得する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | はい | コンテキストを取得するスレッドID |
|
||||
| `mode` | string | いいえ | コンテキストモード:「summary」(自然言語)または「basic」(生のファクト) |
|
||||
| `minRating` | number | いいえ | 関連するファクトをフィルタリングする最小評価 |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | コンテキスト文字列(サマリーまたは基本) |
|
||||
| `facts` | array | 抽出されたファクト |
|
||||
| `entities` | array | 抽出されたエンティティ |
|
||||
| `summary` | string | 会話のサマリー |
|
||||
|
||||
### `zep_get_messages`
|
||||
|
||||
スレッドからメッセージを取得する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | はい | メッセージを取得するスレッドID |
|
||||
| `limit` | number | いいえ | 返すメッセージの最大数 |
|
||||
| `cursor` | string | いいえ | ページネーション用のカーソル |
|
||||
| `lastn` | number | いいえ | 返す最新メッセージの数(limitとcursorより優先される) |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `messages` | array | メッセージオブジェクトの配列 |
|
||||
| `rowCount` | number | このレスポンスに含まれるメッセージの数 |
|
||||
| `totalCount` | number | スレッド内のメッセージの総数 |
|
||||
|
||||
### `zep_add_messages`
|
||||
|
||||
既存のスレッドにメッセージを追加する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | はい | メッセージを追加するスレッドID |
|
||||
| `messages` | json | はい | ロールとコンテンツを持つメッセージオブジェクトの配列 |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | メッセージ追加後の更新されたコンテキスト |
|
||||
| `messageIds` | array | 追加されたメッセージUUIDの配列 |
|
||||
| `threadId` | string | スレッドID |
|
||||
|
||||
### `zep_add_user`
|
||||
|
||||
Zepで新しいユーザーを作成する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | はい | ユーザーの一意の識別子 |
|
||||
| `email` | string | いいえ | ユーザーのメールアドレス |
|
||||
| `firstName` | string | いいえ | ユーザーの名 |
|
||||
| `lastName` | string | いいえ | ユーザーの姓 |
|
||||
| `metadata` | json | いいえ | JSONオブジェクトとしての追加メタデータ |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | ユーザーID |
|
||||
| `email` | string | ユーザーのメール |
|
||||
| `firstName` | string | ユーザーの名 |
|
||||
| `lastName` | string | ユーザーの姓 |
|
||||
| `uuid` | string | 内部UUID |
|
||||
| `createdAt` | string | 作成タイムスタンプ |
|
||||
| `metadata` | object | ユーザーメタデータ |
|
||||
|
||||
### `zep_get_user`
|
||||
|
||||
Zepからユーザー情報を取得する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | はい | 取得するユーザーID |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | ユーザーID |
|
||||
| `email` | string | ユーザーのメール |
|
||||
| `firstName` | string | ユーザーの名 |
|
||||
| `lastName` | string | ユーザーの姓 |
|
||||
| `uuid` | string | 内部UUID |
|
||||
| `createdAt` | string | 作成タイムスタンプ |
|
||||
| `updatedAt` | string | 最終更新タイムスタンプ |
|
||||
| `metadata` | object | ユーザーメタデータ |
|
||||
|
||||
### `zep_get_user_threads`
|
||||
|
||||
特定のユーザーのすべての会話スレッドを一覧表示する
|
||||
|
||||
#### 入力
|
||||
|
||||
| パラメータ | 型 | 必須 | 説明 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | はい | スレッドを取得するユーザーID |
|
||||
| `limit` | number | いいえ | 返すスレッドの最大数 |
|
||||
| `apiKey` | string | はい | あなたのZep APIキー |
|
||||
|
||||
#### 出力
|
||||
|
||||
| パラメータ | 型 | 説明 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | このユーザーのスレッドオブジェクトの配列 |
|
||||
| `userId` | string | ユーザーID |
|
||||
|
||||
## 注意事項
|
||||
|
||||
- カテゴリー: `tools`
|
||||
- タイプ: `zep`
|
||||
@@ -535,7 +535,7 @@ app.post('/sim-webhook', (req, res) => {
|
||||
// Handle error...
|
||||
} else {
|
||||
console.log(`Workflow ${workflowId} completed: ${executionId}`);
|
||||
console.log(`Cost: ${cost.total}`);
|
||||
console.log(`Cost: $${cost.total}`);
|
||||
// Process successful execution...
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -110,6 +110,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `chatId` | string | 是 | 要读取的聊天 ID |
|
||||
| `includeAttachments` | boolean | 否 | 下载并将消息附件(托管内容)包含到存储中 |
|
||||
|
||||
#### 输出
|
||||
|
||||
@@ -117,11 +118,12 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
| --------- | ---- | ----------- |
|
||||
| `success` | boolean | Teams 聊天读取操作成功状态 |
|
||||
| `messageCount` | number | 从聊天中检索到的消息数量 |
|
||||
| `chatId` | string | 已读取的聊天 ID |
|
||||
| `chatId` | string | 读取的聊天 ID |
|
||||
| `messages` | array | 聊天消息对象的数组 |
|
||||
| `attachmentCount` | number | 找到的附件总数 |
|
||||
| `attachmentTypes` | array | 找到的附件类型 |
|
||||
| `content` | string | 聊天消息的格式化内容 |
|
||||
| `attachments` | file[] | 为方便起见上传的附件(扁平化) |
|
||||
|
||||
### `microsoft_teams_write_chat`
|
||||
|
||||
@@ -155,19 +157,21 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `teamId` | string | 是 | 要读取的团队 ID |
|
||||
| `channelId` | string | 是 | 要读取的频道 ID |
|
||||
| `includeAttachments` | boolean | 否 | 下载并将消息附件(托管内容)包含到存储中 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `success` | boolean | Teams 频道读取操作成功状态 |
|
||||
| `messageCount` | number | 从频道检索到的消息数量 |
|
||||
| `messageCount` | number | 从频道中检索到的消息数量 |
|
||||
| `teamId` | string | 读取的团队 ID |
|
||||
| `channelId` | string | 读取的频道 ID |
|
||||
| `messages` | array | 频道消息对象的数组 |
|
||||
| `attachmentCount` | number | 找到的附件总数 |
|
||||
| `attachmentTypes` | array | 找到的附件类型 |
|
||||
| `content` | string | 频道消息的格式化内容 |
|
||||
| `attachments` | file[] | 为方便起见上传的附件(扁平化) |
|
||||
|
||||
### `microsoft_teams_write_channel`
|
||||
|
||||
|
||||
@@ -202,7 +202,8 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `folder` | string | 否 | 要读取邮件的文件夹 ID(默认:收件箱) |
|
||||
| `maxResults` | number | 否 | 要检索的最大邮件数量(默认:1,最大:10) |
|
||||
| `maxResults` | number | 否 | 要检索的最大邮件数量(默认:1,最大值:10) |
|
||||
| `includeAttachments` | boolean | 否 | 下载并包含邮件附件 |
|
||||
|
||||
#### 输出
|
||||
|
||||
@@ -210,6 +211,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
| --------- | ---- | ----------- |
|
||||
| `message` | string | 成功或状态消息 |
|
||||
| `results` | array | 邮件消息对象的数组 |
|
||||
| `attachments` | file[] | 从所有邮件中提取的所有邮件附件 |
|
||||
|
||||
### `outlook_forward`
|
||||
|
||||
|
||||
242
apps/docs/content/docs/zh/tools/zep.mdx
Normal file
242
apps/docs/content/docs/zh/tools/zep.mdx
Normal file
@@ -0,0 +1,242 @@
|
||||
---
|
||||
title: Zep
|
||||
description: 为 AI 代理提供长期记忆
|
||||
---
|
||||
|
||||
import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||||
|
||||
<BlockInfoCard
|
||||
type="zep"
|
||||
color="#4F46E5"
|
||||
icon={true}
|
||||
iconSvg={`<svg className="block-icon"
|
||||
|
||||
|
||||
|
||||
viewBox='0 0 24 24'
|
||||
fill='none'
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
>
|
||||
<path
|
||||
d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<path
|
||||
d='M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z'
|
||||
fill='currentColor'
|
||||
/>
|
||||
<circle cx='12' cy='12' r='2' fill='currentColor' />
|
||||
<path
|
||||
d='M8 8h8M8 16h8'
|
||||
stroke='currentColor'
|
||||
strokeWidth='1.5'
|
||||
strokeLinecap='round'
|
||||
/>
|
||||
</svg>`}
|
||||
/>
|
||||
|
||||
## 使用说明
|
||||
|
||||
集成 Zep 以管理长期记忆。创建线程、添加消息、通过 AI 驱动的摘要和事实提取功能检索上下文。
|
||||
|
||||
## 工具
|
||||
|
||||
### `zep_create_thread`
|
||||
|
||||
在 Zep 中开始一个新的对话线程
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | 是 | 线程的唯一标识符 |
|
||||
| `userId` | string | 是 | 与线程关联的用户 ID |
|
||||
| `apiKey` | string | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threadId` | string | 线程 ID |
|
||||
| `userId` | string | 用户 ID |
|
||||
| `uuid` | string | 内部 UUID |
|
||||
| `createdAt` | string | 创建时间戳 |
|
||||
| `projectUuid` | string | 项目 UUID |
|
||||
|
||||
### `zep_get_threads`
|
||||
|
||||
列出所有对话线程
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `pageSize` | number | 否 | 每页检索的线程数量 |
|
||||
| `pageNumber` | number | 否 | 分页的页码 |
|
||||
| `orderBy` | string | 否 | 用于排序结果的字段 \(created_at, updated_at, user_id, thread_id\) |
|
||||
| `asc` | boolean | 否 | 排序方向:true 表示升序,false 表示降序 |
|
||||
| `apiKey` | string | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | 数组 | 线程对象的数组 |
|
||||
| `responseCount` | 数字 | 此响应中的线程数量 |
|
||||
| `totalCount` | 数字 | 可用线程的总数 |
|
||||
|
||||
### `zep_delete_thread`
|
||||
|
||||
从 Zep 中删除会话线程
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | 字符串 | 是 | 要删除的线程 ID |
|
||||
| `apiKey` | 字符串 | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `deleted` | 布尔值 | 线程是否已被删除 |
|
||||
|
||||
### `zep_get_context`
|
||||
|
||||
从线程中检索用户上下文,支持摘要模式或基本模式
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | 字符串 | 是 | 要获取上下文的线程 ID |
|
||||
| `mode` | 字符串 | 否 | 上下文模式:"summary"(自然语言)或 "basic"(原始事实) |
|
||||
| `minRating` | 数字 | 否 | 用于筛选相关事实的最低评分 |
|
||||
| `apiKey` | 字符串 | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | 字符串 | 上下文字符串(摘要或基本) |
|
||||
| `facts` | 数组 | 提取的事实 |
|
||||
| `entities` | 数组 | 提取的实体 |
|
||||
| `summary` | 字符串 | 会话摘要 |
|
||||
|
||||
### `zep_get_messages`
|
||||
|
||||
从线程中检索消息
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | 是 | 要从中获取消息的线程 ID |
|
||||
| `limit` | number | 否 | 要返回的最大消息数 |
|
||||
| `cursor` | string | 否 | 用于分页的游标 |
|
||||
| `lastn` | number | 否 | 要返回的最新消息数(覆盖限制和游标) |
|
||||
| `apiKey` | string | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `messages` | array | 消息对象数组 |
|
||||
| `rowCount` | number | 此响应中的消息数 |
|
||||
| `totalCount` | number | 线程中的消息总数 |
|
||||
|
||||
### `zep_add_messages`
|
||||
|
||||
向现有线程添加消息
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `threadId` | string | 是 | 要添加消息的线程 ID |
|
||||
| `messages` | json | 是 | 包含角色和内容的消息对象数组 |
|
||||
| `apiKey` | string | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `context` | string | 添加消息后的更新上下文 |
|
||||
| `messageIds` | array | 添加的消息 UUID 数组 |
|
||||
| `threadId` | string | 线程 ID |
|
||||
|
||||
### `zep_add_user`
|
||||
|
||||
在 Zep 中创建新用户
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | 是 | 用户的唯一标识符 |
|
||||
| `email` | string | 否 | 用户的电子邮件地址 |
|
||||
| `firstName` | string | 否 | 用户的名字 |
|
||||
| `lastName` | string | 否 | 用户的姓氏 |
|
||||
| `metadata` | json | 否 | 作为 JSON 对象的附加元数据 |
|
||||
| `apiKey` | string | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | 用户 ID |
|
||||
| `email` | string | 用户电子邮件 |
|
||||
| `firstName` | string | 用户名字 |
|
||||
| `lastName` | string | 用户姓氏 |
|
||||
| `uuid` | string | 内部 UUID |
|
||||
| `createdAt` | string | 创建时间戳 |
|
||||
| `metadata` | object | 用户元数据 |
|
||||
|
||||
### `zep_get_user`
|
||||
|
||||
从 Zep 检索用户信息
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | 是 | 要检索的用户 ID |
|
||||
| `apiKey` | string | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `userId` | string | 用户 ID |
|
||||
| `email` | string | 用户电子邮件 |
|
||||
| `firstName` | string | 用户名字 |
|
||||
| `lastName` | string | 用户姓氏 |
|
||||
| `uuid` | string | 内部 UUID |
|
||||
| `createdAt` | string | 创建时间戳 |
|
||||
| `updatedAt` | string | 最后更新时间戳 |
|
||||
| `metadata` | object | 用户元数据 |
|
||||
|
||||
### `zep_get_user_threads`
|
||||
|
||||
列出特定用户的所有会话线程
|
||||
|
||||
#### 输入
|
||||
|
||||
| 参数 | 类型 | 必需 | 描述 |
|
||||
| --------- | ---- | -------- | ----------- |
|
||||
| `userId` | string | 是 | 要获取线程的用户 ID |
|
||||
| `limit` | number | 否 | 要返回的最大线程数 |
|
||||
| `apiKey` | string | 是 | 您的 Zep API 密钥 |
|
||||
|
||||
#### 输出
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
| --------- | ---- | ----------- |
|
||||
| `threads` | array | 此用户的线程对象数组 |
|
||||
| `userId` | string | 用户 ID |
|
||||
|
||||
## 注意
|
||||
|
||||
- 类别:`tools`
|
||||
- 类型:`zep`
|
||||
@@ -1069,9 +1069,9 @@ checksums:
|
||||
content/21: d80aeca589a53111bf1695cdd331cf5b
|
||||
content/22: 7b2c4f76f939ba476f20884ac61751b9
|
||||
content/23: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/24: d206d570561bd417cc86709da5cd0a3f
|
||||
content/24: f61d9276ee4bd63f2ee11373ccd369f3
|
||||
content/25: bcadfc362b69078beee0088e5936c98b
|
||||
content/26: 77cd968476a6749228f609c8587b80dd
|
||||
content/26: 743955528584fad4940470d1bc42c0d1
|
||||
content/27: 7098784fe9ea35a3343e7c5cc6a34f59
|
||||
content/28: 85608495eeeed8f3d33c1f0516435a07
|
||||
content/29: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
@@ -1310,9 +1310,9 @@ checksums:
|
||||
content/9: 66821a30fb30695c77e7b0a6337979c1
|
||||
content/10: 2b79e754c09db25e8eba249a66f4a1ca
|
||||
content/11: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/12: bbd02f60e378bf414d63c782ef4a7cde
|
||||
content/12: 3b87d760806aebeb82653f4eed06e08f
|
||||
content/13: bcadfc362b69078beee0088e5936c98b
|
||||
content/14: 127e8326cbcbe8516a4748db485e16c4
|
||||
content/14: e5e1fa7bf66ae03d6ea900ea17ef28ae
|
||||
content/15: 9a44ad2a020c00d5c50250ee0c543ae2
|
||||
content/16: 3f013e8cf7537231614d510c9bcdf1b2
|
||||
content/17: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
@@ -1322,9 +1322,9 @@ checksums:
|
||||
content/21: 25d767f79c8b785d24657d66091e479b
|
||||
content/22: 7cb6040a3113b9378333575292805e18
|
||||
content/23: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/24: 1af1404c3595e86307f2f44f36e46c8a
|
||||
content/24: 91affbbe15042adedd48b01483873129
|
||||
content/25: bcadfc362b69078beee0088e5936c98b
|
||||
content/26: 84d3a72b1119874d09537c524df4e2bc
|
||||
content/26: 8941bd73040406ee68924d6e566efe1e
|
||||
content/27: 89ae14a70cbc288e4f816b710c7ef48e
|
||||
content/28: 311c355c6e43246e52112ee300df8db5
|
||||
content/29: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
@@ -2985,7 +2985,7 @@ checksums:
|
||||
content/67: 0b22ed8a7e64005c666505c48e09f715
|
||||
content/68: 494dcadaea5e62eddd599700511ecee5
|
||||
content/69: 8332b16a0bf7a4c862f5104e9ffeb98d
|
||||
content/70: 1de777052fc880c016398e0c1d464276
|
||||
content/70: 90e2f984a874a8f954ddfd127ec8178a
|
||||
0e322683b6d10e9fa8c9a17ff15a5fb1:
|
||||
meta/title: a912b3c7fb996fefccb182cf5c4a3fbc
|
||||
content/0: e1f8d4b13687e7d73b5b5fbb4cb6142d
|
||||
@@ -4215,3 +4215,67 @@ checksums:
|
||||
content/50: b2a4a0c279f47d58a2456f25a1e1c6f9
|
||||
content/51: dd2fe5f38e6fadab2b5353cc6e8da57e
|
||||
content/52: 604fec9d146658f2582bb53523378ac3
|
||||
d29c2f5cb46e8d23d2ec6e814033ede8:
|
||||
meta/title: 4e36553809660c7f65b68c72869e8813
|
||||
meta/description: 0664282e49bfab44d249fb9b4e3e2be0
|
||||
content/0: 1b031fb0c62c46b177aeed5c3d3f8f80
|
||||
content/1: 800caf63ae9fa7990c7d272b8880bc21
|
||||
content/2: 821e6394b0a953e2b0842b04ae8f3105
|
||||
content/3: 90ec5fddbc461ffced3bc7d44319cf52
|
||||
content/4: 9c8aa3f09c9b2bd50ea4cdff3598ea4e
|
||||
content/5: 5711a0ff79f0c42a843d81fe706df55b
|
||||
content/6: 7cf359e27a894f26acc37d9dcff9d62b
|
||||
content/7: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/8: b032ab99a64c0479121fa6a873430b6f
|
||||
content/9: bcadfc362b69078beee0088e5936c98b
|
||||
content/10: db2fbec7238480011503cc4d0705b56c
|
||||
content/11: d5eaa5219d7e1a39c69748b5ebebd6a2
|
||||
content/12: 7da2efbd5d91934427b86685efcaeed8
|
||||
content/13: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/14: cbfc3c21364012d3af2b7967d72ff310
|
||||
content/15: bcadfc362b69078beee0088e5936c98b
|
||||
content/16: ddba5f8821ecc9755a6bed59ad599e2f
|
||||
content/17: e2c01d982f4415f58b24860a62dfa257
|
||||
content/18: b57d508facca5a3b25bd49cc4a94deb7
|
||||
content/19: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/20: 695656d7f3da9ec4be0ddb0ab6340f0f
|
||||
content/21: bcadfc362b69078beee0088e5936c98b
|
||||
content/22: 33ab64ad090a5c41652a6381e64a8b29
|
||||
content/23: 31010871ac088148188e433e71b528fd
|
||||
content/24: ed4ba7f33c70c8c9c43f0cf5949a9e02
|
||||
content/25: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/26: 1c1914a63d880607fa1f0ccaa47d6bdc
|
||||
content/27: bcadfc362b69078beee0088e5936c98b
|
||||
content/28: dfba53a44a72ddb05d937ac850642c32
|
||||
content/29: 25c0139e6dbae0caf7045db76d678057
|
||||
content/30: c11a5d76541d3111055068edb43d26af
|
||||
content/31: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/32: f99a1195f3c8a932facc3878fd280f8c
|
||||
content/33: bcadfc362b69078beee0088e5936c98b
|
||||
content/34: 2bbc620c77f79f40e228bdb9f24c713e
|
||||
content/35: 69c44fd6017f4b94f311bb9a15063cfa
|
||||
content/36: 39cbf01ad9b1b7dcc3ec8fe6130a61ad
|
||||
content/37: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/38: 722e870ff0fd01d4bf8abf17bfc56110
|
||||
content/39: bcadfc362b69078beee0088e5936c98b
|
||||
content/40: edf9a72a6b185e4dc921c84774bef409
|
||||
content/41: ffae7ab7fc862449bf8c47818726e36d
|
||||
content/42: 31375eb7944dce78bcba23c2e754f9e6
|
||||
content/43: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/44: 563b7c2f4d5a654da1adf412665b9995
|
||||
content/45: bcadfc362b69078beee0088e5936c98b
|
||||
content/46: f41a8d427aa10bde30bc2f20ec2600a9
|
||||
content/47: 489d9434245a2b07ed594438baac5067
|
||||
content/48: ec8e3df9fda40ddfca53a1fc92584a0e
|
||||
content/49: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/50: be0890e6d0e539576c2710db70f65bf9
|
||||
content/51: bcadfc362b69078beee0088e5936c98b
|
||||
content/52: ba68c28f140d47444ae79fb0e4ed5c8a
|
||||
content/53: 1b93fcb390a8cb51777af3567601448e
|
||||
content/54: 1160623d60e2189692c754b458c4fa30
|
||||
content/55: 371d0e46b4bd2c23f559b8bc112f6955
|
||||
content/56: 094163dad0578662e2a3197dbf665a4e
|
||||
content/57: bcadfc362b69078beee0088e5936c98b
|
||||
content/58: 74af50eceb2a5f514301c497a8e64030
|
||||
content/59: b3f310d5ef115bea5a8b75bf25d7ea9a
|
||||
content/60: 549a9bd7ff92264fbd18c9d6e616594b
|
||||
|
||||
Reference in New Issue
Block a user