feat: add ops trace (#5483)
Co-authored-by: takatost <takatost@gmail.com>
This commit is contained in:
parent
31a061ebaa
commit
4e2de638af
58 changed files with 3553 additions and 622 deletions
|
|
@ -183,6 +183,14 @@ class TextToSpeechEntity(BaseModel):
|
|||
language: Optional[str] = None
|
||||
|
||||
|
||||
class TracingConfigEntity(BaseModel):
|
||||
"""
|
||||
Tracing Config Entity.
|
||||
"""
|
||||
enabled: bool
|
||||
tracing_provider: str
|
||||
|
||||
|
||||
class FileExtraConfig(BaseModel):
|
||||
"""
|
||||
File Upload Entity.
|
||||
|
|
@ -199,7 +207,7 @@ class AppAdditionalFeatures(BaseModel):
|
|||
more_like_this: bool = False
|
||||
speech_to_text: bool = False
|
||||
text_to_speech: Optional[TextToSpeechEntity] = None
|
||||
|
||||
trace_config: Optional[TracingConfigEntity] = None
|
||||
|
||||
class AppConfig(BaseModel):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue