LangFuse Constants.
This module defines constants used in the LangFuse backend for various purposes, such as
tracing, tagging, and user identification. These constants are used throughout the
backend codebase to ensure consistency and readability.
Attributes
BACKEND_USER
module-attribute
BACKEND_USER = '[Backend]'
TAG_CHAIN
module-attribute
TAG_CHAT
module-attribute
TAG_CORPUS_READER
module-attribute
TAG_CORPUS_READER = 'corpus_reader'
TAG_INTEGRATION
module-attribute
TAG_INTEGRATION = 'integration'
TAG_REVOICE
module-attribute
TAG_TEXT_EVOLVE
module-attribute
TAG_TEXT_EVOLVE = 'text_evolve'
TAG_TEXT_EVOLVE_EVAL
module-attribute
TAG_TEXT_EVOLVE_EVAL = 'eval'
TAG_TEXT_EVOLVE_OPTIMIZE
module-attribute
TAG_TEXT_EVOLVE_OPTIMIZE = 'optimize'
TRACE_NAME_CHAT_COMPLETION
module-attribute
TRACE_NAME_CHAT_COMPLETION = 'ChatCompletion'
TRACE_NAME_CHAT_STREAMING
module-attribute
TRACE_NAME_CHAT_STREAMING = 'ChatStreaming'