Skip to content

Commit

Permalink
Minor change to make qdrant compatible with self hosted qdrant on Clo…
Browse files Browse the repository at this point in the history
…udflare
  • Loading branch information
KastanDay committed Nov 20, 2024
1 parent ae5ed49 commit b82368e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ai_ta_backend/database/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def __init__(self):
self.qdrant_client = QdrantClient(
url=os.environ['QDRANT_URL'],
api_key=os.environ['QDRANT_API_KEY'],
port=os.getenv('QDRANT_PORT') if os.getenv('QDRANT_PORT') else None,
timeout=20, # default is 5 seconds. Getting timeout errors w/ document groups.
)

Expand Down

0 comments on commit b82368e

Please sign in to comment.