|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 2, |
| 5 | + "execution_count": 1, |
6 | 6 | "metadata": {}, |
7 | 7 | "outputs": [], |
8 | 8 | "source": [ |
|
21 | 21 | }, |
22 | 22 | { |
23 | 23 | "cell_type": "code", |
24 | | - "execution_count": 3, |
| 24 | + "execution_count": 2, |
25 | 25 | "metadata": {}, |
26 | 26 | "outputs": [ |
27 | 27 | { |
28 | 28 | "name": "stderr", |
29 | 29 | "output_type": "stream", |
30 | 30 | "text": [ |
31 | | - "/tmp/ipykernel_207955/1337909476.py:1: ApiDeprecationWarning: gemini-1.0-X and gemini-1.5-X are going to be deprecated. Use gemini-2.0-X (https://cloud.google.com/python/docs/reference/bigframes/latest/bigframes.ml.llm.GeminiTextGenerator) instead. \n", |
32 | | - " model = GeminiTextGenerator(model_name=\"gemini-2.0-flash-exp\")\n", |
33 | | - "/usr/local/google/home/shuowei/src/python-bigquery-dataframes/bigframes/ml/llm.py:978: PreviewWarning: Model gemini-2.0-flash-exp is subject to the \"Pre-GA Offerings Terms\"\n", |
34 | | - "in the General Service Terms section of the Service Specific\n", |
35 | | - "Terms(https://cloud.google.com/terms/service-terms#1). Pre-GA products\n", |
36 | | - "and features are available \"as is\" and might have limited support. For\n", |
37 | | - "more information, see the launch stage descriptions\n", |
38 | | - "(https://cloud.google.com/products#product-launch-stages).\n", |
39 | | - " warnings.warn(msg, category=exceptions.PreviewWarning)\n", |
40 | | - "/usr/local/google/home/shuowei/src/python-bigquery-dataframes/bigframes/ml/llm.py:980: DefaultLocationWarning: No explicit location is set, so using location US for the session.\n", |
| 31 | + "/tmp/ipykernel_604997/3896046356.py:1: ApiDeprecationWarning: gemini-pro and gemini-1.5-X are going to be deprecated. Use gemini-2.0-X (https://cloud.google.com/python/docs/reference/bigframes/latest/bigframes.ml.llm.GeminiTextGenerator) instead. \n", |
| 32 | + " model = GeminiTextGenerator(model_name=\"gemini-1.5-flash-002\")\n", |
| 33 | + "/usr/local/google/home/shuowei/src/python-bigquery-dataframes/bigframes/ml/llm.py:981: DefaultLocationWarning: No explicit location is set, so using location US for the session.\n", |
41 | 34 | " self.session = session or global_session.get_global_session()\n" |
42 | 35 | ] |
43 | 36 | }, |
44 | 37 | { |
45 | 38 | "data": { |
46 | 39 | "text/html": [ |
47 | | - "Query job 77cfcb56-5731-4403-a227-4ff09639a953 is DONE. 0 Bytes processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:77cfcb56-5731-4403-a227-4ff09639a953&page=queryresults\">Open Job</a>" |
| 40 | + "Query job dd2da3cc-27c3-4c6f-9936-4f7769c85090 is DONE. 0 Bytes processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:dd2da3cc-27c3-4c6f-9936-4f7769c85090&page=queryresults\">Open Job</a>" |
48 | 41 | ], |
49 | 42 | "text/plain": [ |
50 | 43 | "<IPython.core.display.HTML object>" |
|
56 | 49 | { |
57 | 50 | "data": { |
58 | 51 | "text/html": [ |
59 | | - "Query job f4ede566-536f-4007-8948-30c3eb23711f is DONE. 0 Bytes processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:f4ede566-536f-4007-8948-30c3eb23711f&page=queryresults\">Open Job</a>" |
| 52 | + "Query job 00947011-4d7c-42fa-ae19-3b684976cec6 is DONE. 0 Bytes processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:00947011-4d7c-42fa-ae19-3b684976cec6&page=queryresults\">Open Job</a>" |
60 | 53 | ], |
61 | 54 | "text/plain": [ |
62 | 55 | "<IPython.core.display.HTML object>" |
|
67 | 60 | } |
68 | 61 | ], |
69 | 62 | "source": [ |
70 | | - "model = GeminiTextGenerator(model_name=\"gemini-2.0-flash-exp\")" |
| 63 | + "model = GeminiTextGenerator(model_name=\"gemini-1.5-flash-002\")" |
71 | 64 | ] |
72 | 65 | }, |
73 | 66 | { |
|
0 commit comments