@zhongjis/n8n-nodes-openai-langfuse-fork 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +157 -0
- package/dist/credentials/OpenAiApiWithLangfuseApi.credentials.d.ts +10 -0
- package/dist/credentials/OpenAiApiWithLangfuseApi.credentials.js +76 -0
- package/dist/credentials/OpenAiApiWithLangfuseApi.credentials.js.map +1 -0
- package/dist/credentials/OpenAiApiWithLangfuseApi.credentials.svg +11 -0
- package/dist/nodes/LmChatOpenAiLangfuse/LmChatOpenAiLangfuse.node.d.ts +11 -0
- package/dist/nodes/LmChatOpenAiLangfuse/LmChatOpenAiLangfuse.node.js +398 -0
- package/dist/nodes/LmChatOpenAiLangfuse/LmChatOpenAiLangfuse.node.js.map +1 -0
- package/dist/nodes/LmChatOpenAiLangfuse/LmChatOpenAiWithLangfuseDark.icon.svg +11 -0
- package/dist/nodes/LmChatOpenAiLangfuse/LmChatOpenAiWithLangfuseLight.icon.svg +11 -0
- package/dist/nodes/LmChatOpenAiLangfuse/methods/loadModels.d.ts +2 -0
- package/dist/nodes/LmChatOpenAiLangfuse/methods/loadModels.js +47 -0
- package/dist/nodes/LmChatOpenAiLangfuse/methods/loadModels.js.map +1 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/N8nLlmTracing.d.ts +24 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/N8nLlmTracing.js +72 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/N8nLlmTracing.js.map +1 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/N8nTool.d.ts +4 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/N8nTool.js +19 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/N8nTool.js.map +1 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/helpers.d.ts +2 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/helpers.js +13 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/helpers.js.map +1 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/httpProxyAgent.d.ts +2 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/httpProxyAgent.js +16 -0
- package/dist/nodes/LmChatOpenAiLangfuse/utils/httpProxyAgent.js.map +1 -0
- package/dist/package.json +73 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +73 -0
package/README.md
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# n8n-nodes-openai-langfuse
|
|
2
|
+
|
|
3
|
+
> This project is proudly developed and maintained by **Wistron DXLab**. <br><br>
|
|
4
|
+
> ⚡Update: This is the new [**n8n-nodes-ai-agent-langfuse**](https://github.com/rorubyy/n8n-nodes-ai-agent-langfuse)
|
|
5
|
+
project, an upgraded version with Agent integration and enhanced structured tracing support.
|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
npm package: [https://www.npmjs.com/package/n8n-nodes-openai-langfuse](https://www.npmjs.com/package/n8n-nodes-openai-langfuse)
|
|
9
|
+
|
|
10
|
+
## Features
|
|
11
|
+
|
|
12
|
+
- Support for OpenAI-compatible chat models (e.g., `gpt-4.1-mini`, `gpt-4o`)
|
|
13
|
+
- Automatic Langfuse tracing for every request and response
|
|
14
|
+
- Custom metadata injection: `sessionId`, `userId`, and structured JSON
|
|
15
|
+
|
|
16
|
+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
17
|
+
|
|
18
|
+
[Installation](#installation)
|
|
19
|
+
[Credentials](#credentials) <!-- delete if no auth needed -->
|
|
20
|
+
[Operations](#operations)
|
|
21
|
+
[Compatibility](#compatibility)
|
|
22
|
+
[Usage](#usage) <!-- delete if not using this section -->
|
|
23
|
+
[Resources](#resources)
|
|
24
|
+
[Version history](#version-history) <!-- delete if not using this section -->
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the official n8n documentation for community nodes.
|
|
28
|
+
|
|
29
|
+
### Community Nodes (Recommended)
|
|
30
|
+
For **n8n v0.187+**, install directly from the UI:
|
|
31
|
+
1. Go to Settings → Community Nodes
|
|
32
|
+
2. Click **Install**
|
|
33
|
+
3. Enter `n8n-nodes-openai-langfuse` in Enter npm package name
|
|
34
|
+
4. Agree to the risks of using community nodes
|
|
35
|
+
5. Select Install
|
|
36
|
+
|
|
37
|
+
### Docker Installation (Recommended for Production)
|
|
38
|
+
A preconfigured Docker setup is available in the `docker/` directory:
|
|
39
|
+
|
|
40
|
+
1. Clone the repository and navigate to the docker/ directory
|
|
41
|
+
```bash
|
|
42
|
+
git clone https://github.com/rorubyy/n8n-nodes-openai-langfuse.git
|
|
43
|
+
cd n8n-nodes-openai-langfuse/docker
|
|
44
|
+
```
|
|
45
|
+
2. Build the Docker image
|
|
46
|
+
```bash
|
|
47
|
+
docker build -t n8n-openai-langfuse .
|
|
48
|
+
```
|
|
49
|
+
3. Run the container
|
|
50
|
+
```bash
|
|
51
|
+
docker run -it -p 5678:5678 n8n-openai-langfuse
|
|
52
|
+
```
|
|
53
|
+
You can now access n8n at http://localhost:5678
|
|
54
|
+
|
|
55
|
+
### Manual Installation
|
|
56
|
+
For a standard installation without Docker:
|
|
57
|
+
```bash
|
|
58
|
+
# Go to your n8n installation directory
|
|
59
|
+
cd ~/.n8n
|
|
60
|
+
# Install the node
|
|
61
|
+
npm install n8n-nodes-openai-langfuse
|
|
62
|
+
# Restart n8n to apply the node
|
|
63
|
+
n8n start
|
|
64
|
+
```
|
|
65
|
+
## Credential
|
|
66
|
+
|
|
67
|
+
This credential is used to:
|
|
68
|
+
- Authenticate your OpenAI-compatible LLM endpoint
|
|
69
|
+
- Enable Langfuse tracing, by sending structured request/response logs to your Langfuse instance
|
|
70
|
+
### OpenAI Settings
|
|
71
|
+
|Field Name|Description|Example|
|
|
72
|
+
|-----|-----|-----|
|
|
73
|
+
|OpenAI API Key|Your API key for accessing the OpenAI-compatible endpoint|`sk-abc123...`|
|
|
74
|
+
OpenAI Organization ID|(Optional) Your OpenAI organization ID, if required|`org-xyz789`|
|
|
75
|
+
|OpenAI Base URL|Full URL to your OpenAI-compatible endpoint|default: `https://api.openai.com/v1`|
|
|
76
|
+
### Langfuse Settings
|
|
77
|
+
|Field Name|Description|Example|
|
|
78
|
+
|-----|-----|-----|
|
|
79
|
+
Langfuse Base URL|The base URL of your Langfuse instance|`https://cloud.langfuse.com` or self-hosted URL|
|
|
80
|
+
|Langfuse Public Key *|Langfuse public key used for tracing authentication|`pk-xxx`|
|
|
81
|
+
Langfuse Secret Key *|Langfuse secret key used for tracing authentication|`sk-xxx`|
|
|
82
|
+
|
|
83
|
+
> 🔑 How to find your Langfuse keys: <br>
|
|
84
|
+
> Log in to your Langfuse dashboard, then go to: <br>
|
|
85
|
+
> Settings → Projects → [Your Project] to retrieve publicKey and secretKey.
|
|
86
|
+
|
|
87
|
+
### Credential UI Preview
|
|
88
|
+
Once filled out, your credential should look like this:
|
|
89
|
+
|
|
90
|
+

|
|
91
|
+
✅ After saving the credential, you're ready to use the node and see traces in your Langfuse dashboard.
|
|
92
|
+
|
|
93
|
+
## Operations
|
|
94
|
+
|
|
95
|
+
This node lets you inject Langfuse-compatible metadata into your OpenAI requests.
|
|
96
|
+
You can trace every run with context such as `sessionId`, `userId`, and any custom metadata.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
### Supported Fields
|
|
100
|
+
|
|
101
|
+
| Field | Type | Description |
|
|
102
|
+
|----------|----------|----------|
|
|
103
|
+
| `sessionId` | `string` | Logical session ID to group related runs |
|
|
104
|
+
| `userId` | `string` | ID representing the end user making the request |
|
|
105
|
+
| `metadata` | `object` | Custom JSON object with additional context (e.g., workflowId, env) |
|
|
106
|
+
|
|
107
|
+

|
|
108
|
+
---
|
|
109
|
+
### 🧪 Example Setup
|
|
110
|
+
| Input Field | Example Value |
|
|
111
|
+
|----------|----------|
|
|
112
|
+
| Session ID | `{{$json.sessionId}}`|
|
|
113
|
+
| User ID | `test` |
|
|
114
|
+
Custom Metadata (JSON)
|
|
115
|
+
```json
|
|
116
|
+
{
|
|
117
|
+
"project": "test-project",
|
|
118
|
+
"env": "dev",
|
|
119
|
+
"workflow": "main-flow"
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
---
|
|
123
|
+
### Visual Example
|
|
124
|
+
1. **Node Configuration UI**: This shows a sample n8n workflow using the Langfuse Chat Node.
|
|
125
|
+
|
|
126
|
+

|
|
127
|
+
|
|
128
|
+
2. **Workflow Setup**: A typical workflow using this node.
|
|
129
|
+
|
|
130
|
+

|
|
131
|
+
|
|
132
|
+
3. **Langfuse Trace Output**
|
|
133
|
+
Here’s how traces appear inside the Langfuse dashboard.
|
|
134
|
+
|
|
135
|
+

|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
## Compatibility
|
|
139
|
+
- Requires n8n version 1.0.0 or later
|
|
140
|
+
- Compatible with:
|
|
141
|
+
- OpenAI official API (https://api.openai.com)
|
|
142
|
+
- Any OpenAI-compatible LLM (e.g. via LiteLLM, LocalAI, Azure OpenAI)
|
|
143
|
+
- Langfuse Cloud and self-hosted instances
|
|
144
|
+
|
|
145
|
+
## Resources
|
|
146
|
+
|
|
147
|
+
- [n8n Community Node Docs](https://docs.n8n.io/integrations/community-nodes/)
|
|
148
|
+
- [Langfuse Documentation](https://docs.langfuse.com/)
|
|
149
|
+
- [n8n Community Forum](https://community.n8n.io/)
|
|
150
|
+
- [Langfuse GitHub](https://github.com/langfuse/langfuse)
|
|
151
|
+
|
|
152
|
+
## Version History
|
|
153
|
+
|
|
154
|
+
- **v1.0** – Initial release with OpenAI + Langfuse integration
|
|
155
|
+
|
|
156
|
+
## License
|
|
157
|
+
MIT © 2025 Wistron DXLab
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class OpenAiApiWithLangfuseApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
icon: "file:OpenAiApiWithLangfuseApi.credentials.svg";
|
|
5
|
+
displayName: string;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OpenAiApiWithLangfuseApi = void 0;
|
|
4
|
+
class OpenAiApiWithLangfuseApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'openAiApiWithLangfuseApi';
|
|
7
|
+
this.icon = 'file:OpenAiApiWithLangfuseApi.credentials.svg';
|
|
8
|
+
this.displayName = 'openAi With Langfuse API';
|
|
9
|
+
this.documentationUrl = 'https://langfuse.com/integrations/no-code/n8n';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'OpenAI API Key',
|
|
13
|
+
name: 'apiKey',
|
|
14
|
+
type: 'string',
|
|
15
|
+
typeOptions: { password: true },
|
|
16
|
+
required: true,
|
|
17
|
+
default: '',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'OpenAI Organization ID (optional)',
|
|
21
|
+
name: 'organizationId',
|
|
22
|
+
type: 'string',
|
|
23
|
+
default: '',
|
|
24
|
+
hint: 'Only required if you belong to multiple organisations',
|
|
25
|
+
description: "For users who belong to multiple organizations, you can set which organization is used for an API request. Usage from these API requests will count against the specified organization's subscription quota.",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
displayName: 'OpenAI Base URL',
|
|
29
|
+
name: 'url',
|
|
30
|
+
type: 'string',
|
|
31
|
+
default: 'https://api.openai.com/v1',
|
|
32
|
+
description: 'Override the default base URL for the API',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Langfuse Base URL',
|
|
36
|
+
name: 'langfuseBaseUrl',
|
|
37
|
+
type: 'string',
|
|
38
|
+
default: '',
|
|
39
|
+
required: true,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
displayName: 'Langfuse Public Key',
|
|
43
|
+
name: 'langfusePublicKey',
|
|
44
|
+
type: 'string',
|
|
45
|
+
default: '',
|
|
46
|
+
typeOptions: { password: true },
|
|
47
|
+
required: true,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
displayName: 'Langfuse Secret Key',
|
|
51
|
+
name: 'langfuseSecretKey',
|
|
52
|
+
type: 'string',
|
|
53
|
+
default: '',
|
|
54
|
+
typeOptions: { password: true },
|
|
55
|
+
required: true,
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
this.authenticate = {
|
|
59
|
+
type: 'generic',
|
|
60
|
+
properties: {
|
|
61
|
+
headers: {
|
|
62
|
+
Authorization: '=Bearer {{$credentials.apiKey}}',
|
|
63
|
+
'OpenAI-Organization': '={{$credentials.organizationId}}',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
this.test = {
|
|
68
|
+
request: {
|
|
69
|
+
baseURL: '={{$credentials?.url}}',
|
|
70
|
+
url: '/models',
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.OpenAiApiWithLangfuseApi = OpenAiApiWithLangfuseApi;
|
|
76
|
+
//# sourceMappingURL=OpenAiApiWithLangfuseApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenAiApiWithLangfuseApi.credentials.js","sourceRoot":"","sources":["../../credentials/OpenAiApiWithLangfuseApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,wBAAwB;IAArC;QACI,SAAI,GAAG,0BAA0B,CAAC;QAClC,SAAI,GAAG,+CAAwD,CAAC;QAEhE,gBAAW,GAAG,0BAA0B,CAAC;QACzC,qBAAgB,GAAG,+CAA+C,CAAC;QAEnE,eAAU,GAAsB;YAC5B;gBACI,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACd;YACD;gBACI,WAAW,EAAE,mCAAmC;gBAChD,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,uDAAuD;gBAC7D,WAAW,EACP,8MAA8M;aACrN;YACD;gBACI,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,2BAA2B;gBACpC,WAAW,EAAE,2CAA2C;aAC3D;YACD;gBACI,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACjB;YACD;gBACI,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;aACjB;YACD;gBACI,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;aACjB;SACJ,CAAC;QAEF,iBAAY,GAAyB;YACjC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACR,OAAO,EAAE;oBACL,aAAa,EAAE,iCAAiC;oBAChD,qBAAqB,EAAE,kCAAkC;iBAC5D;aACJ;SACJ,CAAC;QAEF,SAAI,GAA2B;YAC3B,OAAO,EAAE;gBACL,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,SAAS;aACjB;SACJ,CAAC;IACN,CAAC;CAAA;AAzED,4DAyEC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="500px" height="500px">
|
|
3
|
+
<path d="M 457.812 205.333 C 468.842 172.644 465.05 136.837 447.393 107.112 C 420.858 61.512 367.494 38.041 315.381 49.093 C 292.203 23.318 258.894 8.665 223.977 8.87 C 170.712 8.751 123.44 42.589 107.06 92.605 C 72.837 99.518 43.297 120.649 26.017 150.612 C -0.727 196.093 5.367 253.416 41.097 292.415 C 30.054 325.104 33.861 360.912 51.507 390.647 C 78.056 436.247 131.405 459.707 183.518 448.666 C 206.685 474.431 240.006 489.094 274.934 488.865 C 328.224 488.998 375.508 455.135 391.889 405.072 C 426.111 398.158 455.652 377.026 472.932 347.064 C 499.639 301.583 493.534 244.296 457.831 205.297 L 457.812 205.333 Z M 274.959 457.499 C 253.627 457.536 232.976 450.167 216.597 436.679 C 217.349 436.295 218.64 435.586 219.478 435.072 L 316.344 379.872 C 321.292 377.099 324.333 371.891 324.308 366.264 L 324.308 231.516 L 365.244 254.844 C 365.681 255.059 365.973 255.48 366.035 255.96 L 366.035 367.548 C 365.973 417.168 325.245 457.391 274.959 457.499 Z M 79.101 374.951 C 68.411 356.747 64.568 335.4 68.228 314.688 C 68.946 315.107 70.212 315.863 71.098 316.38 L 167.976 371.578 C 172.875 374.412 178.956 374.412 183.883 371.578 L 302.139 304.2 L 302.139 350.843 C 302.176 351.324 301.945 351.793 301.567 352.091 L 203.644 407.88 C 160.034 432.658 104.335 417.922 79.113 374.951 L 79.101 374.951 Z M 53.61 166.321 C 64.251 148.068 81.046 134.125 101.051 126.877 C 101.051 127.705 101.003 129.157 101.003 130.176 L 101.003 240.6 C 100.98 246.204 104.018 251.412 108.957 254.184 L 227.213 321.553 L 186.279 344.88 C 185.864 345.143 185.342 345.192 184.892 345 L 86.956 289.164 C 43.432 264.3 28.51 209.352 53.586 166.332 L 53.61 166.321 Z M 389.968 243.551 L 271.711 176.173 L 312.645 152.856 C 313.06 152.593 313.57 152.544 314.033 152.737 L 411.955 208.525 C 455.565 233.376 470.503 288.42 445.314 331.44 C 434.66 349.644 417.879 363.598 397.885 370.859 L 397.885 257.135 C 397.934 251.532 394.904 246.336 389.979 243.551 L 389.968 243.551 Z M 430.707 183.037 C 429.99 182.605 428.726 181.86 427.825 181.344 L 330.96 126.144 C 326.06 123.312 319.98 123.312 315.054 126.144 L 196.797 193.525 L 196.797 146.869 C 196.761 146.388 196.993 145.933 197.369 145.633 L 295.28 89.893 C 338.903 65.065 394.662 79.838 419.8 122.893 C 430.428 141.072 434.272 162.36 430.671 183.037 L 430.707 183.037 Z M 174.543 266.184 L 133.583 242.856 C 133.146 242.653 132.853 242.232 132.793 241.752 L 132.793 130.164 C 132.816 80.485 173.666 40.225 224.015 40.249 C 245.321 40.249 265.934 47.629 282.303 61.07 C 281.561 61.465 280.285 62.173 279.434 62.677 L 182.569 117.877 C 177.607 120.649 174.567 125.844 174.602 131.472 L 174.543 266.16 L 174.543 266.184 Z M 196.774 218.881 L 249.456 188.856 L 302.126 218.856 L 302.126 278.88 L 249.456 308.879 L 196.774 278.88 L 196.774 218.881 Z" fill="white" style="stroke-width: 1;"/>
|
|
4
|
+
<path d="M 461.568 452.697 C 448.487 471.845 428.457 484.621 405.854 486.485 C 405.151 486.539 404.447 486.593 403.733 486.635 C 377.23 488.063 357.21 474.979 343.935 462.832 C 320.442 449.373 302.063 445.984 291.309 443.054 C 283.488 440.923 276.645 436.661 273.712 434.53 C 271.112 432.857 265.882 428.978 261.981 421.743 C 257.611 413.634 257.357 405.889 257.425 402.596 C 259.703 402.265 262.646 401.903 266.088 401.668 C 268.902 401.477 271.63 401.403 274.69 401.391 C 298.426 401.36 316.834 402.616 330.227 409.053 C 337.471 412.526 344.188 417.151 350.171 422.788 C 357.864 430.055 373.593 441.541 392.98 437.62 C 395.443 437.119 397.809 436.459 400.086 435.648 C 407.066 434.562 419.003 433.688 433.061 437.726 C 446.405 441.563 456.005 448.191 461.568 452.697 Z" fill="#0A60B5" stroke="black" stroke-width="8" stroke-miterlimit="10" style="stroke-width: 8;"/>
|
|
5
|
+
<path d="M 459.828 320.829 C 453.931 312.562 446.764 304.747 438.298 299.413 C 429.277 293.734 417.766 288.843 403.844 287.518 C 369.828 284.279 346.572 304.694 342.335 308.554 C 337.063 313.908 315.974 332.852 290.59 343.37 C 286.167 345.074 277.653 349.103 270.086 358.096 C 264.101 365.206 261.173 372.485 259.737 377.008 C 262.764 377.46 265.888 377.786 269.11 377.986 C 293.723 379.469 314.871 379.617 328.705 372.285 C 337.844 367.446 345.859 360.557 352.772 352.49 C 365.23 337.942 383.399 331.453 399.938 335.902 C 407.534 337.048 420.764 337.921 436.063 332.852 C 446.626 329.35 454.497 324.941 459.828 320.829 Z" fill="#0A60B5" stroke="black" stroke-width="8" stroke-miterlimit="10" style="stroke-width: 8;"/>
|
|
6
|
+
<path d="M 228.999 326.968 C 219.562 321.72 212.196 315.666 207.172 310.927 C 204.363 308.276 200 310.449 200 314.499 L 200 347.612 C 200 349.054 200.603 350.421 201.633 351.311 L 214.169 364.364 C 214.829 359.115 216.248 351.979 219.436 344.091 C 222.438 336.648 226.044 330.955 228.999 326.968 Z" fill="#0A60B5" stroke="black" stroke-width="8" stroke-miterlimit="10" style="stroke-width: 8;"/>
|
|
7
|
+
<path d="M 430.829 400.862 C 432.264 396.079 433.059 391.062 433.177 385.95 C 433.275 381.911 432.844 380.401 432.195 376.491 C 438.865 375.279 447.197 373.302 454.792 371.176 C 462.819 368.934 468.753 366.33 475.424 363.736 C 476.397 368.785 477.418 371.24 477.771 374.981 C 478.106 378.51 478.312 382.167 478.371 385.95 C 478.548 397.706 477.221 408.365 475.178 417.709 C 468.891 414.179 461.423 410.523 452.827 407.313 C 444.829 404.316 437.392 402.275 430.829 400.862 Z" fill="#0A60B5" stroke="black" stroke-width="8" stroke-miterlimit="10" style="stroke-width: 8;"/>
|
|
8
|
+
<path d="M 206.88 470.775 C 204.003 473.034 200 470.806 200 466.935 L 200 426.267 C 200 425.037 200.437 423.869 201.196 423 C 201.574 422.565 201.924 422.32 202.08 422.225 L 214.499 416.453 C 215.413 421.842 216.919 428.293 219.436 435.317 C 222.381 443.529 225.879 450.181 228.999 455.242 C 221.622 460.42 214.246 465.597 206.88 470.775 Z" fill="#0A60B5" stroke="black" stroke-width="8" stroke-miterlimit="10" style="stroke-width: 8;"/>
|
|
9
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M 286.859 293.103 C 311.699 291.77 330.275 303.028 339.849 310.552 C 332.6 317.48 312.989 334.197 289.791 343.852 C 288.226 344.457 286.149 345.354 283.784 346.662 C 266.998 355.608 257.018 373.437 256.571 392.484 C 256.497 395.69 256.648 398.884 257.039 402.023 C 256.997 402.029 256.955 402.034 256.913 402.041 C 256.845 405.308 257.099 412.994 261.466 421.039 C 265.365 428.218 270.592 432.066 273.191 433.727 C 274.48 434.657 276.527 435.996 279.079 437.385 C 282.079 439.114 285.405 440.565 289.073 441.686 C 289.636 441.863 290.204 442.029 290.777 442.185 C 292.111 442.545 293.567 442.918 295.136 443.323 C 306.205 446.165 322.975 450.471 343.537 462.166 C 345.614 464.053 347.852 465.954 350.251 467.812 C 349.523 468.518 348.908 469.135 348.412 469.642 C 344.173 473.522 320.9 494.042 286.859 490.786 C 272.928 489.454 261.398 484.539 252.38 478.83 C 237.188 469.218 225.707 454.016 219.444 436.222 C 215.409 424.751 211.891 409.918 211.638 392.463 C 211.413 377.556 213.621 364.425 216.63 353.535 C 225.843 320.264 252.712 295.863 284.74 293.252 C 285.443 293.199 286.147 293.145 286.859 293.103 Z M 460.838 451.675 C 455.263 447.206 445.696 440.679 432.447 436.897 C 418.397 432.891 406.468 433.758 399.492 434.836 C 397.216 435.64 394.851 436.295 392.389 436.792 C 373.014 440.683 357.294 429.286 349.605 422.075 C 348.109 420.677 346.568 419.341 344.985 418.071 C 350.16 413.149 355.85 408.903 362.052 405.605 C 375.897 398.246 397.06 398.394 421.69 399.874 C 455.633 401.925 479.081 419.423 488.441 427.458 C 489.487 428.356 490.083 429.71 490.083 431.147 L 490.083 464.165 C 490.083 468.214 485.696 470.381 482.872 467.728 C 477.813 462.988 470.373 456.925 460.838 451.675 Z M 352.018 353.017 C 349.792 355.626 347.452 358.113 344.998 360.447 C 349.751 364.263 354.888 367.494 360.323 370.081 C 373.708 376.467 392.107 377.714 415.828 377.683 C 450.62 377.63 476.238 363.452 487.992 355.735 C 489.291 354.878 490.083 353.356 490.083 351.706 L 490.083 311.182 C 490.083 307.324 486.058 305.103 483.165 307.355 C 476.319 312.687 466.139 319.492 453.01 324.845 C 448.282 327.861 442.389 330.941 435.368 333.279 C 420.058 338.375 406.82 337.498 399.219 336.345 C 382.668 331.873 364.485 338.396 352.018 353.017 Z" fill="#E11312" style="stroke-width: 1;"/>
|
|
10
|
+
<path d="M 339.849 310.552 L 341.385 312.434 L 343.553 310.361 L 341.212 308.521 L 339.849 310.552 Z M 286.859 293.103 L 286.745 290.596 L 286.739 290.596 L 286.733 290.597 L 286.859 293.103 Z M 289.791 343.852 L 290.571 346.215 L 290.598 346.205 L 290.623 346.194 L 289.791 343.852 Z M 283.784 346.662 L 284.81 348.913 L 284.824 348.905 L 284.839 348.897 L 283.784 346.662 Z M 256.571 392.484 L 254.252 392.42 L 256.571 392.484 Z M 257.039 402.023 L 257.344 404.511 L 259.65 404.182 L 259.338 401.687 L 257.039 402.023 Z M 256.913 402.041 L 256.607 399.552 L 254.639 399.836 L 254.594 401.984 L 256.913 402.041 Z M 261.466 421.039 L 259.466 422.311 L 259.467 422.311 L 261.466 421.039 Z M 273.191 433.727 L 274.477 431.637 L 274.425 431.6 L 274.37 431.565 L 273.191 433.727 Z M 279.079 437.385 L 280.171 435.17 L 280.147 435.155 L 280.122 435.142 L 279.079 437.385 Z M 289.073 441.686 L 289.719 439.275 L 289.712 439.272 L 289.704 439.27 L 289.073 441.686 Z M 290.777 442.185 L 291.34 439.749 L 290.777 442.185 Z M 295.136 443.323 L 295.672 440.88 L 295.136 443.323 Z M 343.537 462.166 L 345.029 460.243 L 344.837 460.07 L 344.616 459.944 L 343.537 462.166 Z M 350.251 467.812 L 351.799 469.682 L 353.956 467.594 L 351.602 465.771 L 350.251 467.812 Z M 348.412 469.642 L 349.911 471.559 L 349.959 471.514 L 350.006 471.466 L 348.412 469.642 Z M 286.859 490.786 L 287.064 488.286 L 286.859 490.786 Z M 252.38 478.83 L 253.552 476.662 L 253.55 476.662 L 252.38 478.83 Z M 219.444 436.222 L 217.276 437.115 L 217.276 437.116 L 219.444 436.222 Z M 211.638 392.463 L 213.957 392.424 L 213.957 392.422 L 211.638 392.463 Z M 216.63 353.535 L 214.408 352.815 L 214.407 352.816 L 216.63 353.535 Z M 284.74 293.252 L 284.579 290.746 L 284.572 290.747 L 284.565 290.748 L 284.74 293.252 Z M 432.447 436.897 L 433.039 434.471 L 433.038 434.471 L 432.447 436.897 Z M 460.838 451.675 L 459.457 453.693 L 459.613 453.818 L 459.786 453.913 L 460.838 451.675 Z M 399.492 434.836 L 399.164 432.351 L 398.964 432.383 L 398.772 432.45 L 399.492 434.836 Z M 392.389 436.792 L 392.812 439.26 L 392.814 439.26 L 392.389 436.792 Z M 349.605 422.075 L 351.124 420.179 L 351.122 420.176 L 349.605 422.075 Z M 344.985 418.071 L 343.454 416.186 L 341.297 418.237 L 343.603 420.087 L 344.985 418.071 Z M 362.052 405.605 L 361.029 403.351 L 361.029 403.352 L 362.052 405.605 Z M 421.69 399.874 L 421.82 397.368 L 421.819 397.368 L 421.69 399.874 Z M 488.441 427.458 L 489.884 425.492 L 489.883 425.491 L 488.441 427.458 Z M 482.872 467.728 L 484.394 465.833 L 484.391 465.83 L 482.872 467.728 Z M 344.998 360.447 L 343.466 358.562 L 341.31 360.612 L 343.616 362.463 L 344.998 360.447 Z M 352.018 353.017 L 353.722 354.72 L 353.723 354.72 L 352.018 353.017 Z M 360.323 370.081 L 361.259 367.784 L 361.258 367.783 L 360.323 370.081 Z M 415.828 377.683 L 415.831 380.193 L 415.828 377.683 Z M 487.992 355.735 L 489.195 357.881 L 489.199 357.878 L 487.992 355.735 Z M 483.165 307.355 L 481.81 305.318 L 483.165 307.355 Z M 453.01 324.845 L 452.192 322.496 L 452.005 322.573 L 451.832 322.682 L 453.01 324.845 Z M 435.368 333.279 L 436.051 335.679 L 436.051 335.678 L 435.368 333.279 Z M 399.219 336.345 L 398.656 338.781 L 398.775 338.812 L 398.896 338.831 L 399.219 336.345 Z M 341.212 308.521 C 331.4 300.81 312.308 289.224 286.745 290.596 L 286.974 295.61 C 311.091 294.316 329.149 305.246 338.486 312.583 L 341.212 308.521 Z M 290.623 346.194 C 314.184 336.388 334.035 319.458 341.385 312.434 L 338.313 308.672 C 331.166 315.502 311.793 332.005 288.958 341.508 L 290.623 346.194 Z M 284.839 348.897 C 287.098 347.649 289.08 346.793 290.571 346.215 L 289.01 341.487 C 287.372 342.122 285.201 343.06 282.73 344.425 L 284.839 348.897 Z M 258.891 392.548 C 259.315 374.413 268.814 357.438 284.81 348.913 L 282.759 344.409 C 265.182 353.778 254.72 372.462 254.252 392.42 L 258.891 392.548 Z M 259.338 401.687 C 258.964 398.686 258.819 395.626 258.891 392.548 L 254.252 392.42 C 254.174 395.753 254.331 399.081 254.741 402.358 L 259.338 401.687 Z M 257.219 404.53 C 257.26 404.523 257.302 404.518 257.344 404.511 L 256.736 399.534 C 256.693 399.54 256.65 399.547 256.607 399.552 L 257.219 404.53 Z M 263.466 419.768 C 259.407 412.29 259.169 405.136 259.232 402.097 L 254.594 401.984 C 254.521 405.479 254.791 413.699 259.466 422.311 L 263.466 419.768 Z M 274.37 431.565 C 271.95 430.019 267.088 426.437 263.466 419.768 L 259.467 422.311 C 263.64 429.998 269.233 434.114 272.011 435.888 L 274.37 431.565 Z M 280.122 435.142 C 277.654 433.8 275.689 432.511 274.477 431.637 L 271.904 435.815 C 273.271 436.802 275.4 438.194 278.039 439.628 L 280.122 435.142 Z M 289.704 439.27 C 286.187 438.195 283.016 436.809 280.171 435.17 L 277.989 439.601 C 281.142 441.419 284.623 442.934 288.443 444.102 L 289.704 439.27 Z M 291.34 439.749 C 290.796 439.602 290.255 439.443 289.719 439.275 L 288.427 444.097 C 289.016 444.282 289.612 444.456 290.215 444.62 L 291.34 439.749 Z M 295.672 440.88 C 294.1 440.476 292.658 440.105 291.34 439.749 L 290.215 444.62 C 291.565 444.985 293.034 445.363 294.6 445.764 L 295.672 440.88 Z M 344.616 459.944 C 323.787 448.097 306.784 443.733 295.672 440.88 L 294.6 445.764 C 305.626 448.596 322.162 452.846 342.458 464.389 L 344.616 459.944 Z M 351.602 465.771 C 349.256 463.954 347.065 462.093 345.029 460.243 L 342.045 464.089 C 344.163 466.012 346.448 467.953 348.901 469.854 L 351.602 465.771 Z M 350.006 471.466 C 350.49 470.972 351.088 470.371 351.799 469.682 L 348.705 465.941 C 347.957 466.665 347.329 467.297 346.82 467.816 L 350.006 471.466 Z M 286.655 493.287 C 321.652 496.635 345.545 475.553 349.911 471.559 L 346.915 467.725 C 342.799 471.491 320.147 491.451 287.064 488.286 L 286.655 493.287 Z M 251.208 480.995 C 260.471 486.86 272.327 491.917 286.655 493.287 L 287.064 488.286 C 273.527 486.991 262.325 482.217 253.552 476.662 L 251.208 480.995 Z M 217.276 437.116 C 223.717 455.413 235.534 471.08 251.209 480.996 L 253.55 476.662 C 238.841 467.357 227.698 452.618 221.612 435.329 L 217.276 437.116 Z M 209.318 392.502 C 209.577 410.303 213.164 425.425 217.276 437.115 L 221.612 435.329 C 217.654 424.076 214.207 409.533 213.957 392.424 L 209.318 392.502 Z M 214.407 352.816 C 211.341 363.914 209.088 377.302 209.318 392.503 L 213.957 392.422 C 213.738 377.81 215.901 364.936 218.853 354.254 L 214.407 352.816 Z M 284.565 290.748 C 251.536 293.441 223.884 318.594 214.408 352.815 L 218.852 354.255 C 227.803 321.934 253.888 298.285 284.914 295.755 L 284.565 290.748 Z M 286.733 290.597 C 286 290.64 285.28 290.695 284.579 290.746 L 284.9 295.755 C 285.606 295.703 286.293 295.652 286.987 295.61 L 286.733 290.597 Z M 431.856 439.325 C 444.734 443.001 454.034 449.345 459.457 453.693 L 462.219 449.658 C 456.491 445.066 446.659 438.358 433.039 434.471 L 431.856 439.325 Z M 399.82 437.321 C 406.602 436.273 418.199 435.43 431.856 439.325 L 433.038 434.471 C 418.596 430.352 406.334 431.243 399.164 432.351 L 399.82 437.321 Z M 392.814 439.26 C 395.375 438.743 397.838 438.06 400.211 437.223 L 398.772 432.45 C 396.593 433.219 394.327 433.848 391.964 434.324 L 392.814 439.26 Z M 348.085 423.973 C 355.94 431.337 372.375 443.364 392.812 439.26 L 391.965 434.324 C 373.654 438.002 358.648 427.234 351.124 420.179 L 348.085 423.973 Z M 343.603 420.087 C 345.14 421.32 346.636 422.617 348.087 423.975 L 351.122 420.176 C 349.583 418.737 347.996 417.363 346.367 416.054 L 343.603 420.087 Z M 361.029 403.352 C 354.623 406.758 348.764 411.135 343.454 416.186 L 346.517 419.957 C 351.555 415.164 357.077 411.047 363.075 407.857 L 361.029 403.352 Z M 421.819 397.368 C 409.49 396.627 397.926 396.211 387.678 396.919 C 377.45 397.626 368.348 399.462 361.029 403.351 L 363.075 407.857 C 369.601 404.389 378.002 402.619 387.974 401.93 C 397.928 401.242 409.259 401.641 421.562 402.38 L 421.819 397.368 Z M 489.883 425.491 C 480.344 417.301 456.44 399.46 421.82 397.368 L 421.561 402.38 C 454.824 404.391 477.819 421.543 487 429.424 L 489.883 425.491 Z M 492.403 431.147 C 492.403 428.952 491.489 426.871 489.884 425.492 L 486.998 429.423 C 487.484 429.84 487.763 430.467 487.763 431.147 L 492.403 431.147 Z M 492.403 464.165 L 492.403 431.147 L 487.763 431.147 L 487.763 464.165 L 492.403 464.165 Z M 481.351 469.623 C 485.679 473.691 492.403 470.362 492.403 464.165 L 487.763 464.165 C 487.763 466.066 485.712 467.072 484.394 465.833 L 481.351 469.623 Z M 459.786 453.913 C 469.117 459.05 476.401 464.986 481.354 469.626 L 484.391 465.83 C 479.225 460.99 471.629 454.801 461.89 449.438 L 459.786 453.913 Z M 346.53 362.333 C 349.048 359.938 351.446 357.389 353.722 354.72 L 350.313 351.315 C 348.138 353.863 345.857 356.289 343.466 358.562 L 346.53 362.333 Z M 361.258 367.783 C 355.981 365.271 350.994 362.136 346.38 358.431 L 343.616 362.463 C 348.508 366.392 353.796 369.717 359.388 372.379 L 361.258 367.783 Z M 415.825 375.172 C 392.051 375.204 374.133 373.926 361.259 367.784 L 359.387 372.377 C 373.284 379.008 392.161 380.225 415.831 380.193 L 415.825 375.172 Z M 486.788 353.588 C 475.228 361.178 450.033 375.12 415.825 375.172 L 415.831 380.193 C 451.208 380.139 477.248 365.726 489.195 357.881 L 486.788 353.588 Z M 487.763 351.706 C 487.763 352.48 487.394 353.189 486.785 353.59 L 489.199 357.878 C 491.189 356.566 492.403 354.232 492.403 351.706 L 487.763 351.706 Z M 487.763 311.182 L 487.763 351.706 L 492.403 351.706 L 492.403 311.182 L 487.763 311.182 Z M 484.52 309.393 C 485.886 308.33 487.763 309.379 487.763 311.182 L 492.403 311.182 C 492.403 305.268 486.23 301.876 481.81 305.318 L 484.52 309.393 Z M 453.828 327.194 C 467.192 321.746 477.551 314.82 484.52 309.392 L 481.81 305.318 C 475.086 310.553 465.087 317.239 452.192 322.496 L 453.828 327.194 Z M 436.051 335.678 C 443.271 333.273 449.328 330.108 454.188 327.008 L 451.832 322.682 C 447.234 325.615 441.508 328.608 434.686 330.879 L 436.051 335.678 Z M 398.896 338.831 C 406.703 340.014 420.309 340.918 436.051 335.679 L 434.686 330.879 C 419.808 335.832 406.937 334.98 399.54 333.858 L 398.896 338.831 Z M 353.723 354.72 C 365.68 340.695 383.018 334.555 398.656 338.781 L 399.78 333.909 C 382.317 329.191 363.289 336.096 350.313 351.315 L 353.723 354.72 Z" fill="black" style="stroke-width: 1;"/>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type INodeType, type INodeTypeDescription, type ISupplyDataFunctions, type SupplyData } from 'n8n-workflow';
|
|
2
|
+
import { searchModels } from './methods/loadModels';
|
|
3
|
+
export declare class LmChatOpenAiLangfuse implements INodeType {
|
|
4
|
+
methods: {
|
|
5
|
+
listSearch: {
|
|
6
|
+
searchModels: typeof searchModels;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
description: INodeTypeDescription;
|
|
10
|
+
supplyData(this: ISupplyDataFunctions, itemIndex: number): Promise<SupplyData>;
|
|
11
|
+
}
|