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
+1 -1
View File
@@ -17,7 +17,7 @@ class TestChromaDbHosts(unittest.TestCase):
port = "1234"
with patch.object(chromadb, "Client") as mock_client:
_db = ChromaDB(host=host, port=port)
_db = ChromaDB(host=host, port=port, embedding_fn=len)
expected_settings = chromadb.config.Settings(
chroma_api_impl="rest",