Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarraann committed Jul 18, 2023
1 parent a400b18 commit 2144164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superagi/models/knowledges.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def add_update_knowledges(cls, session, knowledge_data):
if knowledge:
knowledge.name = knowledge_data["name"]
knowledge.description = knowledge_data["description"]
knowledge.index_id = knowledge_data["index_id"]
knowledge.vector_db_index_id = knowledge_data["index_id"]
else:
knowledge = Knowledges(name=knowledge_data["name"], description=knowledge_data["description"], vector_db_index_id=knowledge_data["index_id"], organisation_id=knowledge_data["organisation_id"], contributed_by=knowledge_data["contributed_by"])
session.add(knowledge)
Expand Down

0 comments on commit 2144164

Please sign in to comment.