langchain-ai / langchain-redis

MIT License
12 stars 8 forks source link

redis[patch]: fix initialization of RedisConfig.index_schema #19

Closed ccurme closed 1 month ago

ccurme commented 1 month ago

index_schema is getting initialized to None following https://github.com/langchain-ai/langchain-redis/pull/14 because it's failing validation. The issue stems from IndexSchema being a Pydantic V1 BaseModel in redisvl. Here we skip validation on index_schema.