Relative Content

Tag Archive for node.jsnext.jslangchaindatastax-astralangchain-js

“Error: Error loading the fetch-h2 client for the datastax DataAPIClient, error occured at rag application built using langchain, astra db & next js

{“props”:{“pageProps”:{“statusCode”:500}},”page”:”/_error”,”query”:{“__NEXT_PAGE”:”/api/chat”},”buildId”:”development”,”isFallback”:false,”err”:{“name”:”Error”,”source”:”server”,”message”:”Error loading the fetch-h2 client for the DataAPIClient… try setting httpOptions.client to ‘fetch’”,”stack”:”Error: Error loading the fetch-h2 client for the DataAPIClient… try setting httpOptions.client to ‘fetch’n here is the error occured in rag application. api route, where is occured when called. ` “` import { NextRequest, NextResponse } from ‘next/server’; import { getVectorStore } from […]