mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
f92738a6f6
* This PR adds async methods to the LLM cache. * Adds an implementation using Redis called AsyncRedisCache. * Adds a docker compose file at the /docker to help spin up docker * Updates redis tests to use a context manager so flushing always happens by default
18 lines
487 B
YAML
18 lines
487 B
YAML
# docker-compose to make it easier to spin up integration tests.
|
|
# Services should use NON standard ports to avoid collision with
|
|
version: "3"
|
|
name: langchain-tests
|
|
|
|
services:
|
|
redis:
|
|
image: redis/redis-stack-server:latest
|
|
# We use non standard ports since
|
|
# these instances are used for testing
|
|
# and users may already have existing
|
|
# redis instances set up locally
|
|
# for other projects
|
|
ports:
|
|
- "6020:6379"
|
|
volumes:
|
|
- ./redis-volume:/data
|