Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.2.0 #371

Merged
merged 313 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
9cbb929
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 9, 2024
94b13f6
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 9, 2024
417c314
update package lock
karthikscale3 May 9, 2024
bee3df8
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 9, 2024
9b82b03
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 9, 2024
28ff70b
Merge branch 'development' into release
karthikscale3 May 9, 2024
186f82b
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 13, 2024
2099f1d
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 13, 2024
047f9b6
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 13, 2024
153ac91
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 13, 2024
13f04aa
Merge branch 'development' into release
karthikscale3 May 13, 2024
194c65e
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 17, 2024
775fd55
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 17, 2024
7725ac1
Merge branch 'development' into release
karthikscale3 May 17, 2024
63eb067
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 20, 2024
3a44486
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 21, 2024
9ad8c44
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 21, 2024
10840e8
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 21, 2024
4a7c307
Merge branch 'development' into release
karthikscale3 May 21, 2024
740a3d6
Update package
karthikscale3 May 21, 2024
5605411
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 21, 2024
eb53696
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 21, 2024
8904b5d
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 21, 2024
7ee9a3a
Merge branch 'development' into release
karthikscale3 May 21, 2024
1d29604
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 22, 2024
d91f619
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 22, 2024
79e62b9
Merge branch 'development' into release
karthikscale3 May 22, 2024
020a3a9
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 22, 2024
b9b73db
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 22, 2024
337ac05
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 22, 2024
4187923
Merge branch 'development' into release
karthikscale3 May 22, 2024
a41a9f0
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 7, 2024
6111ef5
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 7, 2024
f5ecb80
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jun 7, 2024
e63cf2f
fix merge conflict
karthikscale3 Jun 7, 2024
77d1bd5
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 13, 2024
948fefe
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jun 13, 2024
0faf3ab
merge
karthikscale3 Jun 13, 2024
3aa0528
Bugfixes
karthikscale3 Jun 16, 2024
76e1854
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 17, 2024
435f07d
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jun 17, 2024
ac594bc
Merge branch 'development' into release
karthikscale3 Jun 17, 2024
a8678f6
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 20, 2024
c88e6c3
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jun 20, 2024
8dda864
Merge branch 'development' into release
karthikscale3 Jun 20, 2024
fa7fa4b
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 20, 2024
e52b4ff
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jun 20, 2024
e731bd1
Merge branch 'development' into release
karthikscale3 Jun 20, 2024
416540b
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 25, 2024
05d1444
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jun 25, 2024
47e2398
Merge branch 'development' into release
karthikscale3 Jun 25, 2024
b22a296
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 28, 2024
2d34b19
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 28, 2024
4e8a8f4
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jun 28, 2024
ecd2da3
Merge branch 'development' of github.com:Scale3-Labs/langtrace into r…
karthikscale3 Jun 28, 2024
46c1c8d
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jun 28, 2024
cc0da10
Merge branch 'development' into release
karthikscale3 Jun 28, 2024
933523c
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 2, 2024
df85c41
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jul 2, 2024
a6c05d0
Merge branch 'development' into release
karthikscale3 Jul 2, 2024
089b7a7
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
566fa31
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
a5f80cc
Fix merge
karthikscale3 Jul 3, 2024
e34cac7
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
01644fb
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
96af1b4
Merge branch 'development' into release
karthikscale3 Jul 3, 2024
66c2639
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
d9c28d3
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
837595e
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jul 3, 2024
0e5e121
Update package lock
karthikscale3 Jul 3, 2024
653cbf9
Add migration file
karthikscale3 Jul 3, 2024
ff62b64
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
595ae4f
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jul 3, 2024
65cf040
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 3, 2024
edb0f85
Merge branch 'development' into release
karthikscale3 Jul 3, 2024
997b625
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 8, 2024
e8d7126
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 12, 2024
16146a4
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jul 12, 2024
423a6e3
Merge branch 'development' into release
karthikscale3 Jul 12, 2024
e197a31
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 12, 2024
a63974c
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 15, 2024
caccc0f
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 15, 2024
bac5dda
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 15, 2024
bc21dac
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jul 15, 2024
8691757
Update readme
karthikscale3 Jul 15, 2024
71668e7
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 16, 2024
9e53f4a
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jul 16, 2024
dd74f48
Merge branch 'development' into release
karthikscale3 Jul 16, 2024
2a51f9a
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 16, 2024
7682278
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 24, 2024
61c3604
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 24, 2024
ed1d122
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 25, 2024
11ab106
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Jul 25, 2024
5365db3
Merge
karthikscale3 Jul 25, 2024
24a7082
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 26, 2024
17cbcfc
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 27, 2024
34e9695
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Jul 28, 2024
7831f1d
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 2, 2024
366b07a
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Aug 2, 2024
c2a4608
Merge branch 'development' into release
karthikscale3 Aug 2, 2024
d384d0a
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 2, 2024
067d869
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Aug 2, 2024
94bfb83
Merge branch 'development' into release
karthikscale3 Aug 2, 2024
74b5772
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 3, 2024
4fe9f92
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Aug 3, 2024
e8cb956
Merge branch 'development' into release
karthikscale3 Aug 3, 2024
b4137e1
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 3, 2024
08bfc1f
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Aug 3, 2024
1d785e1
Merge branch 'development' into release
karthikscale3 Aug 3, 2024
1cf0eef
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 14, 2024
7660f23
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 14, 2024
89a5985
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 14, 2024
b2dfb5e
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 14, 2024
d48aa6a
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Aug 14, 2024
e34a5f9
Merge
karthikscale3 Aug 14, 2024
cacfbec
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Aug 14, 2024
726ddaf
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Aug 28, 2024
f5e885e
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 4, 2024
3ef8659
Merge branch 'development' into release
karthikscale3 Sep 4, 2024
3bfa189
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 4, 2024
3cd9440
Merge branch 'development' into release
karthikscale3 Sep 4, 2024
f08e3d2
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 5, 2024
60d9ec6
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 5, 2024
50c4c00
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Sep 5, 2024
329f39b
Merge branch 'development' into release
karthikscale3 Sep 5, 2024
685d76f
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 5, 2024
5b902a5
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Sep 5, 2024
0fcc177
Merge branch 'development' into release
karthikscale3 Sep 5, 2024
ea5ae6a
adding ability to add to dataset from traces tab
dylanzuber-scale3 Sep 5, 2024
9590af0
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 6, 2024
99e6f33
fixing z-index bug
dylanzuber-scale3 Sep 6, 2024
9baa4fc
fixing llm parsing, disable button for non llm traces
dylanzuber-scale3 Sep 6, 2024
a67a15d
Merge pull request #268 from Scale3-Labs/dylan/s3en-2771-add-to-datas…
dylanzuber-scale3 Sep 6, 2024
66098b1
cleaning up api providers page
dylanzuber-scale3 Sep 7, 2024
fefdf24
more bug fixes, auditing models
dylanzuber-scale3 Sep 8, 2024
a2fc439
Merge pull request #269 from Scale3-Labs/dylan/s3en-2780-audit-playgr…
dylanzuber-scale3 Sep 9, 2024
e6ece07
adding api key auth to create project api key (#270)
dylanzuber-scale3 Sep 10, 2024
62f0167
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 10, 2024
27b0133
Improvements to prompt playground (#272)
dylanzuber-scale3 Sep 12, 2024
6410858
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Sep 12, 2024
cfdc35c
merge
karthikscale3 Sep 12, 2024
3b5c063
Merge branch 'development' into release
karthikscale3 Sep 12, 2024
38168b6
fix
karthikscale3 Sep 12, 2024
7172fe9
fix
karthikscale3 Sep 12, 2024
689edf7
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Sep 12, 2024
ce91bf0
support for o1-preview and o1-mini (#275)
karthikscale3 Sep 12, 2024
5ec9978
Merge branch 'development' into release
karthikscale3 Sep 12, 2024
eed5214
fixing live prompt bug (#277)
dylanzuber-scale3 Sep 19, 2024
90cfd92
DSPy enhancements (#280)
karthikscale3 Sep 25, 2024
6f4da1e
clearing invite form fields on send (#279)
dylanzuber-scale3 Sep 25, 2024
f79a246
Track project creation count metrics (#271)
dylanzuber-scale3 Sep 25, 2024
63fc88e
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Sep 26, 2024
eda8bec
Merge branch 'development' into release
karthikscale3 Sep 26, 2024
927c0d5
minor
karthikscale3 Sep 26, 2024
a574361
minor (#282)
karthikscale3 Sep 26, 2024
25fb79a
add vercel ai pricing (#283)
karthikscale3 Sep 26, 2024
482bc7e
fix (#284)
karthikscale3 Sep 26, 2024
c18ec55
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Sep 26, 2024
ae99faf
Merge branch 'development' into release
karthikscale3 Sep 26, 2024
c7e0d9f
Fixes (#289)
karthikscale3 Oct 4, 2024
0d00cf7
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 4, 2024
b365ed8
Merge branch 'development' into release
karthikscale3 Oct 4, 2024
40fbb39
Add `Gemini` Cost table (#291)
alizenhom Oct 7, 2024
b1ccf35
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 13, 2024
f90e8fd
Merge branch 'development' into release
karthikscale3 Oct 13, 2024
c93ba60
Fixing token counts if `output_tokens` is `0` + adding embedding cost…
alizenhom Oct 15, 2024
0cddf71
make tracing endpoint `route.ts` oTel compatible backend. (#298)
alizenhom Oct 15, 2024
67dd8d8
Upload csv feature (#265)
dabiras3 Oct 16, 2024
10c17c3
Update package lock (#299)
karthikscale3 Oct 16, 2024
66a1164
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 16, 2024
0287ce0
Merge branch 'development' into release
karthikscale3 Oct 16, 2024
cda6b79
add proto files inside `next.config.mjs` and migrate protofiles to ro…
alizenhom Oct 17, 2024
25cf49a
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 17, 2024
7f7cb12
Merge branch 'development' into release
karthikscale3 Oct 17, 2024
5f0370f
Support xAI (#306)
karthikscale3 Oct 22, 2024
a00d088
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 22, 2024
a388a5d
Merge branch 'development' into release
karthikscale3 Oct 22, 2024
18cf0e4
merge
karthikscale3 Oct 30, 2024
b1b805a
Upmerge from main (#316)
karthikscale3 Oct 30, 2024
0dd2027
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Oct 30, 2024
fa5b766
Add compatibility to `OTLPSpanExporter` (#311)
alizenhom Oct 31, 2024
b5608a5
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Oct 31, 2024
15cb2db
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 31, 2024
64e38c2
Merge branch 'development' into release
karthikscale3 Oct 31, 2024
21b45b5
remove api dialog
karthikscale3 Oct 31, 2024
e58541e
Remove unused component (#318)
karthikscale3 Oct 31, 2024
9230d76
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 31, 2024
980c41f
remove api dialog
karthikscale3 Oct 31, 2024
39e6fe2
update readme
karthikscale3 Oct 31, 2024
94566ae
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Oct 31, 2024
cc222b8
update readme
karthikscale3 Oct 31, 2024
f22fbdb
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 8, 2024
8efc6df
Add `session.id` filter (#322)
alizenhom Nov 8, 2024
65d752b
Support for keyword search over spans (#323)
karthikscale3 Nov 8, 2024
db57c2d
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 8, 2024
30d419f
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Nov 8, 2024
c163c06
Merge branch 'development' into release
karthikscale3 Nov 8, 2024
cd39dc7
Support for MongoDB and bugfixes (#325)
karthikscale3 Nov 12, 2024
18eb9f5
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 12, 2024
b313278
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Nov 12, 2024
e497f08
Merge branch 'development' into release
karthikscale3 Nov 12, 2024
8338f55
Bug fix for chart tabs query (#327)
karthikscale3 Nov 12, 2024
5d7fb82
Bug fix to accomodate typescript SDK (#329)
karthikscale3 Nov 13, 2024
11958dc
Bug fix to chart tabs on annotations (#330)
karthikscale3 Nov 13, 2024
8c57836
docs: improve README visual presentation and organization (#332)
devin-ai-integration[bot] Nov 13, 2024
e9fdb28
Add Support for Guardrails (#333)
karthikscale3 Nov 14, 2024
b554fc7
add `proto` folder while building the image (#335)
alizenhom Nov 14, 2024
aad6047
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 14, 2024
0c7af05
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Nov 14, 2024
425e563
Merge branch 'development' into release
karthikscale3 Nov 14, 2024
6ceefb1
docs: update README.md with new integrations (#337)
devin-ai-integration[bot] Nov 14, 2024
e893c0f
feat: add Mistral logo and orange color styling (#338)
devin-ai-integration[bot] Nov 14, 2024
6511841
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 14, 2024
d9c482d
docs: add PyPI total downloads badge (#339)
devin-ai-integration[bot] Nov 14, 2024
d5b86b3
Minor bugfix to add Mistral (#340)
karthikscale3 Nov 14, 2024
ac13ced
Minor bugfix to query (#341)
karthikscale3 Nov 14, 2024
daaf1ef
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 14, 2024
22a67ae
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Nov 14, 2024
2a9946b
Merge branch 'development' into release
karthikscale3 Nov 14, 2024
7f4e73b
feat: Allow Zod schema prompts to be edited/versioned as zod schema (…
karthikscale3 Nov 15, 2024
a57524a
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 15, 2024
8b538dd
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Nov 15, 2024
f0bf3f6
Merge branch 'development' into release
karthikscale3 Nov 15, 2024
05d8500
feat: add Milvus vendor image (#352)
devin-ai-integration[bot] Nov 18, 2024
47477ae
docs: add Milvus to supported vector databases (#354)
devin-ai-integration[bot] Nov 18, 2024
6ad4d7b
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 18, 2024
ad8ea38
Update cost table and fix formatting (#355)
karthikscale3 Nov 19, 2024
acbbd4c
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 19, 2024
cb49554
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Nov 19, 2024
b5eab20
Merge branch 'development' into release
karthikscale3 Nov 19, 2024
613c9f2
feat: add Mistral AI cost table and vendor integration (#357)
devin-ai-integration[bot] Nov 21, 2024
7781684
Add workflow to automatically close inactive issues (#358)
devin-ai-integration[bot] Nov 21, 2024
7ea986c
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 21, 2024
0fd593b
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Nov 21, 2024
5921232
Merge branch 'development' into release
karthikscale3 Nov 21, 2024
6cfa7c5
Add pagination config for the traces tab (#360)
karthikscale3 Nov 23, 2024
44dac00
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Nov 23, 2024
18bea28
Minor UX improvement to traces tab (#361)
karthikscale3 Nov 24, 2024
137b880
Minor UX improvement to traces tab (#362)
karthikscale3 Nov 24, 2024
51c14cf
remove spans count (#363)
alizenhom Nov 26, 2024
21fac8f
feat: add deepseek integration (#364)
devin-ai-integration[bot] Dec 2, 2024
3caf605
chore: update cohere cost table to reflect newer models (#369)
devin-ai-integration[bot] Dec 12, 2024
b58d90c
fix: standardize token count properties and add Number conversion (#367)
devin-ai-integration[bot] Dec 12, 2024
f81bf67
animate `langgraph` edges (#365)
alizenhom Dec 12, 2024
8abea81
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Dec 12, 2024
10dbb95
Query performance improvements (#370)
karthikscale3 Dec 13, 2024
ab5e84c
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Dec 13, 2024
cef8997
Merge branch 'development' into release
karthikscale3 Dec 13, 2024
1aa74c2
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Dec 13, 2024
3953b3a
Merge branch 'development' into release
karthikscale3 Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improvements to prompt playground (#272)
* fixing static text area, fixing overlap

* creating custo ui for playground taces

* fetching traces on dialog open

* fixes

* fixes

* fixes

---------

Co-authored-by: Karthik Kalyanaraman <[email protected]>
  • Loading branch information
dylanzuber-scale3 and karthikscale3 authored Sep 12, 2024
commit 27b013305e94eb05ff17f18cfb3438d3ca8d3fa1
2 changes: 1 addition & 1 deletion app/(protected)/project/[project_id]/playground/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function Page() {
settings page.
</Link>
</span>
<div className="flex flex-row flex-wrap lg:grid lg:grid-cols-3 gap-8 w-full">
<div className="flex flex-row flex-wrap gap-8 w-full">
{llms.map((llm: ChatInterface) => (
<LLMChat
key={llm.id}
Expand Down
20 changes: 13 additions & 7 deletions components/playground/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ export function ExpandingTextArea({
};
}, []);

useEffect(() => {
const textarea = textAreaRef.current;
if (textarea) {
textarea.style.height = "auto";
textarea.style.height = `${textarea.scrollHeight}px`;
}
}, [value]);

const handleChange = (event: any) => {
const textarea = event.target;
onChange(textarea.value);
Expand All @@ -81,10 +89,10 @@ export function ExpandingTextArea({
};

return (
<div className="relative w-[290px]">
<div className="relative min-w-[350px]">
<textarea
disabled={busy}
className="rounded-md text-sm w-[290px] bg-background pr-10 pt-5"
className="rounded-md text-sm w-[350px] bg-background pr-10 pt-5"
ref={textAreaRef}
defaultValue={value}
onChange={handleChange}
Expand Down Expand Up @@ -177,20 +185,19 @@ export function Message({
</div>
<div
onClick={() => setEditing(true)}
className="min-w-[290px] min-h-6"
className="min-w-[350px] min-h-6"
>
{!editing && (
<p
className={cn(
"w-[290px] text-sm break-all",
"w-[350px] text-sm break-all",
!message.content && "text-muted-foreground"
)}
>
{message.content || "click to edit"}
</p>
)}
{editing && (
<div>
<ExpandingTextArea
onChange={(value: string) => {
setMessage({ ...message, content: value });
Expand All @@ -200,7 +207,6 @@ export function Message({
saveButtonRef={saveButtonRef}
handleSave={setDialogOpen}
/>
</div>
)}
</div>
</div>
Expand Down Expand Up @@ -246,7 +252,7 @@ export function AddLLMChat({ onAdd }: { onAdd: (vendor: string) => void }) {
}, [busy, vendor]);

return (
<div className="w-[450px] h-[600px] rounded-lg border border-dashed border-muted-foreground flex flex-col items-center justify-center gap-4">
<div className="w-[530px] h-[600px] rounded-lg border border-dashed border-muted-foreground flex flex-col items-center justify-center gap-4">
<div className="flex items-center gap-2">
<LLMPicker setVendor={setVendor} />
<Button
Expand Down
125 changes: 95 additions & 30 deletions components/playground/import-trace-conversation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import { useEffect, useState } from "react";
import { useBottomScrollListener } from "react-bottom-scroll-listener";
import { useQuery } from "react-query";
import { toast } from "sonner";
import { ConversationRow } from "../project/traces/conversation-row";
import TraceRowSkeleton from "../shared/row-skeleton";
import { SetupInstructions } from "../shared/setup-instructions";
import { Spinner } from "../shared/spinner";
import { Button } from "../ui/button";

Expand Down Expand Up @@ -54,7 +51,7 @@ export default function ImportTraceConversation({
pageSize: PAGE_SIZE,
projectId: project_id,
filters: {
operation: "AND",
operation: "OR",
filters: [
{
key: "langtrace.service.type",
Expand Down Expand Up @@ -91,7 +88,6 @@ export default function ImportTraceConversation({

if (currentData.length > 0) {
const updatedData = [...currentData, ...newData];

setCurrentData(updatedData);
} else {
setCurrentData(newData);
Expand All @@ -111,8 +107,75 @@ export default function ImportTraceConversation({
enabled: enableFetch,
});

const parseTraceData = (trace: any) => {
let model = "";
let promptFinal: string = "";
let responseFinal: string = "";

for (const span of trace) {
if (span.attributes) {
const attributes = JSON.parse(span.attributes);

if (span.events) {
const events: any[] = JSON.parse(span.events);

const promptEvent = events.find(
(event: any) => event.name === "gen_ai.content.prompt"
);
if (promptEvent?.attributes?.["gen_ai.prompt"]) {
const promptJSONString = promptEvent.attributes["gen_ai.prompt"];
const promptsJSON = JSON.parse(promptJSONString);
promptFinal = promptsJSON[0].content || "";
}

const responseEvent = events.find(
(event: any) => event.name === "gen_ai.content.completion"
);
if (responseEvent?.attributes?.["gen_ai.completion"]) {
const responseJSONString =
responseEvent.attributes["gen_ai.completion"];
const responseJSON = JSON.parse(responseJSONString);
responseFinal = responseJSON[0].content || "";
}
}

if (!model) {
model =
attributes["gen_ai.response.model"] ||
attributes["gen_ai.request.model"] ||
attributes["llm.model"] ||
"";
}
}
}

return { model, promptFinal, responseFinal };
};

const handleRowClick = (promptFinal: string, responseFinal: string) => {
if (promptFinal.length && responseFinal.length) {
const inputMessage = { role: "user", content: promptFinal };
const outputMessage = { role: "assistant", content: responseFinal };

setMessages([inputMessage, outputMessage]);
setOpenDialog(false);
}
};

return (
<Dialog open={openDialog} onOpenChange={setOpenDialog}>
<Dialog
open={openDialog}
onOpenChange={(isOpen) => {
setOpenDialog(isOpen);
if (isOpen) {
setShowLoader(true);
setCurrentData([]);
setPage(1);
setTotalPages(1);
setEnableFetch(true);
}
}}
>
<DialogTrigger>
<Button
type="button"
Expand All @@ -132,19 +195,12 @@ export default function ImportTraceConversation({
<Label htmlFor="name" className="text-left text-lg mb-4">
Select a conversation to import
</Label>
<div className="grid grid-cols-12 items-center p-3 bg-muted">
<p className="ml-10 text-xs font-medium">
Time <span>&#8595;</span> Local
</p>
<p className="text-xs font-medium">Namespace</p>
<p className="text-xs font-medium">Model</p>
<p className="text-xs font-medium col-span-2">Input</p>
<p className="text-xs font-medium col-span-2">Output</p>
<p className="text-xs font-medium">User ID</p>
<p className="text-xs font-medium">Input / Output / Total Tokens</p>
<p className="text-xs font-medium">Token Cost</p>
<p className="text-xs font-medium">Duration(ms)</p>
<div className="grid grid-cols-13 items-center p-3 bg-muted">
<p className="col-span-2 text-xs font-medium">Model</p>
<p className="col-span-5 text-xs font-medium">Input</p>
<p className="col-span-5 text-xs font-medium">Output</p>
</div>

{fetchTraces.isLoading || !fetchTraces?.data || !currentData ? (
<PageSkeleton />
) : (
Expand All @@ -155,17 +211,23 @@ export default function ImportTraceConversation({
{!fetchTraces.isLoading &&
fetchTraces?.data &&
currentData?.map((trace: any, i: number) => {
const { model, promptFinal, responseFinal } =
parseTraceData(trace);

return (
<div key={i} className="px-3">
<ConversationRow
trace={trace}
utcTime={false}
importTrace={true}
setMessages={(messages: any[]) => {
setMessages(messages);
setOpenDialog(false);
}}
/>{" "}
<div
key={i}
className="px-3 py-4 hover:bg-accent cursor-pointer grid grid-cols-12 items-center gap-y-4 gap-x-4"
onClick={() => handleRowClick(promptFinal, responseFinal)}
>
<p className="col-span-2 text-xs">{model}</p>

<p className="col-span-4 text-xs overflow-hidden max-h-[3.5rem] line-clamp-3 break-words">
{promptFinal}
</p>
<p className="col-span-5 text-xs overflow-hidden max-h-[3.5rem] line-clamp-3 break-words">
{responseFinal}
</p>
</div>
);
})}
Expand All @@ -186,7 +248,6 @@ export default function ImportTraceConversation({
No traces available. Get started by setting up Langtrace
in your application.
</p>
<SetupInstructions project_id={project_id} />
</div>
)}
</div>
Expand All @@ -201,7 +262,11 @@ function PageSkeleton() {
return (
<div className="flex flex-col gap-3 rounded-md border border-muted max-h-screen">
{Array.from({ length: 3 }).map((_, index) => (
<TraceRowSkeleton key={index} />
<div key={index} className="px-3 py-2 grid grid-cols-12 items-center">
<div className="col-span-3 bg-muted h-4 w-full rounded-sm" />
<div className="col-span-4 bg-muted h-4 w-full rounded-sm" />
<div className="col-span-5 bg-muted h-4 w-full rounded-sm" />
</div>
))}
</div>
);
Expand Down
10 changes: 8 additions & 2 deletions components/playground/llmchat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,17 @@ export default function LLMChat({
);
setLocalLLM({
...localLLM,
settings: { ...localLLM.settings, messages: localNewMessages },
settings: {
...localLLM.settings,
messages: localNewMessages,
},
});
setLLM({
...localLLM,
settings: { ...localLLM.settings, messages: localNewMessages },
settings: {
...localLLM.settings,
messages: localNewMessages,
},
});
}}
onRemove={() => {
Expand Down
16 changes: 9 additions & 7 deletions components/project/traces/traces-table.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Info } from "@/components/shared/info";
import { SetupInstructions } from "@/components/shared/setup-instructions";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
Expand All @@ -23,6 +22,7 @@ import { HOW_TO_GROUP_RELATED_OPERATIONS } from "@/lib/constants";
import { PropertyFilter } from "@/lib/services/query_builder_service";
import { Trace } from "@/lib/trace_util";
import { cn } from "@/lib/utils";
import { CircularProgress } from "@mui/material";
import { ResetIcon } from "@radix-ui/react-icons";
import {
ColumnDef,
Expand Down Expand Up @@ -224,7 +224,7 @@ export function TracesTable<TData, TValue>({
<p
className={cn(
"text-sm font-semibold",
!profileMode ? "text-orange-600" : "text-muted"
!profileMode ? "text-orange-600" : "text-muted-foreground"
)}
>
debugging
Expand All @@ -237,7 +237,7 @@ export function TracesTable<TData, TValue>({
<p
className={cn(
"text-sm font-semibold",
profileMode ? "text-orange-600" : "text-muted"
profileMode ? "text-orange-500" : "text-muted-foreground"
)}
>
prompt engineering
Expand Down Expand Up @@ -296,10 +296,12 @@ export function TracesTable<TData, TValue>({
{loading && <TableSkeleton />}
{!loading && (!data || data.length === 0) && (
<div className="flex flex-col gap-3 items-center justify-center p-4">
<p className="text-muted-foreground text-sm mb-3">
No traces available. Get started by setting up Langtrace in your
application.
</p>
<div className="flex gap-2">
<CircularProgress size={15} />
<p className="text-orange-500 text-sm mb-3">
Looking for new traces...
</p>
</div>
<SetupInstructions project_id={project_id} />
</div>
)}
Expand Down
3 changes: 2 additions & 1 deletion components/project/traces/traces.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export default function Traces({ email }: { email: string }) {
setExpandedView(expanded === "true");

const group = window.localStorage.getItem("preferences.group");
setGroup(group === "true");
// Default group to true if not set
setGroup(group === "false" ? false : true);
}
}, [filters]);

Expand Down