feat: add needle as custom component (#4657)

* init: add needle as custom component

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* stage changes

* upgrate: langchain-community

* lint

* [autofix.ci] apply automated fixes

* techdebt: package-lock.json

* [autofix.ci] apply automated fixes

* techdebt: lint with working needle

* techdebt: use Component class and Integrate with other components

* techdebt: adjust needle component

* [autofix.ci] apply automated fixes

* lint

* fix: package json & lock not in sync

* chore: remove outdated dependencies from pyproject.toml

* Removed pyautogen and several langchain-related packages to streamline dependencies and reduce potential conflicts.

* [autofix.ci] apply automated fixes

* refactor: simplify needle component API key handling and clean up imports

* Streamlined API key retrieval by removing unnecessary SecretStr usage, defaulting to empty strings if keys are not provided.
* Consolidated import statements for better readability and organization.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Jan Heimes 2024-12-16 16:11:31 +01:00 • committed by GitHub
commit e8667009b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 662 additions and 345 deletions

View file

@ -111,7 +111,8 @@ dependencies = [
"httpx[http2]>=0.27,<1.0.0",
"uvicorn>=0.30.0,<1.0.0",
"gunicorn>=22.0.0,<24.0.0",
"langchain~=0.3.3",
"langchain~=0.3.10",
"langchain-community~=0.3.10",
"langchain-core~=0.3.15",
"langchainhub~=0.1.15",
"loguru>=0.7.1,<1.0.0",