Skip to content

Commit 2daaf0c

Browse files
4shubShubham Naik
andauthored
feat: add eval website (#104)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
1 parent 762b520 commit 2daaf0c

File tree

12 files changed

+2791
-0
lines changed

12 files changed

+2791
-0
lines changed

leaderboard_site/.eleventy.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
const yaml = require('js-yaml');
2+
const fs = require('fs');
3+
4+
module.exports = function(eleventyConfig) {
5+
eleventyConfig.addGlobalData("leaderboard", function() {
6+
const fileContents = fs.readFileSync('../letta-leaderboard/leaderboard_results.yaml', 'utf8');
7+
return yaml.load(fileContents);
8+
});
9+
10+
eleventyConfig.addPassthroughCopy("src/icons");
11+
eleventyConfig.addPassthroughCopy("src/styles.css");
12+
eleventyConfig.addPassthroughCopy("src/letta-logo.svg");
13+
14+
return {
15+
dir: {
16+
input: "src",
17+
output: "_site"
18+
}
19+
};
20+
};

leaderboard_site/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
_site

0 commit comments

Comments
 (0)