Skip to content

Commit

Permalink
Replace user ID with room ID in MemoryManager and other improvements (#…
Browse files Browse the repository at this point in the history
…2492)

* Update MemoryManager.md

* Update autonomous-trading.md

* Update fine-tuning.md

---------

Co-authored-by: Sayo <[email protected]>
  • Loading branch information
Haisen772 and wtfsayo authored Jan 19, 2025
1 parent 319840c commit eee5539
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/api/classes/MemoryManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ Error if the memory content is empty

> **getMemories**(`opts`): `Promise`\<[`Memory`](../interfaces/Memory.md)[]\>
Retrieves a list of memories by user IDs, with optional deduplication.
Retrieves a list of memories by room IDs, with optional deduplication.

#### Parameters

**opts**

Options including user IDs, count, and uniqueness.
Options including room IDs, count, and uniqueness.

**opts.roomId**: \`$\{string\}-$\{string\}-$\{string\}-$\{string\}-$\{string\}\`

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/advanced/autonomous-trading.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ async function executeSwap(
},
): Promise<string> {
// Prepare transaction
const { swapTransaction } = await getSwapTransaction(input);
const { swapTransaction: transaction } = await getSwapTransaction(input);

// Sign transaction
const keypair = getKeypairFromPrivateKey(
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/advanced/fine-tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ enum ModelProviderName {
REDPILL,
OPENROUTER,
HEURIST,
LIVEPEER,
LIVEPEER,
}
```

Expand Down

0 comments on commit eee5539

Please sign in to comment.