mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
4209457bdc
Add Redis langserve template! Eventually will add semantic caching to this too. But I was struggling to get that to work for some reason with the LCEL implementation here. - **Description:** Introduces the Redis LangServe template. A simple RAG based app built on top of Redis that allows you to chat with company's public financial data (Edgar 10k filings) - **Issue:** None - **Dependencies:** The template contains the poetry project requirements to run this template - **Tag maintainer:** @baskaryan @Spartee - **Twitter handle:** @tchutch94 **Note**: this requires the commit here that deletes the `_aget_relevant_documents()` method from the Redis retriever class that wasn't implemented. That was breaking the langserve app. --------- Co-authored-by: Sam Partee <sam.partee@redis.com>
12 lines
173 B
YAML
12 lines
173 B
YAML
text:
|
|
- name: content
|
|
- name: source
|
|
numeric:
|
|
- name: start_index
|
|
vector:
|
|
- name: content_vector
|
|
algorithm: HNSW
|
|
datatype: FLOAT32
|
|
dims: 384
|
|
distance_metric: COSINE
|