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 1.4.0 #108

Merged
merged 141 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
5a3581c
Merge branch 'development' into release
karthikscale3 Apr 1, 2024
63fa12e
Merge branch 'development' of github.com:Scale3-Labs/langtrace into r…
karthikscale3 Apr 2, 2024
540b613
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 2, 2024
b2cd5c2
Merge branch 'development' into release
karthikscale3 Apr 2, 2024
e428dc9
Merge branch 'development' into release
karthikscale3 Apr 2, 2024
1490b00
Merge branch 'development' into release
karthikscale3 Apr 2, 2024
62e7250
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 2, 2024
7cbc191
Merge branch 'development' into release
karthikscale3 Apr 2, 2024
6c097a5
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 2, 2024
7041a32
Merge branch 'development' into release
karthikscale3 Apr 2, 2024
7dd49d0
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 2, 2024
c30d1bf
Merge branch 'development' into release
karthikscale3 Apr 2, 2024
81c9f8c
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 3, 2024
aaec9b0
Merge branch 'development' into release
karthikscale3 Apr 3, 2024
02358de
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 3, 2024
3f21ae0
Merge branch 'development' into release
karthikscale3 Apr 3, 2024
b178105
Pagination bug
karthikscale3 Apr 4, 2024
af47e53
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 4, 2024
65eb483
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 4, 2024
29c53c7
Merge branch 'development' into release
karthikscale3 Apr 4, 2024
cc6ab77
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 4, 2024
677b1aa
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 4, 2024
642483d
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 4, 2024
db451ad
Merge branch 'development' into release
karthikscale3 Apr 4, 2024
f996899
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 4, 2024
fa9bac5
Merge branch 'development' into release
karthikscale3 Apr 4, 2024
0e963e2
Bug fix
karthikscale3 Apr 5, 2024
f3a8a23
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 5, 2024
da27c8a
Merge branch 'development' into release
karthikscale3 Apr 5, 2024
e3273b7
fix merge conflicts
karthikscale3 Apr 5, 2024
3c353a5
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 5, 2024
0b0545a
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 5, 2024
7154a9b
Merge branch 'development' into release
karthikscale3 Apr 5, 2024
94f0fb1
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 7, 2024
f22f397
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 8, 2024
5023d1f
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 9, 2024
2ebb4fa
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 9, 2024
e3cb63b
Merge branch 'development' into release
karthikscale3 Apr 9, 2024
4178d5c
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 11, 2024
4fe4108
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 13, 2024
784f09c
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 14, 2024
391320d
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 14, 2024
ca49b2b
Merge branch 'development' into release
karthikscale3 Apr 14, 2024
42f1128
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 19, 2024
71ad0d5
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 19, 2024
0be2143
Merge branch 'development' into release
karthikscale3 Apr 19, 2024
51e3310
chore: add docker cmd
darshit-s3 Apr 23, 2024
0b424f2
Compatibility fixes for SDK version 2.0.0 (#69)
karthikscale3 Apr 24, 2024
0c8e92b
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 24, 2024
a6f7c97
Merge
karthikscale3 Apr 24, 2024
e0e0c2b
Merge branch 'development' into release
karthikscale3 Apr 24, 2024
3ed6d31
Merge pull request #66 from Scale3-Labs/add-docker-cmd
darshit-s3 Apr 25, 2024
28227d9
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 28, 2024
9a0b049
Support for Langgraph, Qdrant & Groq (#73)
karthikscale3 Apr 28, 2024
0cec8be
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 Apr 28, 2024
f6f47e8
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 Apr 28, 2024
cf4867c
Merge branch 'development' into release
karthikscale3 Apr 28, 2024
64bda4a
feat: optimise docker image for self host setup
darshit-s3 Apr 29, 2024
36620bb
Merge branch 'development' into optimise-docker-image
darshit-s3 Apr 30, 2024
95de2de
Merge pull request #75 from Scale3-Labs/optimise-docker-image
darshit-s3 Apr 30, 2024
a1025f7
adding api access to traces endpoint
dylanzuber-scale3 May 1, 2024
bc90bbd
clean up
dylanzuber-scale3 May 2, 2024
1426245
refactor
dylanzuber-scale3 May 2, 2024
934e304
Merge pull request #78 from Scale3-Labs/dylan/s3en-2221-add-api-key-a…
dylanzuber-scale3 May 2, 2024
ea5cd7b
feat: add clickhouse db create on app start (#79)
darshit-s3 May 4, 2024
34875e2
docs: add railway deploy, fix sdk badges (#81)
darshit-s3 May 7, 2024
4551d7e
untrack .env
rohit-kadhe May 7, 2024
c7b05ca
Revert "untrack .env"
rohit-kadhe May 7, 2024
096ee2e
Playground and Prompt Management (#83)
karthikscale3 May 7, 2024
9766d40
fix: clickhouse table find queries (#82)
darshit-s3 May 7, 2024
eae354d
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 7, 2024
f67f7fb
Merge branch 'development' of github.com:Scale3-Labs/langtrace into r…
rohit-kadhe May 7, 2024
1c480c9
Fix to surface multiple LLM requests inside LLM View (#84)
karthikscale3 May 7, 2024
7723147
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 7, 2024
b588d25
Fix merge conflicts
karthikscale3 May 7, 2024
2a28815
Fix merge conflict
karthikscale3 May 7, 2024
db5959c
Minor bugfixes (#86)
karthikscale3 May 7, 2024
39acc90
Merge branch 'main' of github.com:Scale3-Labs/langtrace into release
karthikscale3 May 7, 2024
31bfd5f
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 7, 2024
9b677c1
Merge branch 'development' into release
karthikscale3 May 7, 2024
7f32b5a
Merge branch 'development' of github.com:Scale3-Labs/langtrace into r…
rohit-kadhe May 7, 2024
fd347a2
api to fetch promptset with prompt filters
rohit-kadhe May 8, 2024
66c1293
bug fixes
rohit-kadhe May 8, 2024
e039e5c
fix invalid redirect
rohit-kadhe May 8, 2024
c3f6ade
fix invalid status code
rohit-kadhe May 8, 2024
974756f
Merge pull request #88 from Scale3-Labs/rohit/S3EN-2232-get-prompts-api
rohit-kadhe May 9, 2024
1b9c986
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 9, 2024
1296c89
Project Switcher (#90)
karthikscale3 May 9, 2024
31f50e6
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 9, 2024
82bd818
Feat: dataset download (#60)
MayuriS24 May 9, 2024
4e30354
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 9, 2024
e3edb54
Update prompt registry with instructions to fetch prompts (#91)
karthikscale3 May 9, 2024
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
e7c63ff
Minor bugfix (#94)
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
7d338dc
chore: update github repo badges
darshit-s3 May 10, 2024
0ce5a24
Merge pull request #96 from Scale3-Labs/update-github-badges
darshit-s3 May 10, 2024
a0c9b72
optimizing token count function
dylanzuber-scale3 May 13, 2024
186f82b
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 13, 2024
519cb22
Add GPT4-O Pricing and Playground (#98)
karthikscale3 May 13, 2024
2099f1d
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
karthikscale3 May 13, 2024
dc45189
Dylan/s3en 2234 add perplexity support to playground (#89)
dylanzuber-scale3 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
292a57b
api changes
rohit-kadhe May 13, 2024
a2ad213
add api access to get api and fix all bugs
rohit-kadhe May 14, 2024
5573d3e
bug fix
rohit-kadhe May 14, 2024
5e90a1a
bug fix
rohit-kadhe May 14, 2024
97cf9b5
Merge pull request #101 from Scale3-Labs/rohit/S3EN-2256-user-feedbac…
rohit-kadhe May 14, 2024
5ba0dbf
updating descriptions to optional
dylanzuber-scale3 May 14, 2024
9e980ad
prio python
dylanzuber-scale3 May 14, 2024
4382d65
Merge pull request #103 from Scale3-Labs/dylan/s3en-2279-ux-improvements
dylanzuber-scale3 May 15, 2024
56427c3
cleanup and fixes
rohit-kadhe May 15, 2024
a80fd4d
Merge branch 'development' of github.com:Scale3-Labs/langtrace into r…
rohit-kadhe May 15, 2024
2838cc7
more bug fixes
rohit-kadhe May 15, 2024
ccd42b6
more fixes
rohit-kadhe May 15, 2024
acc5ea5
remove console log
rohit-kadhe May 15, 2024
72fa55b
Merge pull request #104 from Scale3-Labs/rohit/S3EN-2282-remove-redun…
rohit-kadhe May 15, 2024
3e09cc0
Merge pull request #97 from Scale3-Labs/dylan/s3en-2261-optimize-get-…
dylanzuber-scale3 May 15, 2024
cd5e347
updating trace_service functions
dylanzuber-scale3 May 16, 2024
52589fd
add migration
rohit-kadhe May 16, 2024
108baf7
add format function, updating from day to hour
dylanzuber-scale3 May 16, 2024
887021a
Merge pull request #105 from Scale3-Labs/rohit/S3EN-2285-add-missing-…
rohit-kadhe May 16, 2024
a043bd6
adding dropwdown menu
dylanzuber-scale3 May 16, 2024
2944e15
updating query key
dylanzuber-scale3 May 16, 2024
98fb7d7
updating query keys v2
dylanzuber-scale3 May 16, 2024
812e239
clean up
dylanzuber-scale3 May 16, 2024
6baf9a2
Merge remote-tracking branch 'origin/development' into dylan/s3en-226…
dylanzuber-scale3 May 16, 2024
d872bc0
fix bug
rohit-kadhe May 16, 2024
729c164
Merge pull request #107 from Scale3-Labs/rohit/S3EN-2287-bug-fix-eval…
dylanzuber-scale3 May 16, 2024
2fba611
Merge remote-tracking branch 'origin/development' into dylan/s3en-226…
dylanzuber-scale3 May 16, 2024
ed1c2f4
Merge pull request #106 from Scale3-Labs/dylan/s3en-2264-add-date-fil…
dylanzuber-scale3 May 16, 2024
4d8d0a1
Minor bugfix (#102)
karthikscale3 May 17, 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
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
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Page() {
},
});

const [score, setScore] = useState<number>(testData?.test?.min || -1);
const [score, setScore] = useState<number>(testData?.test?.min ?? -1);
const [scorePercent, setScorePercent] = useState<number>(0);
const [color, setColor] = useState<string>("red");
const [span, setSpan] = useState<any>(null);
Expand Down Expand Up @@ -179,7 +179,7 @@ export default function Page() {
}
const result = await response.json();
const sc =
result.evaluations.length > 0 ? result.evaluations[0].score : -1;
result.evaluations.length > 0 ? result.evaluations[0].ltUserScore ?? -1 : -1;
onScoreSelected(sc);
return result;
},
Expand Down Expand Up @@ -220,7 +220,7 @@ export default function Page() {

// Check if an evaluation already exists
if (evaluationsData?.evaluations[0]?.id) {
if (evaluationsData.evaluations[0].score === score) {
if (evaluationsData.evaluations[0].ltUserScore === score) {
// setBusy(false);
return;
}
Expand All @@ -232,7 +232,8 @@ export default function Page() {
},
body: JSON.stringify({
id: evaluationsData.evaluations[0].id,
score: score,
ltUserScore: score,
testId
}),
});
queryClient.invalidateQueries({
Expand All @@ -249,12 +250,7 @@ export default function Page() {
projectId: projectId,
spanId: span.span_id,
traceId: span.trace_id,
spanStartTime: span?.start_time
? new Date(correctTimestampFormat(span.start_time))
: new Date(),
score: score,
model: model,
prompt: systemPrompt,
ltUserScore: score,
testId: testId,
}),
});
Expand Down Expand Up @@ -365,7 +361,7 @@ export default function Page() {
))}
</div>
) : (
<RangeScale
< RangeScale
variant="large"
type={ScaleType.Range}
min={testData?.test?.min}
Expand Down Expand Up @@ -482,8 +478,8 @@ function ConversationView({ span }: { span: any }) {
const content = prompt?.content
? safeStringify(prompt?.content)
: prompt?.function_call
? safeStringify(prompt?.function_call)
: "No input found";
? safeStringify(prompt?.function_call)
: "No input found";
return (
<div key={i} className="flex flex-col gap-2">
<div className="flex gap-2 items-center">
Expand Down
2 changes: 0 additions & 2 deletions app/api/dataset/download/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ export async function GET(req: NextRequest) {
const timestamp = new Date().toISOString().slice(0, 19).replace(/[-:]/g, '');
const filename = `${datasetName}_${timestamp}.csv`;

console.log(`CSV file '${filename}' `);

return new NextResponse(csv, {
headers: {
'Content-Type': 'text/csv',
Expand Down
Loading