Skip to content

Commit af4d5a2

Browse files
committed
Update Ednpoint ID
1 parent b20542e commit af4d5a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generative_ai/chat_completions/chat_completions_authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def generate_text(project_id: str, location: str = "us-central1") -> object:
3838

3939
# If you are calling a self-deployed model from Model Garden, set the
4040
# ENDPOINT_ID variable and set the client's base URL to use your endpoint.
41-
ENDPOINT_ID = "YOUR_ENDPOINT_ID"
41+
# ENDPOINT_ID = "YOUR_ENDPOINT_ID"
4242

4343
# OpenAI Client
4444
client = openai.OpenAI(

generative_ai/chat_completions/chat_completions_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
PROJECT_ID = os.getenv("GOOGLE_CLOUD_PROJECT")
2828
LOCATION = "us-central1"
2929
SELF_HOSTED_MODEL_ID = "perm-gemma-2-9b-it-testing"
30-
ENDPOINT_ID = "2231912946873663488"
30+
ENDPOINT_ID = "6714120476014149632"
3131

3232

3333
def test_authentication() -> None:

0 commit comments

Comments
 (0)