193 lines
4.9 KiB
JSON
193 lines
4.9 KiB
JSON
{
|
|
"analyze_repo.predict": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Analyze a repository structure and identify key components.",
|
|
"fields": [
|
|
{
|
|
"prefix": "Repo Url:",
|
|
"description": "GitHub repository URL"
|
|
},
|
|
{
|
|
"prefix": "File Tree:",
|
|
"description": "Repository file structure"
|
|
},
|
|
{
|
|
"prefix": "Readme Content:",
|
|
"description": "README.md content"
|
|
},
|
|
{
|
|
"prefix": "Reasoning: Let's think step by step in order to",
|
|
"description": "${reasoning}"
|
|
},
|
|
{
|
|
"prefix": "Project Purpose:",
|
|
"description": "Main purpose and goals of the project"
|
|
},
|
|
{
|
|
"prefix": "Key Concepts:",
|
|
"description": "List of important concepts and terminology"
|
|
},
|
|
{
|
|
"prefix": "Architecture Overview:",
|
|
"description": "High-level architecture description"
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "gpt-4o",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": 0.7,
|
|
"max_tokens": 8192
|
|
}
|
|
},
|
|
"analyze_structure.predict": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Analyze code structure to identify important directories and files.",
|
|
"fields": [
|
|
{
|
|
"prefix": "File Tree:",
|
|
"description": "Repository file structure"
|
|
},
|
|
{
|
|
"prefix": "Package Files:",
|
|
"description": "Key package and configuration files"
|
|
},
|
|
{
|
|
"prefix": "Reasoning: Let's think step by step in order to",
|
|
"description": "${reasoning}"
|
|
},
|
|
{
|
|
"prefix": "Important Directories:",
|
|
"description": "Key directories and their purposes"
|
|
},
|
|
{
|
|
"prefix": "Entry Points:",
|
|
"description": "Main entry points and important files"
|
|
},
|
|
{
|
|
"prefix": "Development Info:",
|
|
"description": "Development setup and workflow information"
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "gpt-4o",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": 0.7,
|
|
"max_tokens": 8192
|
|
}
|
|
},
|
|
"generate_examples.predict": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Given the fields `repo_info`, produce the fields `usage_examples`.",
|
|
"fields": [
|
|
{
|
|
"prefix": "Repo Info:",
|
|
"description": "${repo_info}"
|
|
},
|
|
{
|
|
"prefix": "Reasoning: Let's think step by step in order to",
|
|
"description": "${reasoning}"
|
|
},
|
|
{
|
|
"prefix": "Usage Examples:",
|
|
"description": "${usage_examples}"
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "gpt-4o",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": 0.7,
|
|
"max_tokens": 8192
|
|
}
|
|
},
|
|
"generate_llms_txt.predict": {
|
|
"traces": [],
|
|
"train": [],
|
|
"demos": [],
|
|
"signature": {
|
|
"instructions": "Generate a comprehensive llms.txt file from analyzed repository information.",
|
|
"fields": [
|
|
{
|
|
"prefix": "Project Purpose:",
|
|
"description": "${project_purpose}"
|
|
},
|
|
{
|
|
"prefix": "Key Concepts:",
|
|
"description": "${key_concepts}"
|
|
},
|
|
{
|
|
"prefix": "Architecture Overview:",
|
|
"description": "${architecture_overview}"
|
|
},
|
|
{
|
|
"prefix": "Important Directories:",
|
|
"description": "${important_directories}"
|
|
},
|
|
{
|
|
"prefix": "Entry Points:",
|
|
"description": "${entry_points}"
|
|
},
|
|
{
|
|
"prefix": "Development Info:",
|
|
"description": "${development_info}"
|
|
},
|
|
{
|
|
"prefix": "Usage Examples:",
|
|
"description": "Common usage patterns and examples"
|
|
},
|
|
{
|
|
"prefix": "Reasoning: Let's think step by step in order to",
|
|
"description": "${reasoning}"
|
|
},
|
|
{
|
|
"prefix": "Llms Txt Content:",
|
|
"description": "Complete llms.txt file content following the standard format"
|
|
}
|
|
]
|
|
},
|
|
"lm": {
|
|
"model": "gpt-4o",
|
|
"model_type": "chat",
|
|
"cache": true,
|
|
"num_retries": 3,
|
|
"finetuning_model": null,
|
|
"launch_kwargs": {},
|
|
"train_kwargs": {},
|
|
"temperature": 0.7,
|
|
"max_tokens": 8192
|
|
}
|
|
},
|
|
"metadata": {
|
|
"dependency_versions": {
|
|
"python": "3.13",
|
|
"dspy": "3.0.4",
|
|
"cloudpickle": "3.1"
|
|
}
|
|
}
|
|
} |