feat(components): add LangWatch evaluator component - New Bundle (#4722)

* feat(components): add LangWatch evaluator component

* feat(langwatch): add tracing integration and custom endpoint support

* style(langwatch): update component name and svg icon

* [autofix.ci] apply automated fixes

* Clean code with code formatting styles

* Add contexts and expected_output also as dynamic fields

* refactor(langwatch): remove redundant logging and improve type hinting

- Removed unnecessary logger exception calls in error handling sections to streamline the code.
- Added type hinting for the trace_id assignment to enhance code clarity and maintainability.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Rogério Chaves <rogeriochaves@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
VICTOR CORREA GOMES 2024-12-19 15:26:10 -03:00 • committed by GitHub
commit 81da524375
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 305 additions and 2215 deletions

View file

@ -740,6 +740,8 @@ export const BUNDLES_SIDEBAR_FOLDER_NAMES = [
"Notion",
"AssemblyAI",
"assemblyai",
"LangWatch",
"langwatch",
];
export const AUTHORIZED_DUPLICATE_REQUESTS = [

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 252 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before After
Before After

View file

@ -1,9 +1,10 @@
const SvgLangwatch = (props) => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1080 1080"
width="1080"
height="1080"
width="380"
height="520"
fill="none"
viewBox="0 0 38 52"
{...props}
>
<g

View file

@ -513,6 +513,7 @@ export const SIDEBAR_BUNDLES = [
name: "astra_assistants",
icon: "AstraDB",
},
{ display_name: "LangWatch", name: "langwatch", icon: "Langwatch" },
{ display_name: "Notion", name: "Notion", icon: "Notion" },
{ display_name: "Needle", name: "needle", icon: "Needle" },
{ display_name: "NVIDIA", name: "nvidia", icon: "NVIDIA" },