indexing message content='whats up?' additional_kwargs={} example=FalseAuthenticationUsername/password‚Äães_username = os.environ.get("ES_USERNAME", "elastic")es_password = os.environ.get("ES_PASSWORD", "changeme")history = ElasticsearchChatMessageHistory(    es_url=es_url,    es_user=es_username,    es_password=es_password,    index="test-history",    session_id="test-session")How to obtain a password for the default "elastic" user‚ÄãTo obtain your Elastic Cloud password for the default "elastic" user:Log in to the Elastic Cloud console at https://cloud.elastic.coGo to "Security" > "Users"Locate the "elastic" user and click "Edit"Click "Reset password"Follow the prompts to reset the passwordAPI key‚Äães_api_key = os.environ.get("ES_API_KEY")history = ElasticsearchChatMessageHistory(    es_api_key=es_api_key,    index="test-history",    session_id="test-session")How to obtain an API key‚ÄãTo obtain an API key:Log in to the Elastic Cloud console at https://cloud.elastic.coOpen Kibana and go to Stack Management > API KeysClick "Create API key"Enter a name for the API key and click "Create"PreviousCassandraNextMomento CacheSet up ElasticsearchInstall dependenciesInitialize Elasticsearch client and chat message historyUse the chat message historyUsername/passwordHow to obtain a password for the default "elastic" userAPI keyHow to obtain an API keyCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
Elasticsearch is a distributed, RESTful search and analytics engine, capable of performing both vector and lexical search. It is built on top of the Apache Lucene library.
Elasticsearch is a distributed, RESTful search and analytics engine, capable of performing both vector and lexical search. It is built on top of the Apache Lucene library. ->: indexing message content='whats up?' additional_kwargs={} example=FalseAuthenticationUsername/password‚Äães_username = os.environ.get("ES_USERNAME", "elastic")es_password = os.environ.get("ES_PASSWORD", "changeme")history = ElasticsearchChatMessageHistory(    es_url=es_url,    es_user=es_username,    es_password=es_password,    index="test-history",    session_id="test-session")How to obtain a password for the default "elastic" user‚ÄãTo obtain your Elastic Cloud password for the default "elastic" user:Log in to the Elastic Cloud console at https://cloud.elastic.coGo to "Security" > "Users"Locate the "elastic" user and click "Edit"Click "Reset password"Follow the prompts to reset the passwordAPI key‚Äães_api_key = os.environ.get("ES_API_KEY")history = ElasticsearchChatMessageHistory(    es_api_key=es_api_key,    index="test-history",    session_id="test-session")How to obtain an API key‚ÄãTo obtain an API key:Log in to the Elastic Cloud console at https://cloud.elastic.coOpen Kibana and go to Stack Management > API KeysClick "Create API key"Enter a name for the API key and click "Create"PreviousCassandraNextMomento CacheSet up ElasticsearchInstall dependenciesInitialize Elasticsearch client and chat message historyUse the chat message historyUsername/passwordHow to obtain a password for the default "elastic" userAPI keyHow to obtain an API keyCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.