From 8d3bc097e3167b6f463107247c219a9dcdfc30b2 Mon Sep 17 00:00:00 2001 From: SimonOriginal Date: Fri, 28 Jun 2024 15:10:37 +0200 Subject: [PATCH] add description --- .../filters/google_translation_filter_pipeline.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/filters/google_translation_filter_pipeline.py b/examples/filters/google_translation_filter_pipeline.py index 8447c90..892c6c3 100644 --- a/examples/filters/google_translation_filter_pipeline.py +++ b/examples/filters/google_translation_filter_pipeline.py @@ -1,3 +1,14 @@ +""" +title: Google Translate Filter +author: SimonOriginal +date: 2024-06-28 +version: 1.0 +license: MIT +description: This pipeline integrates Google Translate for automatic translation of user and assistant messages +without requiring an API key. It supports multilingual communication by translating based on specified source +and target languages. +""" + from typing import List, Optional from schemas import OpenAIChatMessage from pydantic import BaseModel