We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c820099 commit b5ef811Copy full SHA for b5ef811
pyproject.toml
@@ -21,7 +21,7 @@ dependencies = [
21
"tiktoken>=0.5.1",
22
"numpy>=2.1.0",
23
"pydantic-settings>=2.8.1",
24
- "bertopic>=0.16.4",
+ "bertopic>>0.16.4 <=0.17.0",
25
"structlog>=25.2.0",
26
"transformers>=4.30.0",
27
"numba>=0.60.0",
redis_memory_server/extraction.py
@@ -28,7 +28,7 @@ def get_topic_model() -> BERTopic:
28
"""
29
global _topic_model
30
if _topic_model is None:
31
- _topic_model = BERTopic.load(settings.topic_model)
+ _topic_model = BERTopic.load("topic_model.pickle", settings.topic_model)
32
return _topic_model # type: ignore
33
34
0 commit comments