-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add MySQLChatMessageHistory
class
#13
Conversation
* load documents by query. * make integration test works * rebase to include CloudSQLMySQLEngine * fix in test * minor change * Update class naming * refine typing * fix lint
Co-authored-by: Kurtis Van Gent <[email protected]>
…metadata columns in doc laoder.
src/langchain_google_cloud_sql_mysql/mysql_chat_message_history.py
Outdated
Show resolved
Hide resolved
src/langchain_google_cloud_sql_mysql/mysql_chat_message_history.py
Outdated
Show resolved
Hide resolved
|
||
@pytest.fixture(name="memory_engine") | ||
def setup() -> Generator: | ||
engine = MySQLEngine.from_instance( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation should have notes on how to set up authentication
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mean "documentation" as in a docstring explaining setup
or are you talking about wider documentation around how to run integrations tests and the setup pre-reqs? Will be adding a testing section to CONTRIBUTING.md in a future PR
Adding
MySQLChatMessageHistory
class which allows functionality of a memory store.Follows pattern of other chat message history integrations: https://github.com/langchain-ai/langchain/tree/master/libs/community/langchain_community/chat_message_histories