-
Notifications
You must be signed in to change notification settings - Fork 0
/
spicepod.yaml
executable file
·57 lines (54 loc) · 1.6 KB
/
spicepod.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: v1beta1
kind: Spicepod
name: nextjs
datasets:
- from: github:github.com/vercel/next.js/files/canary
name: nextjs.docs
description: Next.js documentation from https://nextjs.org/docs
params:
file_format: md
github_client_id: ${secrets:GITHUB_CLIENT_ID}
github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
include: "docs/**/*.mdx"
acceleration:
enabled: true
refresh_check_interval: 4h
refresh_jitter_enabled: true
refresh_jitter_max: 15m
columns:
- name: content
embeddings:
- from: openai_embeddings
row_id:
- path
chunking:
enabled: true
target_chunk_size: 512
overlap_size: 128
trim_whitespace: true
- from: github:github.com/vercel/next.js/issues
name: nextjs.issues
description: Next.js GitHub issues from github.com/vercel/next.js
time_column: created_at
params:
file_format: md
github_client_id: ${secrets:GITHUB_CLIENT_ID}
github_private_key: ${secrets:GITHUB_PRIVATE_KEY}
github_installation_id: ${secrets:GITHUB_INSTALLATION_ID}
acceleration:
enabled: true
refresh_check_interval: 4h
refresh_mode: full
refresh_jitter_enabled: true
refresh_jitter_max: 15m
# embeddings:
# - column: title
# column_pk:
# - id
# use: openai_embeddings
embeddings:
- from: openai
name: openai_embeddings
params:
openai_api_key: ${ secrets:OPENAI_API_KEY }