mirror of
https://github.com/open-webui/pipelines
synced 2025-06-26 10:06:07 +00:00
enh: detoxify example frontmatter
This commit is contained in:
parent
6a17e755b0
commit
0255d1c789
@ -1,3 +1,13 @@
|
|||||||
|
"""
|
||||||
|
title: Detoxify Filter Pipeline
|
||||||
|
author: open-webui
|
||||||
|
date: 2024-05-30
|
||||||
|
version: 1.0
|
||||||
|
license: MIT
|
||||||
|
description: A pipeline for filtering out toxic messages using the Detoxify library.
|
||||||
|
requirements: detoxify
|
||||||
|
"""
|
||||||
|
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
from schemas import OpenAIChatMessage
|
from schemas import OpenAIChatMessage
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
Loading…
Reference in New Issue
Block a user