| Name | Type | Description |
|---|---|---|
es_url | Optional[str] | Default: NoneURL of the Elasticsearch instance to connect to. |
es_cloud_id | Optional[str] | Default: NoneCloud ID of the Elasticsearch instance to connect to. |
es_user | Optional[str] | Default: None |
es_password | Optional[str] | Default: None |
es_api_key | Optional[str] | Default: None |
es_connection | Optional[Elasticsearch] | Default: None |
ensure_ascii | Optional[bool] | Default: True |
index* | str | |
session_id* | str |
Chat message history that stores history in Elasticsearch.
Username to use when connecting to Elasticsearch.
Password to use when connecting to Elasticsearch.
API key to use when connecting to Elasticsearch.
Optional pre-existing Elasticsearch connection.
Used to escape ASCII symbols in json.dumps. Defaults to True.
Name of the index to use.
Arbitrary key that is used to store the messages of a single chat session.