deepset-ai / haystack

:mag: LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
https://haystack.deepset.ai
Apache License 2.0
14.67k stars 1.72k forks source link

[Feature Request] Implement Haystack Library for Node.js #6444

Open foxminchan opened 7 months ago

foxminchan commented 7 months ago

Introduction

I am writing to request a feature implementation for Haystack in Node.js. As a developer working extensively with JavaScript and Node.js environments, I find Haystack's capabilities in natural language processing and information retrieval extremely beneficial. However, the current lack of a Node.js library limits the applicability of Haystack in projects that are built on Node.js.

Feature Description

Objective

To develop a Haystack library compatible with Node.js.

Key Features

Use Cases

This implementation will enable Node.js developers to integrate advanced NLP and information retrieval features into their applications, enhancing capabilities in areas such as chatbots, search engines, data analysis tools, and more.

Benefits

masci commented 7 months ago

Hi @foxminchan and thanks for the detailed feature request.

While I'm 100% onboard with the idea, realistically I don't see an easy way of rewriting Haystack in Typescript without an epic effort from the community, or the use of a technology that can do the heavy-lifting for us (something like https://github.com/mmomtchev/pymport maybe?), or both.

I'll tinker with the idea to have a better sense of the extent of this feature, in the meantime if anybody has something to say on the topic please contribute!