mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-08-17 10:20:35 +03:00
Add pricing information to AssistantOutput class
This commit is contained in:
parent
3c050aa0e9
commit
9ea3fc3584
@ -82,9 +82,15 @@ class Outputs(BaseModel):
|
||||
brain: Optional[OutputBrain] = None
|
||||
|
||||
|
||||
class Pricing(BaseModel):
|
||||
cost: int = 20
|
||||
description: str = "Credits per use"
|
||||
|
||||
|
||||
class AssistantOutput(BaseModel):
|
||||
name: str
|
||||
description: str
|
||||
pricing: Optional[Pricing] = Pricing()
|
||||
tags: Optional[List[str]] = []
|
||||
input_description: str
|
||||
output_description: str
|
||||
|
Loading…
Reference in New Issue
Block a user