Skip to content

Commit

Permalink
fix: String format qdrant
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed May 2, 2024
1 parent 6aa65a3 commit 91afef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanna/qdrant/qdrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(
self._setup_collections()

def add_question_sql(self, question: str, sql: str, **kwargs) -> str:
question_answer = format("Question: {0}\n\nSQL: {1}", question, sql)
question_answer = "Question: {0}\n\nSQL: {1}".format(question, sql)
id = deterministic_uuid(question_answer)

self._client.upsert(
Expand Down

0 comments on commit 91afef0

Please sign in to comment.