-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Zipstack/v2
feat: LLMW V2 client changes
- Loading branch information
Showing
24 changed files
with
3,823 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ dependencies = [ | |
"requests>=2", | ||
] | ||
readme = "README.md" | ||
urls = { Homepage = "https://llmwhisperer.unstract.com", Source = "https://github.com/Zipstack/llm-whisperer-python-client" } | ||
urls = { Homepage = "https://unstract.com/llmwhisperer/", Source = "https://github.com/Zipstack/llm-whisperer-python-client" } | ||
license = {text = "AGPL v3"} | ||
authors = [ | ||
{name = "Zipstack Inc", email = "[email protected]"}, | ||
|
@@ -69,7 +69,7 @@ includes = ["src"] | |
package-dir = "src" | ||
|
||
[tool.pytest.ini_options] | ||
env_files = ["tests/.env"] | ||
env_files = [".env"] | ||
addopts = "-s" | ||
log_level = "INFO" | ||
log_cli = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
LLMWHISPERER_BASE_URL=https://llmwhisperer-api.unstract.com/v1 | ||
LLMWHISPERER_BASE_URL_V2=https://llmwhisperer-api.us-central.unstract.com/api/v2 | ||
LLMWHISPERER_LOG_LEVEL=DEBUG | ||
LLMWHISPERER_API_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
__version__ = "0.22.0" | ||
__version__ = "0.23.0" | ||
|
||
from .client import LLMWhispererClient # noqa: F401 | ||
from .client_v2 import LLMWhispererClientV2 # noqa: F401 | ||
|
||
|
||
def get_sdk_version(): | ||
def get_llmw_py_client_version(): | ||
"""Returns the SDK version.""" | ||
return __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.