From 128f03e21fb55b6c4b516855db86212823c5ff0a Mon Sep 17 00:00:00 2001 From: pa-t Date: Thu, 26 Oct 2023 09:59:55 -0500 Subject: [PATCH] updates the base url to point at new prefix destination, bump version --- setup.py | 4 ++-- word_embeddings_sdk/api/session.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index fa50de2..0b4f466 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ def parse_requirements(filename): setup( name='word_embeddings_sdk', packages=find_packages(), - version='0.1.4', + version='0.1.5', license='MIT', description='Python sdk to interface with the WordEmbeddings API', long_description=readme, @@ -23,7 +23,7 @@ def parse_requirements(filename): author='Patrick Hennis', author_email='patrick@width.ai', url='https://github.com/Width-ai/embeddings-sdk', - download_url='https://github.com/Width-ai/embeddings-sdk/archive/refs/tags/v0.1.4.tar.gz', + download_url='https://github.com/Width-ai/embeddings-sdk/archive/refs/tags/v0.1.5.tar.gz', keywords=['Embeddings', 'SDK', 'WordEmbeddings', 'WordEmbeddings.Ai'], install_requires=install_requires, classifiers=[ diff --git a/word_embeddings_sdk/api/session.py b/word_embeddings_sdk/api/session.py index b46455b..3c3f5ab 100644 --- a/word_embeddings_sdk/api/session.py +++ b/word_embeddings_sdk/api/session.py @@ -7,7 +7,7 @@ class WordEmbeddingsSession: - def __init__(self, customer_id: str, api_key: str, url: str = "https://wordembeddings.ai"): + def __init__(self, customer_id: str, api_key: str, url: str = "https://www.wordembeddings.ai/api"): self.logger = setup_logger(__name__) self.api_url = url self.customer_id = customer_id