You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -41,6 +41,16 @@ This project enables seamless interaction with [LLaMA](https://ai.meta.com/llama
41
41
42
42
The name *python-tgpt* draws inspiration from its parent project [tgpt](https://github.com/aandrew-me/tgpt), which operates on [golang](https://go.dev/). Through this Python adaptation, users can effortlessly engage with LLaMA's capabilities, fostering a smoother AI interaction experience.
43
43
44
+
## Features
45
+
46
+
- 🗨️ Enhanced conversational chat experience
47
+
- 💾 Capability to save prompts and responses (Conversation)
48
+
- 🔄 Ability to load previous conversations
49
+
- ⌨️ Command-line interface
50
+
- 🐍 Python package
51
+
- 🌊 Stream and non-stream response
52
+
- 🚀 Ready to use (No API key required)
53
+
44
54
## Prerequisites
45
55
46
56
-[x][Python>=3.9](https://python.org)
@@ -168,7 +178,7 @@ for value in resp:
168
178
169
179
<summary>
170
180
171
-
-To get better feedback, you can make use of [optimizers](tgpt/utils.py) using parameter`optimizer`with values *(code or system_command)*
181
+
To obtain more tailored responses, consider utilizing [optimizers](tgpt/utils.py) using the`optimizer`parameter. Its values can be set to either `code` or `system_command`.
172
182
173
183
</summary>
174
184
@@ -181,17 +191,15 @@ print(resp)
181
191
182
192
</details>
183
193
194
+
**Note**: Commencing from [v0.1.0](https://github.com/Simatwa/python-tgpt/releases/), the default mode of interaction is conversational. This mode enhances the interactive experience, offering better control over the chat history. By associating previous prompts and responses, it tailors conversations for a more engaging experience.
184
195
185
-
186
-
**Note**: Starting from [v0.0.7](https://github.com/Simatwa/python-tgpt/releases/), we've introduced an experimental conversational chatting feature:
196
+
You can still disable the mode:
187
197
188
198
```python
189
-
bot = tgpt.TGPT(is_conversation=True)
199
+
bot = tgpt.TGPT(is_conversation=False)
190
200
```
191
201
192
-
When interacting via the console, simply append the `--conversation` flag. Customize the `history_offset` parameter during the initialization of `TGPT` and utilize the `--history-offset` flag at the console entry point for the same.
193
-
194
-
This conversational mode opens up a more interactive and engaging experience, allowing greater control over the chat history's handling for a more tailored conversation.
202
+
Utilize the `--disable-conversation` flag in the console to achieve the same functionality.
0 commit comments