Skip to content

Commit

Permalink
chore: bump aidial-sdk from 0.6.0 to 0.6.2 (#53)
Browse files Browse the repository at this point in the history
* chore: bump aidial-sdk from 0.6.0 to 0.6.2
* fix: removed SERVICE_NAME since it's optional
  • Loading branch information
adubovik authored Feb 13, 2024
1 parent 5c0c2b6 commit d2d7a2d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 38 deletions.
21 changes: 10 additions & 11 deletions aidial_adapter_vertexai/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,19 @@
os.environ.get("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT") is not None
)

SERVICE_NAME = os.environ.get("OTEL_SERVICE_NAME", "dial-vertex")

app = DIALApp(
description="Google VertexAI adapter for DIAL API",
add_healthcheck=True,
telemetry_config=TelemetryConfig(
service_name=SERVICE_NAME,
tracing=TracingConfig(
otlp_export=OTLP_EXPORT_ENABLED,
logging=True,
),
)
if OTLP_EXPORT_ENABLED
else None,
telemetry_config=(
TelemetryConfig(
tracing=TracingConfig(
otlp_export=OTLP_EXPORT_ENABLED,
logging=True,
),
)
if OTLP_EXPORT_ENABLED
else None
),
)


Expand Down
42 changes: 17 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repository = "https://github.com/epam/ai-dial-adapter-vertexai/"

[tool.poetry.dependencies]
python = "~3.11"
aidial-sdk = {version = "0.6.0", extras = ["telemetry"]}
fastapi = "0.97.0"
aidial-sdk = {version = "0.6.2", extras = ["telemetry"]}
fastapi = "0.109.2"
google-cloud-aiplatform = "1.38.1"
google-auth = "2.21.0"
openai = "0.27.8"
Expand Down

0 comments on commit d2d7a2d

Please sign in to comment.