### What problem does this PR solve? feat: Add KnowledgeGraphModal #162 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -27,6 +27,7 @@ const {
|
||||
get_document_file,
|
||||
document_upload,
|
||||
web_crawl,
|
||||
knowledge_graph,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@@ -121,6 +122,10 @@ const methods = {
|
||||
url: retrieval_test,
|
||||
method: 'post',
|
||||
},
|
||||
knowledge_graph: {
|
||||
url: knowledge_graph,
|
||||
method: 'get',
|
||||
},
|
||||
};
|
||||
|
||||
const kbService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user