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 c4fec11 commit 7e0f5d2Copy full SHA for 7e0f5d2
tests/test_knowledgebase.py
@@ -29,3 +29,13 @@ async def test_knowledgebase():
29
)
30
31
assert isinstance(kb._backend, InMemoryKnowledgeBackend)
32
+
33
34
+@pytest.mark.asyncio
35
+async def test_viking_knowledgebase_add_texts():
36
+ app_name = "kb_test_app"
37
+ kb = KnowledgeBase(
38
+ backend="viking",
39
+ app_name=app_name,
40
+ )
41
+ assert kb.add_from_text(text="test text", tag="tag") is True
0 commit comments