Feat/serialize deserialize (#508)

Co-authored-by: Taranjeet Singh <reachtotj@gmail.com>
This commit is contained in:
cachho
2023-09-04 01:20:18 +05:30
committed by GitHub
co-authored by Taranjeet Singh
parent 2aa25a5169
commit 0d4ad07d7b
42 changed files with 345 additions and 8 deletions
+2
View File
@@ -6,10 +6,12 @@ from typing import List, Optional
from fastapi_poe import PoeBot, run
from embedchain.config import QueryConfig
from embedchain.helper_classes.json_serializable import register_deserializable
from .base import BaseBot
@register_deserializable
class EcPoeBot(BaseBot, PoeBot):
def __init__(self):
self.history_length = 5