@sprucelabs/sprucebot-llm 9.0.103 → 9.0.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # sprucebot-llm
2
- A Typescript library for leveraging Large Langage Models (like GPT-3) to do... anything!
2
+ A Typescript library for leveraging Large Langage Models to do... anything!
3
3
 
4
- * [Has memory](#has-memory)
4
+ * [Has memory](#memory)
5
5
  * Remembers past messages to build context
6
6
  * Configure how much of the conversation your bot should remember
7
7
  * [Manages state](#adding-state-to-your-conversation)
@@ -103,15 +103,15 @@ void (async () => {
103
103
 
104
104
  ```
105
105
 
106
- ### Memory
106
+ ### Conversation Memory
107
107
 
108
- Currently, you can only configure memory (number of messages that are tracked) through you project's .env:
108
+ Conversation Memory is the total number of messages that will be tracked during a conversation. Once the limit is hit, old messages will be popped off the stack and forgotten. Currently, you can only configure memory through you project's .env:
109
109
 
110
110
  ```env
111
111
  OPENAI_MESSAGE_MEMORY_LIMIT=10
112
112
  ```
113
113
 
114
- > *Note*: For now, OpenAI is the only adapter supported. If you would like to see support for other adapters, please open an issue and we'll get on it! 🤘
114
+ > *Note*: OpenAI is currently the only adapter supported. If you would like to see support for other adapters (or programattic ways to configure memory), please open an issue and we'll get on it! 🤘
115
115
 
116
116
  ### Adding state to your conversation
117
117
  This library depends on [`@sprucelabs/spruce-schema`](https://github.com/sprucelabsai/spruce-schema) to handle the structure and validation rules around your state.
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "@sprucelabs/spruce-test-fixtures"
10
10
  ]
11
11
  },
12
- "version": "9.0.103",
12
+ "version": "9.0.105",
13
13
  "files": [
14
14
  "build"
15
15
  ],