You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works
import redis
redis_host = ".redis.cache.windows.net"
redis_pwd = ""
r = redis.StrictRedis(host=redis_host,port=6380, db=0, password=redis_pwd, ssl=True)
r.set('foo', 'bar')
r.get('foo')
#works
but this does not
redis_conn = f"rediss://:{redis_pwd}@{redis_host}:6380"
print(redis_conn)
rds = Redis.from_documents(docs, embeddings, redis_url=redis_conn, index_name='link')
I get
ResponseError: unknown command MODULE, with args beginning with: LIST,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This works
import redis
redis_host = ".redis.cache.windows.net"
redis_pwd = ""
r = redis.StrictRedis(host=redis_host,port=6380, db=0, password=redis_pwd, ssl=True)
r.set('foo', 'bar')
r.get('foo')
#works
but this does not
redis_conn = f"rediss://:{redis_pwd}@{redis_host}:6380"
print(redis_conn)
rds = Redis.from_documents(docs, embeddings, redis_url=redis_conn, index_name='link')
I get
ResponseError: unknown command
MODULE
, with args beginning with:LIST
,Beta Was this translation helpful? Give feedback.
All reactions