diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/base.py index d0b653e206652007f3d3f062602f15c785f05e38..35edded7a042938d231c586ad55d66084350d721 100644 --- a/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/base.py +++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/llama_index/vector_stores/elasticsearch/base.py @@ -228,9 +228,7 @@ class ElasticsearchStore(BasePydanticVectorStore): @staticmethod def get_user_agent() -> str: """Get user agent for elasticsearch client.""" - import llama_index - - return f"llama_index-py-vs/{llama_index.core.__version__}" + return "llama_index-py-vs" async def _create_index_if_not_exists( self, index_name: str, dims_length: Optional[int] = None diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/pyproject.toml b/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/pyproject.toml index 79f2a02cc4993f4dbef0d15b6547622367d95b40..51a57441a909bee5e88854465c14b2a61aa1fca0 100644 --- a/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/pyproject.toml +++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-elasticsearch/pyproject.toml @@ -19,7 +19,7 @@ description = "llama-index vector_stores elasticsearch integration" license = "MIT" name = "llama-index-vector-stores-elasticsearch" readme = "README.md" -version = "0.1.1" +version = "0.1.2" [tool.poetry.dependencies] python = ">=3.8.1,<3.12"