-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathconfig.yaml
More file actions
109 lines (98 loc) · 3.16 KB
/
config.yaml
File metadata and controls
109 lines (98 loc) · 3.16 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
sdk_context:
clone_url: "https://github.com/video-db/videodb-python"
clone_dir: "context/sdk/source"
sphinx_config_dir: "context/sdk/sphinx_config"
output_dir: "context/sdk/context"
commit_message: "Add Sphinx markdown build output (sdk_build)"
branch_name: "sdk-context-branch"
docs_context:
doc_tree:
scrape_config:
script: "context/docs/crawl_coda_tree.py"
output: "context/docs/doc_tree.json"
url: "https://docs.videodb.io"
selector: "data-coda-ui-id"
selector_value: "page-list"
include:
# - "Welcome to VideoDB Docs"
- "Quick Start Guide"
- "VideoDB MCP Server"
# - "Visual Search and Indexing/*"
prompts:
prompt_folder: "context/prompts"
default_prompt: "default_docs.txt"
base_url: "https://docs.videodb.io"
tree_file: "context/docs/doc_tree.json"
output_file: "context/docs/docs_context.md"
output_fragments: "context/docs/fragments"
script_path: "context/docs/process_docs.py" # New field for script path
branch_name: "docs-context-update"
commit_message: "Add combined Markdown output for docs context"
llm: "gemini"
examples_context:
clone_url: "https://github.com/video-db/videodb-cookbook"
clone_dir: "context/examples/source"
include:
- "quickstart/*"
- "guides/*.ipynb"
- "editor/*"
exclude:
- "guides/VideoDB_Search_and_Evaluation.ipynb"
prompts:
prompt_folder: "context/prompts"
default_prompt: "default_ipynb.txt"
custom_prompts:
- pattern: "quickstart/Multimodal_Quickstart.ipynb"
prompt: "custom_2.txt"
output_file: "context/examples/examples_context.md"
output_fragments: "context/examples/fragments"
script_path: "context/examples/process_examples.py" # New field for script path
branch_name: "examples-context-update"
commit_message: "Add combined Markdown output for examples context"
llms_full_txt_file:
merge_script_path: "context/merge_llms_full_txt.py"
input_files:
- name: Instructions
file_path: "context/instructions/prompt.md"
- name: SDK Context
file_path: "context/sdk/context/index.md"
- name: Docs Context
file_path: "context/docs/docs_context.md"
- name: Examples Context
file_path: "context/examples/examples_context.md"
output_files:
- name: llms_full_txt
file_path: "context/llms-full.txt"
- name: llms_full_md
file_path: "context/llms-full.md"
layout: |
{{FILE1}}
{{FILE2}}
{{FILE3}}
{{FILE4}}
llms_txt_file:
merge_script_path: "context/merge_llms_txt.py"
input_files:
- name: Instructions
file_path: "context/instructions/prompt.md"
- name: SDK Context
file_path: "context/sdk/context/index.md"
- name: Docs Context
folder_path: "context/docs/fragments"
- name: Examples Context
folder_path: "context/examples/fragments"
output_files:
- name: llms_txt
file_path: "context/llms.txt"
- name: llms_md
file_path: "context/llms.md"
layout: |
{{INPUT1}}
{{INPUT2}}
{{INPUT3}}
{{INPUT4}}
token_count:
script_path: "context/count_tokens.py"
tiktoken_encoding_model: "gpt-4"
token_breakdown_file: "token_breakdown.png"
readme_shields_file: "readme_shields.json"