Skip to content

Commit 9eae9ab

Browse files
committed
Add Chain of Thought feature to Chatbot
1 parent c63d5cb commit 9eae9ab

File tree

4 files changed

+158
-43
lines changed

4 files changed

+158
-43
lines changed

Diff for: RELEASE.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Releases
22

3+
## 0.15.11 - Chain of Thought
4+
5+
* Chatbot - Add Chain of Thought (CoT) thinking option using the `/think on` or `/think off` toggles to the UI. When activated, queries will be passed through an out-of-band CoT loop to allow the LLM to thoughtfully explore answer and then provide a conclusion summary to the user. Set environmental variable "THINKING" to "true" to default all conversations to CoT mode.
6+
37
## 0.15.10 - Bug Fix
48

59
* Chatbot - Fix error handling bug used to auto-detect max content length of LLM. Updated user input UI rendering to better handle indention.

Diff for: agents/news.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from pypdf import PdfReader
2121

2222
# Version
23-
VERSION = "v0.0.1"
23+
VERSION = "v0.0.2"
2424
DEBUG = False
2525

2626
def log(text):
@@ -427,6 +427,10 @@ def buffer(s):
427427

428428
buffer("\n---")
429429

430+
# Print version of news
431+
buffer(f"Newsbot: {VERSION} - {current_date.strftime('%B %-d, %Y')}")
432+
buffer("\n")
433+
430434
# Output
431435
if EMAIL_FORMAT:
432436
# Clean up output for email

0 commit comments

Comments
 (0)