-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog_good.txt
689 lines (683 loc) · 79.4 KB
/
log_good.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
-----------------
[chain/start] [1:chain:AgentExecutor] Entering Chain run with input: {
"input": "what is LangSmith?"
}
[chain/start] [1:chain:AgentExecutor > 2:chain:RunnableAgent] Entering Chain run with input: {
"input": "what is LangSmith?",
"steps": []
}
[chain/start] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 3:chain:RunnableMap] Entering Chain run with input: {
"input": {
"input": "what is LangSmith?",
"steps": []
}
}
[chain/start] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 3:chain:RunnableMap > 4:chain:RunnableLambda] Entering Chain run with input: {
"input": "what is LangSmith?",
"steps": []
}
[chain/end] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 3:chain:RunnableMap > 4:chain:RunnableLambda] [0ms] Exiting Chain run with output: {
"output": []
}
[chain/end] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 3:chain:RunnableMap] [0ms] Exiting Chain run with output: {
"agent_scratchpad": []
}
[chain/start] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 5:prompt:ChatPromptTemplate] Entering Chain run with input: {
"input": "what is LangSmith?",
"steps": [],
"agent_scratchpad": []
}
[chain/end] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 5:prompt:ChatPromptTemplate] [1ms] Exiting Chain run with output: {
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"prompt_values",
"ChatPromptValue"
],
"kwargs": {
"messages": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"SystemMessage"
],
"kwargs": {
"content": "You are a helpful assistant",
"additional_kwargs": {}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"HumanMessage"
],
"kwargs": {
"content": "what is LangSmith?",
"additional_kwargs": {}
}
}
]
}
}
[llm/start] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 6:llm:ChatOpenAI] Entering LLM run with input: {
"messages": [
[
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"SystemMessage"
],
"kwargs": {
"content": "You are a helpful assistant",
"additional_kwargs": {}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"HumanMessage"
],
"kwargs": {
"content": "what is LangSmith?",
"additional_kwargs": {}
}
}
]
]
}
[llm/end] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 6:llm:ChatOpenAI] [1.37s] Exiting LLM run with output: {
"generations": [
[
{
"text": "",
"message": {
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
},
"generationInfo": {
"finish_reason": "function_call"
}
}
]
],
"llmOutput": {
"tokenUsage": {
"completionTokens": 19,
"promptTokens": 84,
"totalTokens": 103
}
}
}
[chain/start] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 7:parser:OpenAIFunctionsAgentOutputParser] Entering Chain run with input: {
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
[chain/end] [1:chain:AgentExecutor > 2:chain:RunnableAgent > 7:parser:OpenAIFunctionsAgentOutputParser] [0ms] Exiting Chain run with output: {
"tool": "tavily_search_results_json",
"toolInput": {
"input": "LangSmith"
},
"log": "Invoking \"tavily_search_results_json\" with {\"input\":\"LangSmith\"}\n",
"messageLog": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
]
}
[chain/end] [1:chain:AgentExecutor > 2:chain:RunnableAgent] [1.38s] Exiting Chain run with output: {
"tool": "tavily_search_results_json",
"toolInput": {
"input": "LangSmith"
},
"log": "Invoking \"tavily_search_results_json\" with {\"input\":\"LangSmith\"}\n",
"messageLog": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
]
}
[agent/action] [1:chain:AgentExecutor] Agent selected action: {
"tool": "tavily_search_results_json",
"toolInput": {
"input": "LangSmith"
},
"log": "Invoking \"tavily_search_results_json\" with {\"input\":\"LangSmith\"}\n",
"messageLog": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
]
}
[tool/start] [1:chain:AgentExecutor > 8:tool:TavilySearchResults] Entering Tool run with input: "LangSmith"
[tool/end] [1:chain:AgentExecutor > 8:tool:TavilySearchResults] [1.05s] Exiting Tool run with output: "[{"title":"LangSmith","url":"https://www.langchain.com/langsmith","content":"BETA Sign Up\nContact Sales\nProducts and use-cases\nLangChain\nLangSmith\nRetrieval\nAgents\nInspiration\nCode\nGitHub\nLangChain Hub\nPython Docs\nJS/TS Docs\nSocial\nTwitter\nDiscord\nBlog\nLinkedIn\nYouTube\nTerms of Service\nSign up for our newsletter\nProducts and use-cases\nLangChain\nLangSmith\nRetrieval\nAgents\nInspiration\nCode\nGitHub\nLangChain Hub\nPython Docs\nJS/TS Docs\nSocial\nTwitter\nDiscord\nBlog\nLinkedIn\nYouTube\nTerms of Service\nSign up for our newsletter\nProducts and use-cases\nLangChain\nLangSmith\nRetrieval\nAgents\nInspiration\nCode\nGitHub\nLangChain Hub\nPython Docs\nJS/TS Docs\nSocial\nTwitter\nDiscord\nBlog\nLinkedIn\nYouTube\nTerms of Service\nSign up for our newsletter 🦜🔗 LangChain\nLangSmith\nLangServe\nAgents\nRetrieval\nEvaluation\nBlog\nDocs\n🦜🔗 LangChain\nBuild and deploy LLM apps with confidence\nAn all-in-one developer platform for every step of the application lifecycle.\n Prompt playground\nCross-team collaboration\nCatalog of ranging models & tasks\nProven prompting strategies\nExplore LangChain Hub\nTurn the magic of LLM applications into enterprise-ready products\nNative collaboration\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\n Application-level usage stats\nFeedback collection\nFilter traces\nCost measurement\nPerformance comparison\nGo To Docs\nManage Prompts\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\nEvaluate chain performance\nAI-assisted evaluation\nEasy benchmarking\nGo To Docs\nMonitor\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”","score":0.9673,"raw_content":null},{"title":"LangSmith Walkthrough | ️ Langchain","url":"https://python.langchain.com/docs/langsmith/walkthrough","content":"This will:\nThe results will be visible in the LangSmith app.\nReview the test results\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \"Testing & Datasets\" page in LangSmith\n\"agent-qa-{unique_id}\" dataset.\n Below, we will create some pre-implemented run evaluators that do the following:\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\ncustom evaluators, please refer to the LangSmith documentation.\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\n Create the langsmith client to interact with the API\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.","score":0.94139,"raw_content":null},{"title":"LangSmith | ️ Langchain","url":"https://python.langchain.com/docs/langsmith/","content":"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...","score":0.91798,"raw_content":null},{"title":"LangSmith Overview and User Guide | ️ ️ LangSmith","url":"https://docs.smith.langchain.com/overview","content":"We often use this for a couple of reasons:\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\nAll the annotations made using the queue are assigned as \"feedback\" to the source runs, so you can easily filter and analyze them later.\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\n","score":0.90454,"raw_content":null},{"title":"LangSmith | ️ ️ LangSmith","url":"https://docs.smith.langchain.com/","content":"If you already use LangChain, you can connect to LangSmith in a few steps:\nFor environments where process.env is not defined, initialize by explicitly passing keys:\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\n Quick Start\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\n LangChain JS Docs for the TypeScript LangChain library\nDiscord: Join us on our Discord to discuss all things LangChain!\n Next Steps\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\n","score":0.90136,"raw_content":null}]"
[chain/start] [1:chain:AgentExecutor > 9:chain:RunnableAgent] Entering Chain run with input: {
"input": "what is LangSmith?",
"steps": [
{
"action": {
"tool": "tavily_search_results_json",
"toolInput": {
"input": "LangSmith"
},
"log": "Invoking \"tavily_search_results_json\" with {\"input\":\"LangSmith\"}\n",
"messageLog": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
]
},
"observation": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]"
}
]
}
[chain/start] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 10:chain:RunnableMap] Entering Chain run with input: {
"input": {
"input": "what is LangSmith?",
"steps": [
{
"action": {
"tool": "tavily_search_results_json",
"toolInput": {
"input": "LangSmith"
},
"log": "Invoking \"tavily_search_results_json\" with {\"input\":\"LangSmith\"}\n",
"messageLog": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
]
},
"observation": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]"
}
]
}
}
[chain/start] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 10:chain:RunnableMap > 11:chain:RunnableLambda] Entering Chain run with input: {
"input": "what is LangSmith?",
"steps": [
{
"action": {
"tool": "tavily_search_results_json",
"toolInput": {
"input": "LangSmith"
},
"log": "Invoking \"tavily_search_results_json\" with {\"input\":\"LangSmith\"}\n",
"messageLog": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
]
},
"observation": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]"
}
]
}
[chain/end] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 10:chain:RunnableMap > 11:chain:RunnableLambda] [3ms] Exiting Chain run with output: {
"output": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"FunctionMessage"
],
"kwargs": {
"content": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]",
"name": "tavily_search_results_json",
"additional_kwargs": {}
}
}
]
}
[chain/end] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 10:chain:RunnableMap] [4ms] Exiting Chain run with output: {
"agent_scratchpad": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"FunctionMessage"
],
"kwargs": {
"content": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]",
"name": "tavily_search_results_json",
"additional_kwargs": {}
}
}
]
}
[chain/start] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 12:prompt:ChatPromptTemplate] Entering Chain run with input: {
"input": "what is LangSmith?",
"steps": [
{
"action": {
"tool": "tavily_search_results_json",
"toolInput": {
"input": "LangSmith"
},
"log": "Invoking \"tavily_search_results_json\" with {\"input\":\"LangSmith\"}\n",
"messageLog": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
}
]
},
"observation": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]"
}
],
"agent_scratchpad": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"FunctionMessage"
],
"kwargs": {
"content": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]",
"name": "tavily_search_results_json",
"additional_kwargs": {}
}
}
]
}
[chain/end] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 12:prompt:ChatPromptTemplate] [1ms] Exiting Chain run with output: {
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"prompt_values",
"ChatPromptValue"
],
"kwargs": {
"messages": [
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"SystemMessage"
],
"kwargs": {
"content": "You are a helpful assistant",
"additional_kwargs": {}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"HumanMessage"
],
"kwargs": {
"content": "what is LangSmith?",
"additional_kwargs": {}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"FunctionMessage"
],
"kwargs": {
"content": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]",
"name": "tavily_search_results_json",
"additional_kwargs": {}
}
}
]
}
}
[llm/start] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 13:llm:ChatOpenAI] Entering LLM run with input: {
"messages": [
[
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"SystemMessage"
],
"kwargs": {
"content": "You are a helpful assistant",
"additional_kwargs": {}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"HumanMessage"
],
"kwargs": {
"content": "what is LangSmith?",
"additional_kwargs": {}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"function_call": {
"name": "tavily_search_results_json",
"arguments": "{\"input\":\"LangSmith\"}"
}
}
}
},
{
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"FunctionMessage"
],
"kwargs": {
"content": "[{\"title\":\"LangSmith\",\"url\":\"https://www.langchain.com/langsmith\",\"content\":\"BETA Sign Up\\nContact Sales\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter\\nProducts and use-cases\\nLangChain\\nLangSmith\\nRetrieval\\nAgents\\nInspiration\\nCode\\nGitHub\\nLangChain Hub\\nPython Docs\\nJS/TS Docs\\nSocial\\nTwitter\\nDiscord\\nBlog\\nLinkedIn\\nYouTube\\nTerms of Service\\nSign up for our newsletter 🦜🔗 LangChain\\nLangSmith\\nLangServe\\nAgents\\nRetrieval\\nEvaluation\\nBlog\\nDocs\\n🦜🔗 LangChain\\nBuild and deploy LLM apps with confidence\\nAn all-in-one developer platform for every step of the application lifecycle.\\n Prompt playground\\nCross-team collaboration\\nCatalog of ranging models & tasks\\nProven prompting strategies\\nExplore LangChain Hub\\nTurn the magic of LLM applications into enterprise-ready products\\nNative collaboration\\nBring your team together in LangSmith to craft prompts, debug, and capture feedback.\\n Application-level usage stats\\nFeedback collection\\nFilter traces\\nCost measurement\\nPerformance comparison\\nGo To Docs\\nManage Prompts\\nPrompts power your team's chains and agents, and LangSmith allows you to refine, test, and version them in one place. Dataset curation\\nEvaluate chain performance\\nAI-assisted evaluation\\nEasy benchmarking\\nGo To Docs\\nMonitor\\nGiven the stochastic nature of LLMs, it can be hard to answer the simple question: “what’s happening with my application?”\",\"score\":0.9673,\"raw_content\":null},{\"title\":\"LangSmith Walkthrough | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/walkthrough\",\"content\":\"This will:\\nThe results will be visible in the LangSmith app.\\nReview the test results\\nYou can review the test results tracing UI below by clicking the URL in the output above or navigating to the \\\"Testing & Datasets\\\" page in LangSmith\\n\\\"agent-qa-{unique_id}\\\" dataset.\\n Below, we will create some pre-implemented run evaluators that do the following:\\nFor a longer discussion of how to select an appropriate evaluator for your use case and how to create your own\\ncustom evaluators, please refer to the LangSmith documentation.\\n For more information on datasets, including how to create them from CSVs or other files or how to create them in the platform, please refer to the LangSmith documentation.\\n Create the langsmith client to interact with the API\\nCreate a LangChain component and log runs to the platform. Create a LangSmith dataset\\nBelow, we use the LangSmith client to create a dataset from the input questions from above and a list labels.\",\"score\":0.94139,\"raw_content\":null},{\"title\":\"LangSmith | ️ Langchain\",\"url\":\"https://python.langchain.com/docs/langsmith/\",\"content\":\"LangSmith. LangSmith helps you trace and evaluate your language model applications and intelligent agents to help you move from prototype to production.. Check out the interactive walkthrough to get started.. For more information, please refer to the LangSmith documentation.. For tutorials and other end-to-end examples demonstrating ways to integrate LangSmith in your workflow, check out the ...\",\"score\":0.91798,\"raw_content\":null},{\"title\":\"LangSmith Overview and User Guide | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/overview\",\"content\":\"We often use this for a couple of reasons:\\nTo assess subjective qualities that automatic evaluators struggle with, like creativity or humor\\nTo sample and validate a subset of runs that were auto-evaluated, ensuring the automatic metrics are still reliable and capturing the right information\\nAll the annotations made using the queue are assigned as \\\"feedback\\\" to the source runs, so you can easily filter and analyze them later.\\n This feature is available at every step of a nested chain, enabling you to add examples for an end-to-end chain, an intermediary chain (such as a LLM Chain), or simply the LLM or Chat Model.\\n The LangSmith client makes it easy to pull down a dataset and then run a chain over them, logging the results to a new project associated with the dataset. LangChain simplifies the initial setup, but there is still work needed to bring the performance of prompts, chains and agents up the level where they are reliable enough to be used in production.\\n You can also quickly edit examples and add them to datasets to expand the surface area of your evaluation sets or to fine-tune a model for improved quality or reduced costs.\\n\",\"score\":0.90454,\"raw_content\":null},{\"title\":\"LangSmith | ️ ️ LangSmith\",\"url\":\"https://docs.smith.langchain.com/\",\"content\":\"If you already use LangChain, you can connect to LangSmith in a few steps:\\nFor environments where process.env is not defined, initialize by explicitly passing keys:\\nIf you don't want to use LangChain in your LLM application, you can get started with LangSmith in just a few steps:\\nCongratulations! It lets you debug, test, evaluate, and monitor chains and intelligent agents built on any LLM framework and seamlessly integrates with LangChain, the go-to open source framework for building with LLMs.\\n Quick Start\\nIf following along with code is more your thing, we've set up a Jupyter notebook at this link to help you get started with LangSmith.\\n LangChain JS Docs for the TypeScript LangChain library\\nDiscord: Join us on our Discord to discuss all things LangChain!\\n Next Steps\\nRead the LangSmith Overview to learn more about what LangSmith has to offer.\\n\",\"score\":0.90136,\"raw_content\":null}]",
"name": "tavily_search_results_json",
"additional_kwargs": {}
}
}
]
]
}
[llm/end] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 13:llm:ChatOpenAI] [3.31s] Exiting LLM run with output: {
"generations": [
[
{
"text": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)",
"message": {
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)",
"additional_kwargs": {}
}
},
"generationInfo": {
"finish_reason": "stop"
}
}
]
],
"llmOutput": {
"tokenUsage": {
"completionTokens": 93,
"promptTokens": 1421,
"totalTokens": 1514
}
}
}
[chain/start] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 14:parser:OpenAIFunctionsAgentOutputParser] Entering Chain run with input: {
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)",
"additional_kwargs": {}
}
}
[chain/end] [1:chain:AgentExecutor > 9:chain:RunnableAgent > 14:parser:OpenAIFunctionsAgentOutputParser] [0ms] Exiting Chain run with output: {
"returnValues": {
"output": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)"
},
"log": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)"
}
[chain/end] [1:chain:AgentExecutor > 9:chain:RunnableAgent] [3.33s] Exiting Chain run with output: {
"returnValues": {
"output": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)"
},
"log": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)"
}
[chain/end] [1:chain:AgentExecutor] [5.77s] Exiting Chain run with output: {
"input": "what is LangSmith?",
"output": "LangSmith is a platform that helps trace and evaluate language model applications and intelligent agents to move from prototype to production. It provides features for managing prompts, evaluating chain performance, monitoring applications, and more. LangSmith is part of the LangChain ecosystem, which is an open source framework for building with language model models (LLMs). You can find more information about LangSmith on their official website: [LangSmith](https://www.langchain.com/langsmith)"
}
2024-01-14T14:20:39.765Z [http] GET /api/langchain/search?model=openai 200 513 - 6247.115 ms