mirror of
https://github.com/open-webui/docs.git
synced 2026-07-21 10:05:26 -04:00
[PR #601] [MERGED] feat(docs): Enhance Filter Function docs with Valves dropdown UI #649
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/docs/pull/601
Author: @silentoplayz
Created: 7/1/2025
Status: ✅ Merged
Merged: 7/4/2025
Merged by: @tjbck
Base:
main← Head:enum-filter-docs-update📝 Commits (1)
2a84b8ffeat(docs): Enhance Filter Function docs with Valves dropdown UI📊 Changes
1 file changed (+85 additions, -0 deletions)
View changed files
📝
docs/features/plugin/functions/filter.mdx(+85 -0)📄 Description
Changelog Entry
Description
Added
Valvesexplanation detailing the use ofjson_schema_extrawithenumfor PydanticFielddefinitions to create dropdown menus in the Open WebUI interface.Valvesoption usingjson_schema_extra={"enum": [...]}.Changed
Additional Information
Fieldandjson_schema_extrato create interactive dropdowns for filter configurations (Valves). This enhances the user experience for filters by making settings more intuitive and less error-prone, allowing users to select from predefined options instead of manually typing values.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.