-
Notifications
You must be signed in to change notification settings - Fork 1
Saving artifacts to a folder instead of overwriting #6
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| Self-hosting Deepgram services involves a few pieces of authentication, | ||
| running several container images, and exposing necessary config files and models. | ||
|
|
||
| Our documentation includes a series of guides that will take you through the steps of | ||
| provisioning hardware, configuring your deployment environment, generating credentials, | ||
| deploying Deepgram services, and maintaining and scaling your environment. | ||
| The series of guides start at this link: | ||
| https://developers.deepgram.com/docs/self-hosted-introduction | ||
|
|
||
| In the guides, you will be prompted to download models into a models directory. If you already | ||
| have an existing self-hosted environment, you can download these newly provided models alongside | ||
| your currently deployed models. | ||
|
|
||
| These model files are available for download from Amazon S3 at the following links. | ||
| Files: | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-general.en.streaming.40bd3654.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/phoneme.es.4a2fc36c.dg | ||
| https://deepgram-onprem.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/profanity-filter.a70ceacc.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/diarizer.streaming.6ff6f59c.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-general.en.batch.2187e11a.dg | ||
| https://deepgram-onprem.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/diarizer.batch.a9f85c2b.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/end-of-turn.4e9dbd96.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/flux-general-en.caf79279.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/aura-2.voice-pack.es.c053c7a8.dg | ||
| https://deepgram-onprem.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/phoneme.en.824ec1be.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/aura-2.generator.es.04355c1e.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/aura-2.generator.en.bdb6b6f3.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-general.multi.streaming.421ebff2.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-medical.multi.batch.58bc98aa.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-general.es.streaming.509be9b5.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/entity-detector.batch.06bc8f36.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/aura-2.voice-pack.en.75d5ec84.dg | ||
| https://deepgram-onprem.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/sit.80ab3179.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/flux-general-multi.19857d9c.dg | ||
| https://deepgram-onprem.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/summarizerv2.67875a7f.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-general.multi.batch.b6e78fa4.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-medical.en.streaming.f70581e5.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-general.es.batch.cb233499.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/entity-detector.en.streaming.90424f3a.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/nova-3-medical.en.batch.91d566f5.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/g2p.89555db3.dg | ||
| https://deepgram-self-hosted.s3.us-east-2.amazonaws.com/35fd69d8-b57a-49eb-9ab1-42fc8fe9fb32/models/language-detector.524a9dcb.dg | ||
|
|
||
| To utilize all models/features in this deployment, you must upgrade your Deepgram product images to the `260430` self-hosted release or higher. | ||
| See the Deepgram Changelog (https://deepgram.com/changelog) for a list of all releases (filter by "Self-Hosted"). | ||
|
|
||
|
|
||
|
|
||
| To support entity detection, you will need to update your API configuration files. | ||
| See https://deepgram.gitbook.io/help-center/self-hosted/how-can-i-enable-entity-detection-in-my-self-hosted-deployment#updating-your-self-hosted-deployment |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,6 +6,7 @@ | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| from __future__ import annotations | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| import re | ||||||||||||||||||||||||
| from typing import Any | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| import questionary | ||||||||||||||||||||||||
|
|
@@ -15,6 +16,21 @@ | |||||||||||||||||||||||
| OTHER = "Other (enter custom)" | ||||||||||||||||||||||||
| DEFAULT_TAG = " (default)" | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # Used for cluster name and artifact folder name. A subset of AWS EKS naming | ||||||||||||||||||||||||
| # (alphanumeric + `-`) that is also filename-safe on Linux/macOS/Windows. | ||||||||||||||||||||||||
| NAME_PATTERN = re.compile(r"^[A-Za-z0-9._-]+$") | ||||||||||||||||||||||||
| NAME_HINT = "Use letters, digits, '.', '-', or '_' only." | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| def validate_name(value: str) -> bool | str: | ||||||||||||||||||||||||
| """Questionary validator for cluster/folder names.""" | ||||||||||||||||||||||||
| stripped = value.strip() | ||||||||||||||||||||||||
| if not stripped: | ||||||||||||||||||||||||
|
Comment on lines
+19
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
wizard.py's NAME_PATTERN (
Suggested change
Prompt to fix with AI
|
||||||||||||||||||||||||
| return "Required." | ||||||||||||||||||||||||
| if not NAME_PATTERN.fullmatch(stripped): | ||||||||||||||||||||||||
| return NAME_HINT | ||||||||||||||||||||||||
| return True | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| REGIONS = [ | ||||||||||||||||||||||||
| "us-west-1", "us-west-2", "us-east-1", "us-east-2", | ||||||||||||||||||||||||
| "eu-west-1", "eu-central-1", | ||||||||||||||||||||||||
|
|
@@ -109,7 +125,9 @@ def run_eks_wizard() -> dict[str, Any]: | |||||||||||||||||||||||
| config = default_eks_config() | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| config["cluster"]["name"] = questionary.text( | ||||||||||||||||||||||||
| "Cluster name", default=config["cluster"]["name"] | ||||||||||||||||||||||||
| "Cluster name", | ||||||||||||||||||||||||
| default=config["cluster"]["name"], | ||||||||||||||||||||||||
| validate=validate_name, | ||||||||||||||||||||||||
| ).unsafe_ask().strip() | ||||||||||||||||||||||||
| config["cluster"]["region"] = _select_with_other( | ||||||||||||||||||||||||
| "AWS region", REGIONS, config["cluster"]["region"] | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
load_config(config)at line 132 is outside thetry/except (RuntimeError, ValueError)block. When--output-diris omitted (the new default) and the config is not a YAML mapping,ValueErrorescapes unhandled as a raw traceback instead of printing[red]Could not render Kubernetes/AWS plan:[/red].Prompt to fix with AI