Skip to content

Commit

Permalink
Merge pull request vanna-ai#399 from Anush008/main
Browse files Browse the repository at this point in the history
fix: String format qdrant
  • Loading branch information
zainhoda authored May 2, 2024
2 parents 6aa65a3 + 91afef0 commit e68eb8e
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 e68eb8e

Please sign in to comment.