diff --git a/py/packages/genkit/pyproject.toml b/py/packages/genkit/pyproject.toml index cb8f5a5d10..ff6ba7f33c 100644 --- a/py/packages/genkit/pyproject.toml +++ b/py/packages/genkit/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ @@ -43,10 +59,10 @@ version = "0.4.0" [project.optional-dependencies] dev-local-vectorstore = ["genkit-plugin-dev-local-vectorstore"] flask = ["genkit-plugin-flask"] +google-cloud = ["genkit-plugin-google-cloud"] google-genai = ["genkit-plugin-google-genai"] ollama = ["genkit-plugin-ollama"] openai = ["genkit-plugin-compat-oai"] -google-cloud = ["genkit-plugin-google-cloud"] vertex-ai = ["genkit-plugin-vertex-ai"] [build-system] diff --git a/py/plugins/compat-oai/pyproject.toml b/py/plugins/compat-oai/pyproject.toml index 354dc085eb..5096d7ba25 100644 --- a/py/plugins/compat-oai/pyproject.toml +++ b/py/plugins/compat-oai/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/plugins/dev-local-vectorstore/pyproject.toml b/py/plugins/dev-local-vectorstore/pyproject.toml index b950a017a4..4e3c6b5204 100644 --- a/py/plugins/dev-local-vectorstore/pyproject.toml +++ b/py/plugins/dev-local-vectorstore/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/plugins/evaluators/pyproject.toml b/py/plugins/evaluators/pyproject.toml index 1e18e9b588..f02bac24dc 100644 --- a/py/plugins/evaluators/pyproject.toml +++ b/py/plugins/evaluators/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ @@ -14,11 +30,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries", ] -dependencies = [ - "genkit", - "jsonata-python>=0.5.3", - "pydantic>=2.10.5", -] +dependencies = ["genkit", "jsonata-python>=0.5.3", "pydantic>=2.10.5"] description = "Genkit Evaluators Plugin for RAGAS" license = { text = "Apache-2.0" } name = "genkit-plugin-evaluators" diff --git a/py/plugins/firebase/pyproject.toml b/py/plugins/firebase/pyproject.toml index 7091291d72..f0172c33d6 100644 --- a/py/plugins/firebase/pyproject.toml +++ b/py/plugins/firebase/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/plugins/flask/pyproject.toml b/py/plugins/flask/pyproject.toml index d38342bafb..4def19766a 100644 --- a/py/plugins/flask/pyproject.toml +++ b/py/plugins/flask/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/plugins/google-cloud/pyproject.toml b/py/plugins/google-cloud/pyproject.toml index a4ce51d04e..69b8bfe0cc 100644 --- a/py/plugins/google-cloud/pyproject.toml +++ b/py/plugins/google-cloud/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/plugins/google-genai/pyproject.toml b/py/plugins/google-genai/pyproject.toml index 0f5cf1011e..dc4505d48b 100644 --- a/py/plugins/google-genai/pyproject.toml +++ b/py/plugins/google-genai/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/plugins/ollama/pyproject.toml b/py/plugins/ollama/pyproject.toml index d31af46a44..be13aba77a 100644 --- a/py/plugins/ollama/pyproject.toml +++ b/py/plugins/ollama/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/plugins/vertex-ai/pyproject.toml b/py/plugins/vertex-ai/pyproject.toml index 8ac7077d86..f046c5b9ee 100644 --- a/py/plugins/vertex-ai/pyproject.toml +++ b/py/plugins/vertex-ai/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/pyproject.toml b/py/pyproject.toml index 6358bf5aa8..40029f31b5 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] dependencies = [ "dotpromptz==0.1.3", @@ -82,7 +98,6 @@ omit = [ default-groups = ["dev", "lint"] [tool.uv.sources] - genkit = { workspace = true } genkit-plugin-compat-oai = { workspace = true } genkit-plugin-dev-local-vectorstore = { workspace = true } diff --git a/py/samples/compat-oai-hello/pyproject.toml b/py/samples/compat-oai-hello/pyproject.toml index e69775065f..7c5608998d 100644 --- a/py/samples/compat-oai-hello/pyproject.toml +++ b/py/samples/compat-oai-hello/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/dev-local-vectorstore-hello/pyproject.toml b/py/samples/dev-local-vectorstore-hello/pyproject.toml index 2a8194b9da..056ec4a536 100644 --- a/py/samples/dev-local-vectorstore-hello/pyproject.toml +++ b/py/samples/dev-local-vectorstore-hello/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/firestore-retreiver/pyproject.toml b/py/samples/firestore-retreiver/pyproject.toml index e2b1d5755e..1a6cb30467 100644 --- a/py/samples/firestore-retreiver/pyproject.toml +++ b/py/samples/firestore-retreiver/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/flask-hello/pyproject.toml b/py/samples/flask-hello/pyproject.toml index a011054db2..4e98f18142 100644 --- a/py/samples/flask-hello/pyproject.toml +++ b/py/samples/flask-hello/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/google-genai-code-execution/pyproject.toml b/py/samples/google-genai-code-execution/pyproject.toml index d9889c0673..a7eb42c488 100644 --- a/py/samples/google-genai-code-execution/pyproject.toml +++ b/py/samples/google-genai-code-execution/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/google-genai-context-caching/pyproject.toml b/py/samples/google-genai-context-caching/pyproject.toml index d748e8b422..c042a7dcc3 100644 --- a/py/samples/google-genai-context-caching/pyproject.toml +++ b/py/samples/google-genai-context-caching/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/google-genai-hello/pyproject.toml b/py/samples/google-genai-hello/pyproject.toml index 008965356e..d658267bf0 100644 --- a/py/samples/google-genai-hello/pyproject.toml +++ b/py/samples/google-genai-hello/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ @@ -42,4 +58,4 @@ packages = ["src/google_genai_hello"] allow-direct-references = true [tool.uv.sources] -genkit-plugin-evaluators = { workspace = true } \ No newline at end of file +genkit-plugin-evaluators = { workspace = true } diff --git a/py/samples/google-genai-image/pyproject.toml b/py/samples/google-genai-image/pyproject.toml index da3ec7dcb9..48966258d5 100644 --- a/py/samples/google-genai-image/pyproject.toml +++ b/py/samples/google-genai-image/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/google-genai-vertexai-hello/pyproject.toml b/py/samples/google-genai-vertexai-hello/pyproject.toml index 562c74e7e7..77af989b93 100644 --- a/py/samples/google-genai-vertexai-hello/pyproject.toml +++ b/py/samples/google-genai-vertexai-hello/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/google-genai-vertexai-image/pyproject.toml b/py/samples/google-genai-vertexai-image/pyproject.toml index bf58f5bf6e..6ff3cc4f69 100644 --- a/py/samples/google-genai-vertexai-image/pyproject.toml +++ b/py/samples/google-genai-vertexai-image/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/menu/pyproject.toml b/py/samples/menu/pyproject.toml index b50371cea3..8c26ff8ce2 100644 --- a/py/samples/menu/pyproject.toml +++ b/py/samples/menu/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/model-garden/pyproject.toml b/py/samples/model-garden/pyproject.toml index 26626b1e2e..f4be6b3ec3 100644 --- a/py/samples/model-garden/pyproject.toml +++ b/py/samples/model-garden/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ @@ -14,10 +30,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries", ] -dependencies = [ - "genkit", - "pydantic>=2.10.5", -] +dependencies = ["genkit", "pydantic>=2.10.5"] description = "Model Garden sample" license = { text = "Apache-2.0" } name = "model-garden-example" diff --git a/py/samples/multi-server/pyproject.toml b/py/samples/multi-server/pyproject.toml index 9269ba0bd7..3fc9559bad 100644 --- a/py/samples/multi-server/pyproject.toml +++ b/py/samples/multi-server/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] classifiers = [ "Development Status :: 3 - Alpha", diff --git a/py/samples/ollama-hello/pyproject.toml b/py/samples/ollama-hello/pyproject.toml index 10654d2a25..06e4c50042 100644 --- a/py/samples/ollama-hello/pyproject.toml +++ b/py/samples/ollama-hello/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/ollama-simple-embed/pyproject.toml b/py/samples/ollama-simple-embed/pyproject.toml index 73eec9a2de..0c08e6ef38 100644 --- a/py/samples/ollama-simple-embed/pyproject.toml +++ b/py/samples/ollama-simple-embed/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/short-n-long/pyproject.toml b/py/samples/short-n-long/pyproject.toml index 1b276257e0..5eb3ee98c8 100644 --- a/py/samples/short-n-long/pyproject.toml +++ b/py/samples/short-n-long/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/tool-interrupts/pyproject.toml b/py/samples/tool-interrupts/pyproject.toml index 8b8c051500..b220683a24 100644 --- a/py/samples/tool-interrupts/pyproject.toml +++ b/py/samples/tool-interrupts/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/vertex-ai-vector-search-bigquery/pyproject.toml b/py/samples/vertex-ai-vector-search-bigquery/pyproject.toml index 85cc4f8340..86566f7e4a 100644 --- a/py/samples/vertex-ai-vector-search-bigquery/pyproject.toml +++ b/py/samples/vertex-ai-vector-search-bigquery/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/samples/vertex-ai-vector-search-firestore/pyproject.toml b/py/samples/vertex-ai-vector-search-firestore/pyproject.toml index d681481454..81baadf6df 100644 --- a/py/samples/vertex-ai-vector-search-firestore/pyproject.toml +++ b/py/samples/vertex-ai-vector-search-firestore/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] authors = [{ name = "Google" }] classifiers = [ diff --git a/py/tests/smoke/pyproject.toml b/py/tests/smoke/pyproject.toml index b305eb8dca..dda3402ede 100644 --- a/py/tests/smoke/pyproject.toml +++ b/py/tests/smoke/pyproject.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [project] classifiers = [ "Development Status :: 3 - Alpha", diff --git a/samples/idx-template.nix b/samples/idx-template.nix index 7c95b084f2..67826dab6b 100644 --- a/samples/idx-template.nix +++ b/samples/idx-template.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + {pkgs, sample ? "js-character-generator", ...}: { packages = [ pkgs.nodejs diff --git a/samples/js-character-generator/.idx/dev.nix b/samples/js-character-generator/.idx/dev.nix index 868601c410..cb5066ef0e 100644 --- a/samples/js-character-generator/.idx/dev.nix +++ b/samples/js-character-generator/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + # To learn more about how to use Nix to configure your environment # see: https://developers.google.com/idx/guides/customize-idx-env { pkgs, ... }: { diff --git a/samples/js-character-generator/idx-template.nix b/samples/js-character-generator/idx-template.nix index 565f0ecb9f..e6b8e66a61 100644 --- a/samples/js-character-generator/idx-template.nix +++ b/samples/js-character-generator/idx-template.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + {pkgs, language ? "js", tos ? "false", ... }: { packages = [ pkgs.nodejs diff --git a/samples/js-chatbot/.idx/dev.nix b/samples/js-chatbot/.idx/dev.nix index e9732dd2d7..d22c3cc10c 100644 --- a/samples/js-chatbot/.idx/dev.nix +++ b/samples/js-chatbot/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + ## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev diff --git a/samples/js-coffee-shop/.idx/dev.nix b/samples/js-coffee-shop/.idx/dev.nix index 147aee08e2..cb498dd1c2 100644 --- a/samples/js-coffee-shop/.idx/dev.nix +++ b/samples/js-coffee-shop/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + ## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev diff --git a/samples/js-gemini/.idx/dev.nix b/samples/js-gemini/.idx/dev.nix index 873d601371..78035a897d 100644 --- a/samples/js-gemini/.idx/dev.nix +++ b/samples/js-gemini/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + ## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev diff --git a/samples/js-menu/.idx/dev.nix b/samples/js-menu/.idx/dev.nix index 11313f66e4..1bb0393cd4 100644 --- a/samples/js-menu/.idx/dev.nix +++ b/samples/js-menu/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + ## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev diff --git a/samples/js-openai/.idx/dev.nix b/samples/js-openai/.idx/dev.nix index 8d331e9566..fb1a17cdd2 100644 --- a/samples/js-openai/.idx/dev.nix +++ b/samples/js-openai/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + ## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev diff --git a/samples/js-prompts/.idx/dev.nix b/samples/js-prompts/.idx/dev.nix index 873d601371..78035a897d 100644 --- a/samples/js-prompts/.idx/dev.nix +++ b/samples/js-prompts/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + ## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev diff --git a/samples/js-schoolAgent/.idx/dev.nix b/samples/js-schoolAgent/.idx/dev.nix index ce58070668..37515bfbde 100644 --- a/samples/js-schoolAgent/.idx/dev.nix +++ b/samples/js-schoolAgent/.idx/dev.nix @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + ## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev diff --git a/taplo.toml b/taplo.toml index 928b99a3f2..b88a02f229 100644 --- a/taplo.toml +++ b/taplo.toml @@ -1,3 +1,19 @@ +# Copyright 2025 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. +# +# SPDX-License-Identifier: Apache-2.0 + [formatting] align_entries = true array_trailing_comma = true