Skip to content

Commit 54e355f

Browse files
refactor(generative-ai): Cleaning samples - Group A (Controlled Generation, Embeddings, Extensions, Function Calling) (GoogleCloudPlatform#12635)
* Delete old Samples from Group A * Delete useless tests * Specified the location for the model.
1 parent de3e56e commit 54e355f

25 files changed

+1
-1752
lines changed

generative_ai/chat_completions/chat_completions_function_calling_basic.py

Lines changed: 0 additions & 79 deletions
This file was deleted.

generative_ai/chat_completions/chat_completions_function_calling_config.py

Lines changed: 0 additions & 80 deletions
This file was deleted.

generative_ai/chat_completions/chat_completions_test.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import os
1616

1717
import chat_completions_credentials_refresher
18-
import chat_completions_function_calling_basic
19-
import chat_completions_function_calling_config
2018
import chat_completions_non_streaming_image
2119
import chat_completions_non_streaming_text
2220
import chat_completions_streaming_image
@@ -47,22 +45,6 @@ def test_non_streaming_image() -> None:
4745
assert response
4846

4947

50-
# TODO: Delete this test after approval /function_calling/chat_function_calling_test.py::test_function_calling_basic
51-
def test_function_calling_basic() -> None:
52-
response = chat_completions_function_calling_basic.generate_text(
53-
PROJECT_ID, LOCATION
54-
)
55-
assert response
56-
57-
58-
# TODO: Delete this test after approval /function_calling/chat_function_calling_test.py::test_function_calling_config
59-
def test_function_calling_config() -> None:
60-
response = chat_completions_function_calling_config.generate_text(
61-
PROJECT_ID, LOCATION
62-
)
63-
assert response
64-
65-
6648
def test_credentials_refresher() -> None:
6749
response = chat_completions_credentials_refresher.generate_text(
6850
PROJECT_ID, LOCATION

generative_ai/controlled_generation/response_mime_type.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)