feat: add new custom app (#313)

This commit is contained in:
cachho
2023-07-19 00:54:23 +05:30
committed by GitHub
parent 96143ac496
commit adb7206639
24 changed files with 455 additions and 147 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ class AppConfig(BaseAppConfig):
:param host: Optional. Hostname for the database server.
:param port: Optional. Port for the database server.
"""
super().__init__(log_level=log_level, ef=AppConfig.default_embedding_function(), host=host, port=port, id=id)
super().__init__(
log_level=log_level, embedding_fn=AppConfig.default_embedding_function(), host=host, port=port, id=id
)
@staticmethod
def default_embedding_function():