-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgray.config.ts
40 lines (38 loc) · 1.22 KB
/
gray.config.ts
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
import {ContentHandler} from "@/lib/content-plugins";
import {defaultVideoFileHandlerOptions} from "@/lib/content-plugins/video-files";
import {videoComparator, videoEnhancer} from "@/lib/ai-thinkerers/content";
import {GrayConfig} from "@/types/gray.types";
const configs: GrayConfig ={
icon: "/img.png",
title: "AI Tinkerers Blog (Amsterdam)",
querySuggestions: [
"Who are you?",
"Compare the talk by Lucas and Tomas",
"What are advantages of small models?",
"Which speaker talked about the future of AI?",
"Summarize all given posts in one sentence"
],
socials: [
{
"label": "Twitter",
"link": "https://twitter.com",
"provider": "x"
},
{
"label": "Facebook",
"link": "https://facebook.com",
"provider": "facebook"
}
],
contentPlugins: [
new ContentHandler<any, any>({
...defaultVideoFileHandlerOptions,
enhancer: videoEnhancer,
comparator: videoComparator,
summarizer: ({originalName, autoSummary}) => {
return `${originalName} - ${autoSummary}`
},
})
]
}
export default configs;