Skip to content

feat(sdk): add Chat.getContextWindow() and fix LocalChatStore.load(count)#355

Open
SyedZawwarAhmed wants to merge 1 commit intodevfrom
feat/chat-get-context-window
Open

feat(sdk): add Chat.getContextWindow() and fix LocalChatStore.load(count)#355
SyedZawwarAhmed wants to merge 1 commit intodevfrom
feat/chat-get-context-window

Conversation

@SyedZawwarAhmed
Copy link
Contributor

📝 Description

  • Introduced a new example script for a Crypto Market Assistant that utilizes persistent chat history.
  • Implemented getContextWindow method in the Chat class to retrieve conversation history with optional message count.
  • Added unit tests to verify the functionality of the new context loading feature, including handling of persistent and non-persistent chats.

🔗 Related Issues

  • Fixes #
  • Relates to #

🔧 Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 📚 Documentation update
  • 🔧 Code refactoring (no functional changes)
  • 🧪 Test improvements
  • 🔨 Build/CI changes

✅ Checklist

  • Self-review performed
  • Tests added/updated
  • Documentation updated (if needed)

…unt)

- Introduced a new example script for a Crypto Market Assistant that utilizes persistent chat history.
- Implemented `getContextWindow` method in the Chat class to retrieve conversation history with optional message count.
- Added unit tests to verify the functionality of the new context loading feature, including handling of persistent and non-persistent chats.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant