Fix Typos in Comments and Documentation (#4015)
* Update communityHub.js * Update memory.js
This commit is contained in:
parent
c4f49ff6b4
commit
1e1694fcd0
@ -187,7 +187,7 @@ const CommunityHub = {
|
||||
if (!this.supportedStaticItemTypes.includes(itemType))
|
||||
return { success: false, error: "Unsupported item type" };
|
||||
|
||||
// If the item has specical considerations or preprocessing, we can delegate that below before sending the request.
|
||||
// If the item has special considerations or preprocessing, we can delegate that below before sending the request.
|
||||
// eg: Agent flow files and such.
|
||||
|
||||
return await fetch(`${this.apiBase}/${itemType}/create`, {
|
||||
|
||||
@ -16,7 +16,7 @@ const memory = {
|
||||
tracker: new Deduplicator(),
|
||||
name: this.name,
|
||||
description:
|
||||
"Search against local documents for context that is relevant to the query or store a snippet of text into memory for retrieval later. Storing information should only be done when the user specifically requests for information to be remembered or saved to long-term memory. You should use this tool before search the internet for information. Do not use this tool unless you are explicity told to 'remember' or 'store' information.",
|
||||
"Search against local documents for context that is relevant to the query or store a snippet of text into memory for retrieval later. Storing information should only be done when the user specifically requests for information to be remembered or saved to long-term memory. You should use this tool before search the internet for information. Do not use this tool unless you are explicitly told to 'remember' or 'store' information.",
|
||||
examples: [
|
||||
{
|
||||
prompt: "What is AnythingLLM?",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user