From 64eeab8b3404e87c0cc19fb6862ff51ec8b95954 Mon Sep 17 00:00:00 2001 From: Matthew Tang Date: Tue, 20 Aug 2024 10:36:06 -0700 Subject: [PATCH] feat: GenAI - Released the `Prompt` feature to Public Preview PiperOrigin-RevId: 665426427 --- vertexai/preview/prompts.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vertexai/preview/prompts.py diff --git a/vertexai/preview/prompts.py b/vertexai/preview/prompts.py new file mode 100644 index 0000000000..beff2f8754 --- /dev/null +++ b/vertexai/preview/prompts.py @@ -0,0 +1,22 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +from vertexai.generative_models._prompts import ( + Prompt, +) + +__all__ = [ + "Prompt", +]