-
Notifications
You must be signed in to change notification settings - Fork 24
Use watches on compare-and-set pipelines #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4377b7b
to
9f9ff0d
Compare
db32479
to
bcec7fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few linter complains. And for the commit message would you mind using https://www.conventionalcommits.org/en/v1.0.0/
I've been using ChatGPT/Claude to give me the proper tag for the commit (and we are free to add our own too)
6c00956
to
c4c5ff6
Compare
return ChatOpenAI(model="gpt-4-turbo-preview", temperature=0) | ||
|
||
|
||
@pytest.mark.requires_api_keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this technique and it's something we should implement over the pond at RedisVL
test_async_store_with_memory_persistence
NOTE: These objects must be used within their context blocks because once control exits the block, they free resources. This is by design, but it means our examples need to show how to do this properly. (We should double-check them.) Either
async with
/with
can be used, or an exit stack (async exit stack for async ...).