Skip to content

Commit

Permalink
generate_query_url now uses base_url by default, instead of being har…
Browse files Browse the repository at this point in the history
…d-coded to api.defog.ai (#42)

* Update generate_query_url to use base_url

* Update version to 0.63.3 in setup.py
  • Loading branch information
rishsriv authored Apr 1, 2024
1 parent e42d6c2 commit e05bcf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(
self.base_url = data.get("base_url", "https://api.defog.ai")
self.generate_query_url = data.get(
"generate_query_url",
"https://api.defog.ai/generate_query_chat",
f"{self.base_url}/generate_query_chat",
)
if verbose:
print(f"Connection details read from {self.filepath}.")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def package_files(directory):
name="defog",
packages=find_packages(),
package_data={"defog": ["gcp/*", "aws/*"] + next_static_files},
version="0.63.2",
version="0.63.3",
description="Defog is a Python library that helps you generate data queries from natural language questions.",
author="Full Stack Data Pte. Ltd.",
license="MIT",
Expand Down

0 comments on commit e05bcf9

Please sign in to comment.