logo
Browse Source

Allow extra configs

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 years ago
parent
commit
9f40ce5438
  1. 4
      osschat_insert.py

4
osschat_insert.py

@ -13,13 +13,13 @@
# limitations under the License. # limitations under the License.
from typing import Dict, Optional, Any from typing import Dict, Optional, Any
from pydantic import BaseModel
from pydantic import BaseModel, Extra
from towhee import ops, pipe, AutoPipes, AutoConfig from towhee import ops, pipe, AutoPipes, AutoConfig
@AutoConfig.register @AutoConfig.register
class OSSChatInsertConfig(BaseModel):
class OSSChatInsertConfig(BaseModel, extra=Extra.allow):
""" """
Config of pipeline Config of pipeline
""" """

Loading…
Cancel
Save