Olivier
Olivier
the `LangChainStream` from Vercel SDK does not work (still today) for langchain's `llm.stream()` ... for your api route, you can create your own LangChainStream to work with it like this:...
> Good catch @oliviermills - I think `embedding` better represents the column than `doc_vector` though - let's update the function to say `embedding` vs vice versa (remove `doc_vector` references) Sure...
I agree to relicense my contributions to the AGPL 🤗
I suggest a cleaner function per my PR #16 .. its slightly less aggressive but needs integration testing (#15) to see if it affects the md conversion. I checked turndown...
The only work around when having both env vars, to solve this, is to use different env names for the keys and only set and unset the AZURE_OPENAI_API_KEY when needed....