mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-04 00:27:40 +00:00
doc:update knowledge api document
This commit is contained in:
@@ -24,7 +24,7 @@ class StringEmbedding(SourceEmbedding):
|
||||
@register
|
||||
def read(self):
|
||||
"""Load from String path."""
|
||||
metadata = {"source": "db_summary"}
|
||||
metadata = {"source": "raw text"}
|
||||
return [Document(page_content=self.file_path, metadata=metadata)]
|
||||
|
||||
@register
|
||||
|
Reference in New Issue
Block a user