You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all, a big thanks to the devs for this amazing piece of software.
I am not a frontend developer, so I might be doing something wrong here but when I tried to import LangServeInputPreProcessor like this import {LangServeInputPreProcessor} from '@nlux/langchain'
It gave an error.
I had to modify node_modules/@nlux/langchain/langchain.d.ts
to add LangServeInputPreProcessor to the last line export { type LangServeAdapterBuilder, type LangServeAdapterOptions, type LangServeEndpointType, type LangServeInputPreProcessor, createAdapter };
It solved my problem but I am not sure if it is the right way to go about it.
Is there any other way to import LangServeInputPreProcessor or does the nlux code needs to export it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
First of all, a big thanks to the devs for this amazing piece of software.
I am not a frontend developer, so I might be doing something wrong here but when I tried to import
LangServeInputPreProcessor
like thisimport {LangServeInputPreProcessor} from '@nlux/langchain'
It gave an error.
I had to modify
node_modules/@nlux/langchain/langchain.d.ts
to add
LangServeInputPreProcessor
to the last lineexport { type LangServeAdapterBuilder, type LangServeAdapterOptions, type LangServeEndpointType, type LangServeInputPreProcessor, createAdapter };
It solved my problem but I am not sure if it is the right way to go about it.
Is there any other way to import
LangServeInputPreProcessor
or does thenlux
code needs to export it?Beta Was this translation helpful? Give feedback.
All reactions