Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit bf63a7f

Browse files
committed
Update postgres.py
1 parent c1f9e80 commit bf63a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controlflow/memory/providers/postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class AsyncPostgresMemory(AsyncMemoryProvider):
263263
description="Dimension of the embedding vectors. Must match your model output size.",
264264
)
265265

266-
embedding_fn: Callable = Field(
266+
embedding_fn: OpenAIEmbeddings = Field(
267267
default_factory=lambda: OpenAIEmbeddings(model="text-embedding-ada-002"),
268268
description="Function that turns a string into a numeric vector.",
269269
)

0 commit comments

Comments
 (0)