Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Comments

Make Chat generic on LastMessageT and OutputT#412

Draft
jackmpcollins wants to merge 5 commits intomainfrom
improve-chat-typing
Draft

Make Chat generic on LastMessageT and OutputT#412
jackmpcollins wants to merge 5 commits intomainfrom
improve-chat-typing

Conversation

@jackmpcollins
Copy link
Owner

Experiment for how Chat could be typed by making it generic on LastMessageT and OutputT. The add_X_message methods change the last message type based on the content provided. The (a)submit method changes the last message type to an AssistantMessage[OutputT].

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