We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 719ce2a commit baa1563Copy full SHA for baa1563
genai/content_cache/test_content_cache_examples.py
@@ -12,13 +12,21 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import os
16
+
17
import contentcache_create_with_txt_gcs_pdf
18
import contentcache_delete
19
import contentcache_list
20
import contentcache_update
21
import contentcache_use_with_txt
22
23
24
+os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "True"
25
+os.environ["GOOGLE_CLOUD_LOCATION"] = "us-central1"
26
+# The project name is included in the CICD pipeline
27
+# os.environ['GOOGLE_CLOUD_PROJECT'] = "add-your-project-name"
28
29
30
def test_content_cache() -> None:
31
# Create a Cache
32
cache_name = contentcache_create_with_txt_gcs_pdf.create_content_cache()
0 commit comments