mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-10 03:30:56 +00:00
remove insert
This commit is contained in:
parent
98bb937efe
commit
e85d4b946a
1 changed files with 0 additions and 3 deletions
|
|
@ -23,9 +23,6 @@ class VectorStoreActionOp(BaseOp):
|
|||
elif request.action == "delete_ids":
|
||||
result = self.vector_store.delete(workspace_id=request.workspace_id,node_ids = request.experience_ids)
|
||||
|
||||
elif request.action == "insert":
|
||||
result = self.vector_store.insert(workspace_id=request.workspace_id, nodes = request.experience_ids)
|
||||
|
||||
elif request.action == "dump":
|
||||
def node_to_experience(node: VectorNode) -> dict:
|
||||
return vector_node_to_experience(node).model_dump()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue