Skip to content

Commit

Permalink
upgrade langfuse and add sdkIntegration tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen committed Mar 7, 2024
1 parent 9dfa259 commit 214e7c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"ioredis": "^5.3.2",
"jsonpointer": "^5.0.1",
"langchain": "^0.1.20",
"langfuse": "3.1.0",
"langfuse-langchain": "^3.1.0",
"langfuse": "3.3.1",
"langfuse-langchain": "^3.3.1",
"langsmith": "0.1.6",
"linkifyjs": "^4.1.1",
"llamaindex": "^0.0.48",
Expand Down
4 changes: 3 additions & 1 deletion packages/components/src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ export const additionalCallbacks = async (nodeData: INodeData, options: ICommonO
let langFuseOptions: any = {
secretKey: langFuseSecretKey,
publicKey: langFusePublicKey,
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com'
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com',
sdkIntegration: 'Flowise'
}
if (release) langFuseOptions.release = release
if (options.chatId) langFuseOptions.sessionId = options.chatId
Expand Down Expand Up @@ -340,6 +341,7 @@ export class AnalyticHandler {
secretKey: langFuseSecretKey,
publicKey: langFusePublicKey,
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com',
sdkIntegration: 'Flowise',
release
})
this.handlers['langFuse'] = { client: langfuse }
Expand Down

0 comments on commit 214e7c8

Please sign in to comment.