1version: v1beta1
2kind: Spicepod
3name: shadcn-ui
4
5datasets:
6 - from: github:github.com/shadcn-ui/ui/files/main
7 name: shadcn_ui.docs
8 description: Shadcn UI documentation from https://ui.shadcn.com/docs
9 params:
10 file_format: md
11 github_client_id: ${secrets:GITHUB_CLIENT_ID}
12 github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
13 github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
14 include: "apps/www/content/docs/**/*.mdx"
15 acceleration:
16 enabled: true
17 refresh_check_interval: 4h
18 refresh_jitter_enabled: true
19 refresh_jitter_max: 15m
20 columns:
21 - name: content
22 embeddings:
23 - from: openai_embeddings
24 row_id:
25 - path
26 chunking:
27 enabled: true
28 target_chunk_size: 512
29 overlap_size: 128
30 trim_whitespace: true
31
32 - from: github:github.com/shadcn-ui/ui/files/main
33 name: shadcn_ui.components
34 description: Shadcn UI default components source code
35 params:
36 github_client_id: ${secrets:GITHUB_CLIENT_ID}
37 github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
38 github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
39 include: "apps/www/registry/default/ui/**/*.tsx"
40 acceleration:
41 enabled: true
42 refresh_check_interval: 4h
43 refresh_jitter_enabled: true
44 refresh_jitter_max: 15m
45 columns:
46 - name: content
47 embeddings:
48 - from: openai_embeddings
49 row_id:
50 - path
51 chunking:
52 enabled: true
53 target_chunk_size: 512
54 overlap_size: 128
55 trim_whitespace: true
56
57 - from: github:github.com/shadcn-ui/ui/issues
58 name: shadcn_ui.issues
59 description: Shadcn UI GitHub issues from github.com/shadcn-ui/ui
60 time_column: created_at
61 params:
62 file_format: md
63 github_client_id: ${secrets:GITHUB_CLIENT_ID}
64 github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
65 github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
66 acceleration:
67 enabled: true
68 refresh_mode: full
69 refresh_check_interval: 4h
70 refresh_jitter_enabled: true
71 refresh_jitter_max: 15m
72 # embeddings:
73 # - column: title
74 # column_pk:
75 # - id
76 # use: openai_embeddings
77
78embeddings:
79 - from: openai
80 name: openai_embeddings
81 params:
82 openai_api_key: ${ secrets:OPENAI_API_KEY }
83
1version: v1beta1
2kind: Spicepod
3name: shadcn-ui
4
5datasets:
6 - from: github:github.com/shadcn-ui/ui/files/main
7 name: shadcn_ui.docs
8 description: Shadcn UI documentation from https://ui.shadcn.com/docs
9 params:
10 file_format: md
11 github_client_id: ${secrets:GITHUB_CLIENT_ID}
12 github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
13 github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
14 include: "apps/www/content/docs/**/*.mdx"
15 acceleration:
16 enabled: true
17 refresh_check_interval: 4h
18 refresh_jitter_enabled: true
19 refresh_jitter_max: 15m
20 columns:
21 - name: content
22 embeddings:
23 - from: openai_embeddings
24 row_id:
25 - path
26 chunking:
27 enabled: true
28 target_chunk_size: 512
29 overlap_size: 128
30 trim_whitespace: true
31
32 - from: github:github.com/shadcn-ui/ui/files/main
33 name: shadcn_ui.components
34 description: Shadcn UI default components source code
35 params:
36 github_client_id: ${secrets:GITHUB_CLIENT_ID}
37 github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
38 github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
39 include: "apps/www/registry/default/ui/**/*.tsx"
40 acceleration:
41 enabled: true
42 refresh_check_interval: 4h
43 refresh_jitter_enabled: true
44 refresh_jitter_max: 15m
45 columns:
46 - name: content
47 embeddings:
48 - from: openai_embeddings
49 row_id:
50 - path
51 chunking:
52 enabled: true
53 target_chunk_size: 512
54 overlap_size: 128
55 trim_whitespace: true
56
57 - from: github:github.com/shadcn-ui/ui/issues
58 name: shadcn_ui.issues
59 description: Shadcn UI GitHub issues from github.com/shadcn-ui/ui
60 time_column: created_at
61 params:
62 file_format: md
63 github_client_id: ${secrets:GITHUB_CLIENT_ID}
64 github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
65 github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
66 acceleration:
67 enabled: true
68 refresh_mode: full
69 refresh_check_interval: 4h
70 refresh_jitter_enabled: true
71 refresh_jitter_max: 15m
72 # embeddings:
73 # - column: title
74 # column_pk:
75 # - id
76 # use: openai_embeddings
77
78embeddings:
79 - from: openai
80 name: openai_embeddings
81 params:
82 openai_api_key: ${ secrets:OPENAI_API_KEY }
83