Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default region in Azure and Note block in the readme #18

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ EasyTL has a [Trello board](https://trello.com/b/Td555CoW/easytl) for tracking p

We've compiled a repository of examples and use cases for EasyTL at this [GitHub repository](https://github.com/Bikatr7/easytl-demo)

Full documentation [here](https://easytl.readthedocs.io/en/latest/index.html) (work in progress)
> [!TIP]
> You can find the full documentation [here](https://easytl.readthedocs.io/en/latest/index.html)! (work in progress)

---------------------------------------------------------------------------------------------------------------------------------------------------
## **Quick Start**<a name="quick-start"></a>
Expand Down
6 changes: 5 additions & 1 deletion tests/passing.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ def setup_preconditions():
assert openai_api_key is not None, "OPENAI_API_KEY environment variable must be set"
assert anthropic_api_key is not None, "ANTHROPIC_API_KEY environment variable must be set"
assert azure_api_key is not None, "AZURE_API_KEY environment variable must be set"
assert azure_region is not None, "AZURE_REGION environment variable must be set"
#assert azure_region is not None, "AZURE_REGION environment variable must be set"
# we can set a default for the region
if azure_region is None:
azure_region = "westus"
print(f"Using default Azure region: {azure_region}")
assert google_tl_key_path is not None, "GOOGLE_TRANSLATE_SERVICE_KEY_VALUE environment variable must be set"

## set the credentials for the services
Expand Down