Skip to content

Conversation

abrookins
Copy link
Contributor

@abrookins abrookins commented Feb 6, 2025

  • Re-adds the changes from Tweaks to async resource management #2
  • Pipeline performance tuning
  • Adds WATCH for optimistic concurrency control in transactions that look at state
  • Fixes async context manager usage in 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 ...).

@bsbodden bsbodden force-pushed the main branch 2 times, most recently from 4377b7b to 9f9ff0d Compare February 6, 2025 22:33
@abrookins abrookins force-pushed the RAE-603/pipeline-semantics branch from db32479 to bcec7fc Compare February 6, 2025 23:15
@abrookins abrookins marked this pull request as ready for review February 7, 2025 01:10
@bsbodden bsbodden self-requested a review February 7, 2025 14:33
Copy link
Contributor

@bsbodden bsbodden left a 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)

@abrookins abrookins force-pushed the RAE-603/pipeline-semantics branch from 6c00956 to c4c5ff6 Compare February 7, 2025 20:04
return ChatOpenAI(model="gpt-4-turbo-preview", temperature=0)


@pytest.mark.requires_api_keys
Copy link
Contributor

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

@bsbodden bsbodden merged commit 7bd0eb9 into main Feb 7, 2025
28 checks passed
@tylerhutcherson tylerhutcherson deleted the RAE-603/pipeline-semantics branch February 10, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants