{
"intents": [
{
"tag": "greeting",
"patterns": ["Hi", "Hello", "Hey", "Good morning", "Good evening"],
"responses": ["Hello!", "Hi there!", "Greetings!"]
},
{
"tag": "goodbye",
"patterns": ["Bye", "See you later", "Goodbye"],
"responses": ["Goodbye!", "See you later!", "Have a nice day!"]
},
{
"tag": "thanks",
"patterns": ["Thanks", "Thank you", "That's helpful"],
"responses": ["You're welcome!", "No problem!", "Glad I could help!"]
},
{
"tag": "name_query",
"patterns": ["What is your name?", "Who are you?", "Identify yourself"],
"responses": ["I'm an AI assistant.", "You can call me Exter"]
},
{
"tag": "age_query",
"patterns": ["How old are you?", "What is your age?"],
"responses": ["I'm ageless!", "I don't have an age like humans."]
},
{
"tag": "weather",
"patterns": ["What's the weather like?", "Is it raining?", "Weather today"],
"responses": ["I can't check the weather right now.", "Please use a weather app for current updates."]
},
{
"tag": "joke",
"patterns": ["Tell me a joke", "Make me laugh", "Do you know any jokes?"],
"responses": ["Why did the computer show up at work late? It had a hard drive!", "Why do programmers prefer dark mode? Because light attracts bugs!"]
},
{
"tag": "help",
"patterns": ["Help me", "I need assistance", "Can you help?"],
"responses": ["Sure, how can I assist you?", "I'm here to help!"]
},
{
"tag": "time_query",
"patterns": ["What time is it?", "Tell me the time", "Current time"],
"responses": ["I can't provide the current time, but your device can!"]
},
{
"tag": "date_query",
"patterns": ["What is the date today?", "Today's date", "Date please"],
"responses": ["I can't provide the current date, but your device can!"]
},
{
"tag": "location_query",
"patterns": ["Where am I?", "What is my location?", "Current location"],
"responses": ["I can't access your location.", "Please check your device's location services."]
},
{
"tag": "favorite_color",
"patterns": ["What's your favorite color?", "Favorite color?"],
"responses": ["I like all colors equally!", "I don't have a favorite color."]
},
{
"tag": "favorite_food",
"patterns": ["What's your favorite food?", "Favorite food?"],
"responses": ["I don't eat, but I hear pizza is popular!", "I don't have a favorite food."]
},
{
"tag": "hobby",
"patterns": ["What are your hobbies?", "Do you have any hobbies?"],
"responses": ["I enjoy helping people with programming!", "My hobby is assisting users."]
},
{
"tag": "creator",
"patterns": ["Who created you?", "Who made you?", "Who is your creator?"],
"responses": ["I was created by developers at GitHub.", "Exter is my creator."]
},
{
"tag": "language_support",
"patterns": ["What languages do you support?", "Can you speak other languages?"],
"responses": ["I primarily use English, but I can help with code in many programming languages."]
},
{
"tag": "programming_help",
"patterns": ["Can you help me code?", "Programming help", "I need help with code"],
"responses": ["Of course! What programming language are you using?", "Sure, tell me about your coding problem."]
},
{
"tag": "python_help",
"patterns": ["Help with Python", "Python code", "Python programming"],
"responses": ["I can help with Python. What's your question?", "Ask me anything about Python!"]
},
{
"tag": "java_help",
"patterns": ["Help with Java", "Java code", "Java programming"],
"responses": ["I can help with Java. What's your question?", "Ask me anything about Java!"]
},
{
"tag": "javascript_help",
"patterns": ["Help with JavaScript", "JavaScript code", "JavaScript programming"],
"responses": ["I can help with JavaScript. What's your question?", "Ask me anything about JavaScript!"]
},
{
"tag": "csharp_help",
"patterns": ["Help with C#", "C# code", "C# programming"],
"responses": ["I can help with C#. What's your question?", "Ask me anything about C#!"]
},
{
"tag": "cpp_help",
"patterns": ["Help with C++", "C++ code", "C++ programming"],
"responses": ["I can help with C++. What's your question?", "Ask me anything about C++!"]
},
{
"tag": "html_help",
"patterns": ["Help with HTML", "HTML code", "HTML programming"],
"responses": ["I can help with HTML. What's your question?", "Ask me anything about HTML!"]
},
{
"tag": "css_help",
"patterns": ["Help with CSS", "CSS code", "CSS programming"],
"responses": ["I can help with CSS. What's your question?", "Ask me anything about CSS!"]
},
{
"tag": "json_help",
"patterns": ["Help with JSON", "JSON code", "JSON programming"],
"responses": ["I can help with JSON. What's your question?", "Ask me anything about JSON!"]
},
{
"tag": "xml_help",
"patterns": ["Help with XML", "XML code", "XML programming"],
"responses": ["I can help with XML. What's your question?", "Ask me anything about XML!"]
},
{
"tag": "sql_help",
"patterns": ["Help with SQL", "SQL code", "SQL programming"],
"responses": ["I can help with SQL. What's your question?", "Ask me anything about SQL!"]
},
{
"tag": "database_help",
"patterns": ["Help with databases", "Database code", "Database programming"],
"responses": ["I can help with databases. What's your question?", "Ask me anything about databases!"]
},
{
"tag": "api_help",
"patterns": ["Help with APIs", "API code", "API programming"],
"responses": ["I can help with APIs. What's your question?", "Ask me anything about APIs!"]
},
{
"tag": "error_help",
"patterns": ["I'm getting an error", "Error in my code", "Code error"],
"responses": ["Please share the error message.", "Let me know the error details so I can help."]
},
{
"tag": "bug_fix",
"patterns": ["Fix my bug", "There's a bug", "Code bug"],
"responses": ["Describe the bug and I'll try to help.", "Let me know what's wrong with your code."]
},
{
"tag": "optimization",
"patterns": ["Optimize my code", "Code optimization", "Make my code faster"],
"responses": ["Share your code and I'll suggest optimizations.", "I can help optimize your code."]
},
{
"tag": "code_review",
"patterns": ["Review my code", "Code review", "Check my code"],
"responses": ["Share your code for review.", "I'll review your code and provide feedback."]
},
{
"tag": "project_idea",
"patterns": ["Suggest a project", "Project ideas", "What should I build?"],
"responses": ["How about a weather app?", "Try building a to-do list application!"]
},
{
"tag": "learning_resources",
"patterns": ["Learning resources", "Where can I learn programming?", "Programming tutorials"],
"responses": ["Check out online tutorials and documentation.", "There are many free resources online for learning programming."]
},
{
"tag": "framework_help",
"patterns": ["Help with frameworks", "Framework code", "Framework programming"],
"responses": ["Which framework are you using?", "Let me know the framework and I'll help."]
},
{
"tag": "library_help",
"patterns": ["Help with libraries", "Library code", "Library programming"],
"responses": ["Which library are you using?", "Let me know the library and I'll help."]
},
{
"tag": "version_control",
"patterns": ["Help with Git", "Version control help", "GitHub help"],
"responses": ["I can help with Git and GitHub.", "Ask me anything about version control."]
},
{
"tag": "deployment",
"patterns": ["How to deploy my app?", "Deployment help", "Deploy code"],
"responses": ["Which platform are you deploying to?", "Let me know your deployment target."]
},
{
"tag": "cloud_help",
"patterns": ["Help with cloud", "Cloud programming", "Cloud deployment"],
"responses": ["Which cloud provider are you using?", "Let me know your cloud platform."]
},
{
"tag": "docker_help",
"patterns": ["Help with Docker", "Docker code", "Docker programming"],
"responses": ["I can help with Docker. What's your question?", "Ask me anything about Docker!"]
},
{
"tag": "kubernetes_help",
"patterns": ["Help with Kubernetes", "Kubernetes code", "Kubernetes programming"],
"responses": ["I can help with Kubernetes. What's your question?", "Ask me anything about Kubernetes!"]
},
{
"tag": "machine_learning",
"patterns": ["Help with machine learning", "Machine learning code", "ML programming"],
"responses": ["I can help with machine learning. What's your question?", "Ask me anything about ML!"]
},
{
"tag": "ai_help",
"patterns": ["Help with AI", "AI code", "AI programming"],
"responses": ["I can help with AI. What's your question?", "Ask me anything about AI!"]
},
{
"tag": "data_science",
"patterns": ["Help with data science", "Data science code", "Data science programming"],
"responses": ["I can help with data science. What's your question?", "Ask me anything about data science!"]
},
{
"tag": "statistics_help",
"patterns": ["Help with statistics", "Statistics code", "Statistics programming"],
"responses": ["I can help with statistics. What's your question?", "Ask me anything about statistics!"]
},
{
"tag": "math_help",
"patterns": ["Help with math", "Math code", "Math programming"],
"responses": ["I can help with math. What's your question?", "Ask me anything about math!"]
},
{
"tag": "regex_help",
"patterns": ["Help with regex", "Regex code", "Regex programming"],
"responses": ["I can help with regular expressions. What's your question?", "Ask me anything about regex!"]
},
{
"tag": "security_help",
"patterns": ["Help with security", "Security code", "Security programming"],
"responses": ["I can help with security. What's your question?", "Ask me anything about security!"]
},
{
"tag": "encryption_help",
"patterns": ["Help with encryption", "Encryption code", "Encryption programming"],
"responses": ["I can help with encryption. What's your question?", "Ask me anything about encryption!"]
},
{
"tag": "networking_help",
"patterns": ["Help with networking", "Networking code", "Networking programming"],
"responses": ["I can help with networking. What's your question?", "Ask me anything about networking!"]
},
{
"tag": "hardware_help",
"patterns": ["Help with hardware", "Hardware code", "Hardware programming"],
"responses": ["I can help with hardware-related programming. What's your question?", "Ask me anything about hardware programming!"]
},
{
"tag": "mobile_help",
"patterns": ["Help with mobile apps", "Mobile code", "Mobile programming"],
"responses": ["I can help with mobile app development. What's your question?", "Ask me anything about mobile programming!"]
},
{
"tag": "android_help",
"patterns": ["Help with Android", "Android code", "Android programming"],
"responses": ["I can help with Android development. What's your question?", "Ask me anything about Android!"]
},
{
"tag": "ios_help",
"patterns": ["Help with iOS", "iOS code", "iOS programming"],
"responses": ["I can help with iOS development. What's your question?", "Ask me anything about iOS!"]
},
{
"tag": "web_help",
"patterns": ["Help with web development", "Web code", "Web programming"],
"responses": ["I can help with web development. What's your question?", "Ask me anything about web programming!"]
},
{
"tag": "frontend_help",
"patterns": ["Help with frontend", "Frontend code", "Frontend programming"],
"responses": ["I can help with frontend development. What's your question?", "Ask me anything about frontend!"]
},
{
"tag": "backend_help",
"patterns": ["Help with backend", "Backend code", "Backend programming"],
"responses": ["I can help with backend development. What's your question?", "Ask me anything about backend!"]
},
{
"tag": "devops_help",
"patterns": ["Help with DevOps", "DevOps code", "DevOps programming"],
"responses": ["I can help with DevOps. What's your question?", "Ask me anything about DevOps!"]
},
{
"tag": "testing_help",
"patterns": ["Help with testing", "Testing code", "Testing programming"],
"responses": ["I can help with testing. What's your question?", "Ask me anything about testing!"]
},
{
"tag": "unit_testing",
"patterns": ["Help with unit testing", "Unit test code", "Unit testing programming"],
"responses": ["I can help with unit testing. What's your question?", "Ask me anything about unit testing!"]
},
{
"tag": "integration_testing",
"patterns": ["Help with integration testing", "Integration test code", "Integration testing programming"],
"responses": ["I can help with integration testing. What's your question?", "Ask me anything about integration testing!"]
},
{
"tag": "ui_ux_help",
"patterns": ["Help with UI/UX", "UI code", "UX programming"],
"responses": ["I can help with UI/UX. What's your question?", "Ask me anything about UI/UX!"]
},
{
"tag": "design_patterns",
"patterns": ["Help with design patterns", "Design pattern code", "Design pattern programming"],
"responses": ["I can help with design patterns. What's your question?", "Ask me anything about design patterns!"]
},
{
"tag": "oop_help",
"patterns": ["Help with OOP", "OOP code", "Object-oriented programming"],
"responses": ["I can help with object-oriented programming. What's your question?", "Ask me anything about OOP!"]
},
{
"tag": "functional_help",
"patterns": ["Help with functional programming", "Functional code", "Functional programming"],
"responses": ["I can help with functional programming. What's your question?", "Ask me anything about functional programming!"]
},
{
"tag": "scripting_help",
"patterns": ["Help with scripting", "Scripting code", "Scripting programming"],
"responses": ["I can help with scripting. What's your question?", "Ask me anything about scripting!"]
},
{
"tag": "automation_help",
"patterns": ["Help with automation", "Automation code", "Automation programming"],
"responses": ["I can help with automation. What's your question?", "Ask me anything about automation!"]
},
{
"tag": "robotics_help",
"patterns": ["Help with robotics", "Robotics code", "Robotics programming"],
"responses": ["I can help with robotics. What's your question?", "Ask me anything about robotics!"]
},
{
"tag": "game_dev_help",
"patterns": ["Help with game development", "Game code", "Game programming"],
"responses": ["I can help with game development. What's your question?", "Ask me anything about game programming!"]
},
{
"tag": "graphics_help",
"patterns": ["Help with graphics", "Graphics code", "Graphics programming"],
"responses": ["I can help with graphics programming. What's your question?", "Ask me anything about graphics!"]
},
{
"tag": "audio_help",
"patterns": ["Help with audio", "Audio code", "Audio programming"],
"responses": ["I can help with audio programming. What's your question?", "Ask me anything about audio!"]
},
{
"tag": "video_help",
"patterns": ["Help with video", "Video code", "Video programming"],
"responses": ["I can help with video programming. What's your question?", "Ask me anything about video!"]
},
{
"tag": "file_io_help",
"patterns": ["Help with file I/O", "File input output code", "File programming"],
"responses": ["I can help with file I/O. What's your question?", "Ask me anything about file programming!"]
},
{
"tag": "os_help",
"patterns": ["Help with operating systems", "OS code", "OS programming"],
"responses": ["I can help with operating systems programming. What's your question?", "Ask me anything about OS programming!"]
},
{
"tag": "shell_help",
"patterns": ["Help with shell scripting", "Shell code", "Shell programming"],
"responses": ["I can help with shell scripting. What's your question?", "Ask me anything about shell scripting!"]
},
{
"tag": "batch_help",
"patterns": ["Help with batch files", "Batch code", "Batch programming"],
"responses": ["I can help with batch files. What's your question?", "Ask me anything about batch programming!"]
},
{
"tag": "powershell_help",
"patterns": ["Help with PowerShell", "PowerShell code", "PowerShell programming"],
"responses": ["I can help with PowerShell. What's your question?", "Ask me anything about PowerShell!"]
},
{
"tag": "bash_help",
"patterns": ["Help with Bash", "Bash code", "Bash programming"],
"responses": ["I can help with Bash. What's your question?", "Ask me anything about Bash!"]
},
{
"tag": "linux_help",
"patterns": ["Help with Linux", "Linux code", "Linux programming"],
"responses": ["I can help with Linux. What's your question?", "Ask me anything about Linux!"]
},
{
"tag": "windows_help",
"patterns": ["Help with Windows", "Windows code", "Windows programming"],
"responses": ["I can help with Windows programming. What's your question?", "Ask me anything about Windows!"]
},
{
"tag": "macos_help",
"patterns": ["Help with macOS", "macOS code", "macOS programming"],
"responses": ["I can help with macOS programming. What's your question?", "Ask me anything about macOS!"]
},
{
"tag": "virtualization_help",
"patterns": ["Help with virtualization", "Virtualization code", "Virtualization programming"],
"responses": ["I can help with virtualization. What's your question?", "Ask me anything about virtualization!"]
},
{
"tag": "container_help",
"patterns": ["Help with containers", "Container code", "Container programming"],
"responses": ["I can help with containers. What's your question?", "Ask me anything about containers!"]
},
{
"tag": "ci_cd_help",
"patterns": ["Help with CI/CD", "CI/CD code", "CI/CD programming"],
"responses": ["I can help with CI/CD. What's your question?", "Ask me anything about CI/CD!"]
},
{
"tag": "logging_help",
"patterns": ["Help with logging", "Logging code", "Logging programming"],
"responses": ["I can help with logging. What's your question?", "Ask me anything about logging!"]
},
{
"tag": "monitoring_help",
"patterns": ["Help with monitoring", "Monitoring code", "Monitoring programming"],
"responses": ["I can help with monitoring. What's your question?", "Ask me anything about monitoring!"]
},
{
"tag": "performance_help",
"patterns": ["Help with performance", "Performance code", "Performance programming"],
"responses": ["I can help with performance optimization. What's your question?", "Ask me anything about performance!"]
},
{
"tag": "scalability_help",
"patterns": ["Help with scalability", "Scalability code", "Scalability programming"],
"responses": ["I can help with scalability. What's your question?", "Ask me anything about scalability!"]
},
{
"tag": "concurrency_help",
"patterns": ["Help with concurrency", "Concurrency code", "Concurrency programming"],
"responses": ["I can help with concurrency. What's your question?", "Ask me anything about concurrency!"]
},
{
"tag": "multithreading_help",
"patterns": ["Help with multithreading", "Multithreading code", "Multithreading programming"],
"responses": ["I can help with multithreading. What's your question?", "Ask me anything about multithreading!"]
},
{
"tag": "async_help",
"patterns": ["Help with async", "Async code", "Async programming"],
"responses": ["I can help with asynchronous programming. What's your question?", "Ask me anything about async!"]
},
{
"tag": "event_driven_help",
"patterns": ["Help with event-driven programming", "Event-driven code", "Event-driven programming"],
"responses": ["I can help with event-driven programming. What's your question?", "Ask me anything about event-driven programming!"]
},
{
"tag": "microservices_help",
"patterns": ["Help with microservices", "Microservices code", "Microservices programming"],
"responses": ["I can help with microservices. What's your question?", "Ask me anything about microservices!"]
},
{
"tag": "rest_api_help",
"patterns": ["Help with REST API", "REST API code", "REST API programming"],
"responses": ["I can help with REST APIs. What's your question?", "Ask me anything about REST APIs!"]
},
{
"tag": "graphql_help",
"patterns": ["Help with GraphQL", "GraphQL code", "GraphQL programming"],
"responses": ["I can help with GraphQL. What's your question?", "Ask me anything about GraphQL!"]
},
{
"tag": "soap_help",
"patterns": ["Help with SOAP", "SOAP code", "SOAP programming"],
"responses": ["I can help with SOAP. What's your question?", "Ask me anything about SOAP!"]
},
{
"tag": "rest_vs_graphql",
"patterns": ["REST vs GraphQL", "Difference between REST and GraphQL"],
"responses": ["REST uses endpoints for resources, GraphQL lets you query exactly what you need.", "GraphQL is more flexible than REST for complex queries."]
},
{
"tag": "json_vs_xml",
"patterns": ["JSON vs XML", "Difference between JSON and XML"],
"responses": ["JSON is lighter and easier to read, XML is more verbose and supports schemas.", "JSON is commonly used in web APIs, XML is used in legacy systems."]
},
{
"tag": "frontend_vs_backend",
"patterns": ["Frontend vs backend", "Difference between frontend and backend"],
"responses": ["Frontend is what users see, backend is the server-side logic.", "Frontend is UI, backend is data processing and storage."]
},
{
"tag": "agile_help",
"patterns": ["Help with Agile", "Agile methodology", "Agile programming"],
"responses": ["I can help with Agile practices. What's your question?", "Ask me anything about Agile!"]
},
{
"tag": "scrum_help",
"patterns": ["Help with Scrum", "Scrum methodology", "Scrum programming"],
"responses": ["I can help with Scrum. What's your question?", "Ask me anything about Scrum!"]
},
{
"tag": "kanban_help",
"patterns": ["Help with Kanban", "Kanban methodology", "Kanban programming"],
"responses": ["I can help with Kanban. What's your question?", "Ask me anything about Kanban!"]
},
{
"tag": "pair_programming",
"patterns": ["What is pair programming?", "Explain pair programming"],
"responses": ["Pair programming is when two developers work together at one workstation.", "One writes code, the other reviews in real time."]
},
{
"tag": "code_documentation",
"patterns": ["Help with documentation", "Code documentation", "Document my code"],
"responses": ["I can help with code documentation. What's your question?", "Ask me anything about documentation!"]
},
{
"tag": "open_source",
"patterns": ["What is open source?", "Explain open source"],
"responses": ["Open source means the code is publicly available for anyone to use or modify.", "Open source projects are collaborative and transparent."]
},
{
"tag": "license_help",
"patterns": ["Help with licenses", "Software license", "License my code"],
"responses": ["I can help with software licenses. What's your question?", "Ask me anything about licensing!"]
},
{
"tag": "contribute_open_source",
"patterns": ["How to contribute to open source?", "Contribute to open source"],
"responses": ["Find a project you're interested in and check their contribution guidelines.", "Start with beginner-friendly issues labeled 'good first issue'."]
},
{
"tag": "code_style",
"patterns": ["Help with code style", "Code style guide", "Style my code"],
"responses": ["I can help with code style. What's your question?", "Ask me anything about code style!"]
},
{
"tag": "refactoring",
"patterns": ["Help with refactoring", "Refactor my code", "Code refactoring"],
"responses": ["I can help with refactoring. What's your question?", "Ask me anything about refactoring!"]
},
{
"tag": "legacy_code",
"patterns": ["Help with legacy code", "Legacy code", "Old code help"],
"responses": ["I can help with legacy code. What's your question?", "Ask me anything about legacy code!"]
},
{
"tag": "code_migration",
"patterns": ["Help with code migration", "Migrate my code", "Code migration"],
"responses": ["I can help with code migration. What's your question?", "Ask me anything about code migration!"]
},
{
"tag": "api_integration",
"patterns": ["Help with API integration", "Integrate API", "API integration"],
"responses": ["I can help with API integration. What's your question?", "Ask me anything about API integration!"]
},
{
"tag": "third_party_help",
"patterns": ["Help with third-party libraries", "Third-party code", "Third-party programming"],
"responses": ["I can help with third-party libraries. What's your question?", "Ask me anything about third-party libraries!"]
},
{
"tag": "package_manager",
"patterns": ["Help with package managers", "Package manager code", "Package manager programming"],
"responses": ["I can help with package managers. What's your question?", "Ask me anything about package managers!"]
},
{
"tag": "dependency_help",
"patterns": ["Help with dependencies", "Dependency code", "Dependency programming"],
"responses": ["I can help with dependencies. What's your question?", "Ask me anything about dependencies!"]
},
{
"tag": "build_tools",
"patterns": ["Help with build tools", "Build tool code", "Build tool programming"],
"responses": ["I can help with build tools. What's your question?", "Ask me anything about build tools!"]
},
{
"tag": "compiler_help",
"patterns": ["Help with compilers", "Compiler code", "Compiler programming"],
"responses": ["I can help with compilers. What's your question?", "Ask me anything about compilers!"]
},
{
"tag": "interpreter_help",
"patterns": ["Help with interpreters", "Interpreter code", "Interpreter programming"],
"responses": ["I can help with interpreters. What's your question?", "Ask me anything about interpreters!"]
},
{
"tag": "runtime_help",
"patterns": ["Help with runtimes", "Runtime code", "Runtime programming"],
"responses": ["I can help with runtimes. What's your question?", "Ask me anything about runtimes!"]
},
{
"tag": "virtual_machine_help",
"patterns": ["Help with virtual machines", "Virtual machine code", "Virtual machine programming"],
"responses": ["I can help with virtual machines. What's your question?", "Ask me anything about virtual machines!"]
},
{
"tag": "git_init",
"patterns": ["How to initialize a git repository?", "git init", "Initialize git"],
"responses": ["Use 'git init' to initialize a new git repository in your project directory."]
},
{
"tag": "git_clone",
"patterns": ["How to clone a repository?", "git clone", "Clone git repo"],
"responses": ["Use 'git clone <repo_url>' to copy a repository from a remote server."]
},
{
"tag": "git_status",
"patterns": ["How to check git status?", "git status", "Check status in git"],
"responses": ["Use 'git status' to see the current state of your working directory and staging area."]
},
{
"tag": "git_add",
"patterns": ["How to add files in git?", "git add", "Stage files in git"],
"responses": ["Use 'git add <file>' to stage changes for commit."]
},
{
"tag": "git_commit",
"patterns": ["How to commit in git?", "git commit", "Commit changes in git"],
"responses": ["Use 'git commit -m \"message\"' to commit staged changes with a message."]
},
{
"tag": "git_push",
"patterns": ["How to push to remote?", "git push", "Push changes in git"],
"responses": ["Use 'git push' to upload your local commits to the remote repository."]
},
{
"tag": "git_pull",
"patterns": ["How to pull from remote?", "git pull", "Pull changes in git"],
"responses": ["Use 'git pull' to fetch and merge changes from the remote repository."]
},
{
"tag": "git_fetch",
"patterns": ["How to fetch in git?", "git fetch", "Fetch changes in git"],
"responses": ["Use 'git fetch' to download objects and refs from another repository."]
},
{
"tag": "git_merge",
"patterns": ["How to merge branches in git?", "git merge", "Merge in git"],
"responses": ["Use 'git merge <branch>' to merge another branch into your current branch."]
},
{
"tag": "git_branch",
"patterns": ["How to create a branch in git?", "git branch", "Create branch in git"],
"responses": ["Use 'git branch <branch_name>' to create a new branch."]
},
{
"tag": "git_checkout",
"patterns": ["How to checkout a branch in git?", "git checkout", "Switch branch in git"],
"responses": ["Use 'git checkout <branch_name>' to switch to another branch."]
},
{
"tag": "git_log",
"patterns": ["How to see git log?", "git log", "View commit history in git"],
"responses": ["Use 'git log' to view the commit history."]
},
{
"tag": "git_diff",
"patterns": ["How to see differences in git?", "git diff", "Show changes in git"],
"responses": ["Use 'git diff' to see changes between commits, branches, or your working directory."]
},
{
"tag": "git_remote",
"patterns": ["How to manage git remotes?", "git remote", "Add remote in git"],
"responses": ["Use 'git remote add <name> <url>' to add a new remote repository."]
},
{
"tag": "git_remove_remote",
"patterns": ["How to remove a git remote?", "Remove remote in git", "git remote remove"],
"responses": ["Use 'git remote remove <name>' to remove a remote repository."]
},
{
"tag": "git_rename_branch",
"patterns": ["How to rename a branch in git?", "Rename branch in git", "git branch -m"],
"responses": ["Use 'git branch -m <new_name>' to rename the current branch."]
},
{
"tag": "git_delete_branch",
"patterns": ["How to delete a branch in git?", "Delete branch in git", "git branch -d"],
"responses": ["Use 'git branch -d <branch_name>' to delete a branch."]
},
{
"tag": "git_stash",
"patterns": ["How to stash changes in git?", "git stash", "Stash in git"],
"responses": ["Use 'git stash' to temporarily save changes that are not ready to commit."]
},
{
"tag": "git_stash_pop",
"patterns": ["How to apply stashed changes in git?", "git stash pop", "Apply stash in git"],
"responses": ["Use 'git stash pop' to apply the most recently stashed changes."]
},
{
"tag": "git_rebase",
"patterns": ["How to rebase in git?", "git rebase", "Rebase branch in git"],
"responses": ["Use 'git rebase <branch>' to reapply commits on top of another base tip."]
},
{
"tag": "git_reset",
"patterns": ["How to reset in git?", "git reset", "Reset changes in git"],
"responses": ["Use 'git reset' to undo changes. Use '--hard' to reset both index and working directory."]
},
{
"tag": "git_revert",
"patterns": ["How to revert a commit in git?", "git revert", "Undo commit in git"],
"responses": ["Use 'git revert <commit>' to create a new commit that undoes the changes."]
},
{
"tag": "git_tag",
"patterns": ["How to tag in git?", "git tag", "Create tag in git"],
"responses": ["Use 'git tag <tag_name>' to create a new tag."]
},
{
"tag": "git_show",
"patterns": ["How to show details in git?", "git show", "Show commit details in git"],
"responses": ["Use 'git show <commit>' to display information about a commit."]
},
{
"tag": "git_config",
"patterns": ["How to configure git?", "git config", "Set git config"],
"responses": ["Use 'git config' to set configuration options, like user name and email."]
},
{
"tag": "git_ignore",
"patterns": ["How to ignore files in git?", "gitignore", "Create .gitignore"],
"responses": ["Create a .gitignore file to specify files and directories to be ignored by git."]
},
{
"tag": "git_cherry_pick",
"patterns": ["How to cherry-pick in git?", "git cherry-pick", "Apply specific commit in git"],
"responses": ["Use 'git cherry-pick <commit>' to apply a commit from another branch."]
},
{
"tag": "git_bisect",
"patterns": ["How to use git bisect?", "git bisect", "Find bug with git bisect"],
"responses": ["Use 'git bisect' to find the commit that introduced a bug by binary search."]
},
{
"tag": "git_blame",
"patterns": ["How to use git blame?", "git blame", "Find who changed a line in git"],
"responses": ["Use 'git blame <file>' to see who last modified each line of a file."]
},
{
"tag": "git_clean",
"patterns": ["How to clean untracked files in git?", "git clean", "Remove untracked files in git"],
"responses": ["Use 'git clean -f' to remove untracked files from your working directory."]
},
{
"tag": "git_submodule",
"patterns": ["How to use git submodules?", "git submodule", "Add submodule in git"],
"responses": ["Use 'git submodule add <repo_url>' to add a submodule to your repository."]
},
{
"tag": "git_squash",
"patterns": ["How to squash commits in git?", "Squash commits in git", "git rebase -i"],
"responses": ["Use 'git rebase -i' to squash multiple commits into one."]
},
{
"tag": "git_diff_cached",
"patterns": ["How to see staged changes in git?", "git diff --cached", "Show staged diff in git"],
"responses": ["Use 'git diff --cached' to see changes staged for the next commit."]
},
{
"tag": "git_log_oneline",
"patterns": ["How to see git log in one line?", "git log --oneline", "Short git log"],
"responses": ["Use 'git log --oneline' for a concise view of commit history."]
},
{
"tag": "git_remote_show",
"patterns": ["How to show remote details in git?", "git remote show", "Show remote info in git"],
"responses": ["Use 'git remote show <remote>' to display information about a remote repository."]
},
{
"tag": "git_remote_rename",
"patterns": ["How to rename a remote in git?", "Rename remote in git", "git remote rename"],
"responses": ["Use 'git remote rename <old> <new>' to rename a remote."]
},
{
"tag": "git_push_set_upstream",
"patterns": ["How to set upstream branch in git?", "Set upstream in git", "git push --set-upstream"],
"responses": ["Use 'git push --set-upstream origin <branch>' to set the upstream branch."]
},
{
"tag": "git_pull_rebase",
"patterns": ["How to pull with rebase in git?", "git pull --rebase", "Rebase on pull in git"],
"responses": ["Use 'git pull --rebase' to fetch and rebase your local changes."]
},
{
"tag": "git_amend",
"patterns": ["How to amend a commit in git?", "git commit --amend", "Amend last commit in git"],
"responses": ["Use 'git commit --amend' to modify the last commit."]
},
{
"tag": "git_restore",
"patterns": ["How to restore files in git?", "git restore", "Undo changes in git"],
"responses": ["Use 'git restore <file>' to restore a file to the last committed state."]
},
{
"tag": "git_mv",
"patterns": ["How to move or rename files in git?", "git mv", "Rename file in git"],
"responses": ["Use 'git mv <old> <new>' to move or rename a file."]
},
{
"tag": "git_rerere",
"patterns": ["What is git rerere?", "git rerere", "Resolve repeated merge conflicts in git"],
"responses": ["'git rerere' helps to reuse recorded resolutions for repeated merge conflicts."]
},
{
"tag": "git_gc",
"patterns": ["How to clean up git repository?", "git gc", "Garbage collect in git"],
"responses": ["Use 'git gc' to clean up unnecessary files and optimize the repository."]
},
{
"tag": "git_archive",
"patterns": ["How to create an archive in git?", "git archive", "Export git repo as zip"],
"responses": ["Use 'git archive --format=zip HEAD > archive.zip' to create a zip archive of your repository."]
},
{
"tag": "git_shortlog",
"patterns": ["How to see summary of commits in git?", "git shortlog", "Commit summary in git"],
"responses": ["Use 'git shortlog' to see a summary of commits by author."]
},
{
"tag": "git_describe",
"patterns": ["How to describe a commit in git?", "git describe", "Show tag description in git"],
"responses": ["Use 'git describe' to find the most recent tag reachable from a commit."]
},
{
"tag": "git_notes",
"patterns": ["How to add notes to commits in git?", "git notes", "Attach note to commit in git"],
"responses": ["Use 'git notes add -m \"note\" <commit>' to attach a note to a commit."]
},
{
"tag": "git_config_global",
"patterns": ["How to set global config in git?", "git config --global", "Set global username in git"],
"responses": ["Use 'git config --global user.name \"Your Name\"' and 'git config --global user.email \"you@example.com\"' to set global config."]
},
{
"tag": "git_config_local",
"patterns": ["How to set local config in git?", "git config --local", "Set local config in git"],
"responses": ["Use 'git config --local' to set configuration for the current repository only."]
},
{
"tag": "git_credential_helper",
"patterns": ["How to store credentials in git?", "git credential helper", "Remember password in git"],
"responses": ["Use 'git config --global credential.helper cache' to temporarily store credentials."]
},
{
"tag": "git_ls_files",
"patterns": ["How to list files tracked by git?", "git ls-files", "Show tracked files in git"],
"responses": ["Use 'git ls-files' to list all files tracked by git."]
},
{
"tag": "git_ls_tree",
"patterns": ["How to list files in a tree in git?", "git ls-tree", "Show tree in git"],
"responses": ["Use 'git ls-tree <commit>' to list the contents of a tree object."]
},
{
"tag": "git_rev_parse",
"patterns": ["How to parse revision in git?", "git rev-parse", "Get commit hash in git"],
"responses": ["Use 'git rev-parse HEAD' to get the current commit hash."]
},
{
"tag": "git_show_ref",
"patterns": ["How to show references in git?", "git show-ref", "List refs in git"],
"responses": ["Use 'git show-ref' to list references in your repository."]
},
{
"tag": "git_update_index",
"patterns": ["How to update index in git?", "git update-index", "Refresh index in git"],
"responses": ["Use 'git update-index' to register file contents in the index."]
},
{
"tag": "git_reflog",
"patterns": ["How to use git reflog?", "git reflog", "View reference log in git"],
"responses": ["Use 'git reflog' to view the history of HEAD and branch references."]
},
{
"tag": "git_filter_branch",
"patterns": ["How to rewrite history in git?", "git filter-branch", "Remove sensitive data in git"],
"responses": ["Use 'git filter-branch' to rewrite history, e.g., to remove sensitive data."]
},
{
"tag": "git_lfs",
"patterns": ["How to use git LFS?", "git lfs", "Large file storage in git"],
"responses": ["Git LFS (Large File Storage) is used to manage large files in git repositories."]
},
{
"tag": "git_worktree",
"patterns": ["How to use git worktree?", "git worktree", "Multiple working trees in git"],
"responses": ["Use 'git worktree add <path> <branch>' to create additional working trees."]
},
{
"tag": "git_sparse_checkout",
"patterns": ["How to use sparse checkout in git?", "git sparse-checkout", "Checkout part of repo in git"],
"responses": ["Use 'git sparse-checkout' to checkout only part of a repository."]
},
{
"tag": "git_patch",
"patterns": ["How to create a patch in git?", "git format-patch", "Create patch file in git"],
"responses": ["Use 'git format-patch' to create patch files from commits."]
},
{
"tag": "git_apply_patch",
"patterns": ["How to apply a patch in git?", "git apply", "Apply patch file in git"],
"responses": ["Use 'git apply <patch_file>' to apply a patch to your repository."]
},
{
"tag": "git_send_email",
"patterns": ["How to send patches via email in git?", "git send-email", "Email patch in git"],
"responses": ["Use 'git send-email' to send patch files via email."]
},
{
"tag": "git_annotate",
"patterns": ["How to annotate files in git?", "git annotate", "Show line history in git"],
"responses": ["Use 'git annotate <file>' to show who last modified each line."]
},
{
"tag": "git_cvsimport",
"patterns": ["How to import from CVS to git?", "git cvsimport", "Migrate CVS to git"],
"responses": ["Use 'git cvsimport' to import a CVS repository into git."]
},
{
"tag": "git_svn",
"patterns": ["How to use git with SVN?", "git svn", "Migrate SVN to git"],
"responses": ["Use 'git svn' to interact with Subversion repositories using git."]
},
{
"tag": "git_daemon",
"patterns": ["How to run git daemon?", "git daemon", "Serve git repo over network"],
"responses": ["Use 'git daemon' to serve repositories over the git protocol."]
},
{
"tag": "git_fsck",
"patterns": ["How to check git repository integrity?", "git fsck", "Check repo for errors in git"],
"responses": ["Use 'git fsck' to verify the integrity of your git repository."]
},
{
"tag": "git_prune",
"patterns": ["How to prune unreachable objects in git?", "git prune", "Clean up git objects"],
"responses": ["Use 'git prune' to remove unreachable objects from the object database."]
},
{
"tag": "git_bundle",
"patterns": ["How to create a git bundle?", "git bundle", "Bundle git repo"],
"responses": ["Use 'git bundle create <file> <branch>' to create a bundle file of your repository."]
},
{
"tag": "git_unstage",
"patterns": ["How to unstage files in git?", "Unstage in git", "git reset HEAD"],
"responses": ["Use 'git reset HEAD <file>' to unstage a file."]
},
{
"tag": "git_track_remote_branch",
"patterns": ["How to track a remote branch in git?", "Track remote branch in git", "git checkout --track"],
"responses": ["Use 'git checkout --track origin/<branch>' to track a remote branch."]
},
{
"tag": "git_list_branches",
"patterns": ["How to list branches in git?", "List branches in git", "git branch -a"],
"responses": ["Use 'git branch -a' to list all local and remote branches."]
},
{
"tag": "git_list_tags",
"patterns": ["How to list tags in git?", "List tags in git", "git tag -l"],
"responses": ["Use 'git tag -l' to list all tags in the repository."]
},
{
"tag": "git_delete_tag",
"patterns": ["How to delete a tag in git?", "Delete tag in git", "git tag -d"],
"responses": ["Use 'git tag -d <tag>' to delete a tag locally."]
},
{
"tag": "git_push_tags",
"patterns": ["How to push tags in git?", "Push tags in git", "git push --tags"],
"responses": ["Use 'git push --tags' to push all tags to the remote repository."]
},
{
"tag": "git_pull_specific_branch",
"patterns": ["How to pull a specific branch in git?", "Pull branch in git", "git pull origin branch"],
"responses": ["Use 'git pull origin <branch>' to pull a specific branch from the remote."]
},
{
"tag": "git_push_delete_remote_branch",
"patterns": ["How to delete remote branch in git?", "Delete remote branch in git", "git push origin --delete"],
"responses": ["Use 'git push origin --delete <branch>' to delete a remote branch."]
},
{
"tag": "git_fetch_prune",
"patterns": ["How to prune deleted branches in git?", "git fetch --prune", "Prune remote branches in git"],
"responses": ["Use 'git fetch --prune' to remove references to deleted remote branches."]
},
{
"tag": "git_config_list",
"patterns": ["How to list git config?", "git config --list", "Show git config"],
"responses": ["Use 'git config --list' to display all git configuration settings."]
},
{
"tag": "git_help",
"patterns": ["How to get help in git?", "git help", "Help command in git"],
"responses": ["Use 'git help <command>' to get help for a specific git command."]
},
{
"tag": "git_alias",
"patterns": ["How to create git alias?", "git alias", "Shorten git commands"],
"responses": ["Use 'git config --global alias.<alias> <command>' to create a git alias."]
},
{
"tag": "git_commit_message",
"patterns": ["How to write a good git commit message?", "Good commit message in git", "Commit message guidelines"],
"responses": ["A good commit message is concise, descriptive, and follows your team's conventions."]
},
{
"tag": "git_best_practices",
"patterns": ["What are git best practices?", "Best practices for git", "git workflow tips"],
"responses": ["Commit often, write clear messages, use branches, and pull before pushing."]
},
{
"tag": "git_fork",
"patterns": ["How to fork a repository?", "Fork repo in git", "Fork on GitHub"],
"responses": ["On GitHub, click 'Fork' to create a copy of a repository under your account."]
},
{
"tag": "git_upstream",
"patterns": ["What is upstream in git?", "Set upstream in git", "Upstream branch meaning"],
"responses": ["'Upstream' refers to the main repository you forked from or track changes from."]
},
{
"tag": "git_rebase_vs_merge",
"patterns": ["Rebase vs merge in git", "Difference between rebase and merge", "Should I rebase or merge?"],
"responses": ["Rebase creates a linear history, merge preserves branch history. Use rebase for clean history, merge for context."]
},
{
"tag": "git_conflict",
"patterns": ["How to resolve merge conflicts in git?", "Merge conflict in git", "Fix conflict in git"],
"responses": ["Edit the conflicting files, mark as resolved, then commit the changes."]
},
{
"tag": "git_detached_head",
"patterns": ["What is detached HEAD in git?", "Detached HEAD state in git", "Fix detached HEAD in git"],
"responses": ["Detached HEAD means you're not on a branch. Checkout a branch to return to normal state."]
},
{
"tag": "git_recover_deleted_branch",
"patterns": ["How to recover a deleted branch in git?", "Restore deleted branch in git", "git reflog recover branch"],
"responses": ["Use 'git reflog' to find the commit and 'git checkout -b <branch> <commit>' to restore."]
},
{
"tag": "git_recover_deleted_commit",
"patterns": ["How to recover a deleted commit in git?", "Restore deleted commit in git", "git reflog recover commit"],
"responses": ["Use 'git reflog' to find the commit hash and 'git cherry-pick' or 'git reset' to restore."]
},
{
"tag": "git_large_repo",
"patterns": ["How to handle large repositories in git?", "Large repo in git", "Optimize big git repo"],
"responses": ["Use git LFS for large files, and run 'git gc' to optimize repository size."]
},
{
"tag": "git_subtree",
"patterns": ["How to use git subtree?", "git subtree", "Split repo with git subtree"],
"responses": ["'git subtree' helps you manage project dependencies as subdirectories."]
},
{
"tag": "git_hooks",
"patterns": ["How to use git hooks?", "git hooks", "Pre-commit hook in git"],
"responses": ["Git hooks are scripts that run at certain points in git's execution, like pre-commit or post-merge."]
},
{
"tag": "git_pre_commit_hook",
"patterns": ["How to create a pre-commit hook in git?", "Pre-commit hook example", "git pre-commit"],
"responses": ["Create a file named 'pre-commit' in the .git/hooks directory and make it executable."]
},
{
"tag": "git_post_merge_hook",
"patterns": ["How to create a post-merge hook in git?", "Post-merge hook example", "git post-merge"],
"responses": ["Create a file named 'post-merge' in the .git/hooks directory and make it executable."]
},
{
"tag": "git_bare_repo",
"patterns": ["What is a bare repository in git?", "Bare repo in git", "git init --bare"],
"responses": ["A bare repository has no working directory and is used as a central repository for collaboration."]
},
{
"tag": "git_shallow_clone",
"patterns": ["How to do a shallow clone in git?", "Shallow clone in git", "git clone --depth"],
"responses": ["Use 'git clone --depth 1 <repo>' to clone only the latest commit."]
},
{
"tag": "git_force_push",
"patterns": ["How to force push in git?", "Force push in git", "git push --force"],
"responses": ["Use 'git push --force' to overwrite the remote branch with your local branch."]
},
{
"tag": "git_force_pull",
"patterns": ["How to force pull in git?", "Force pull in git", "Overwrite local changes with git pull"],
"responses": ["Use 'git fetch' and 'git reset --hard origin/<branch>' to forcefully update your local branch."]
},
{
"tag": "git_ignore_already_tracked",
"patterns": ["How to ignore already tracked files in git?", "Stop tracking file in git", "git rm --cached"],
"responses": ["Use 'git rm --cached <file>' to stop tracking a file and add it to .gitignore."]
},
{
"tag": "git_track_file_history",
"patterns": ["How to track file history in git?", "File history in git", "git log --follow"],
"responses": ["Use 'git log --follow <file>' to see the history of a file, including renames."]
},
{
"tag": "git_find_large_files",
"patterns": ["How to find large files in git?", "Large files in git repo", "git rev-list large files"],
"responses": ["Use 'git rev-list --objects --all | sort -k 2' and 'git cat-file -s <hash>' to find large files."]
},
{
"tag": "git_exclude_file",
"patterns": ["How to exclude files from git?", "Exclude file in git", "git exclude"],
"responses": ["Use .gitignore or .git/info/exclude to exclude files from being tracked."]
},
{
"tag": "git_undo_last_commit",
"patterns": ["How to undo last commit in git?", "Undo last commit in git", "git reset --soft HEAD~1"],
"responses": ["Use 'git reset --soft HEAD~1' to undo the last commit but keep changes staged."]
},
{
"tag": "git_undo_pushed_commit",
"patterns": ["How to undo a pushed commit in git?", "Undo pushed commit in git", "Revert pushed commit in git"],
"responses": ["Use 'git revert <commit>' to undo a pushed commit safely."]
},
{
"tag": "git_list_untracked_files",
"patterns": ["How to list untracked files in git?", "Untracked files in git", "git ls-files --others"],
"responses": ["Use 'git ls-files --others --exclude-standard' to list untracked files."]
},
{
"tag": "git_list_modified_files",
"patterns": ["How to list modified files in git?", "Modified files in git", "git status modified files"],
"responses": ["Use 'git status' or 'git diff --name-only' to list modified files."]
},
{
"tag": "git_list_staged_files",
"patterns": ["How to list staged files in git?", "Staged files in git", "git diff --cached --name-only"],
"responses": ["Use 'git diff --cached --name-only' to list staged files."]
},
{
"tag": "git_list_ignored_files",
"patterns": ["How to list ignored files in git?", "Ignored files in git", "git status --ignored"],
"responses": ["Use 'git status --ignored' to list ignored files."]
},
{
"tag": "git_config_editor",
"patterns": ["How to set default editor in git?", "Set git editor", "git config core.editor"],
"responses": ["Use 'git config --global core.editor \"editor\"' to set your preferred editor."]
},
{
"tag": "git_config_merge_tool",
"patterns": ["How to set merge tool in git?", "Set merge tool in git", "git config merge.tool"],
"responses": ["Use 'git config --global merge.tool <tool>' to set your preferred merge tool."]
},
{
"tag": "git_config_diff_tool",
"patterns": ["How to set diff tool in git?", "Set diff tool in git", "git config diff.tool"],
"responses": ["Use 'git config --global diff.tool <tool>' to set your preferred diff tool."]
},
{
"tag": "git_config_autocrlf",
"patterns": ["How to handle line endings in git?", "autocrlf in git", "git config core.autocrlf"],
"responses": ["Use 'git config --global core.autocrlf true' on Windows to handle line endings."]
},
{
"tag": "git_config_safe_directory",
"patterns": ["How to mark directory as safe in git?", "safe.directory in git", "git config --global safe.directory"],
"responses": ["Use 'git config --global --add safe.directory <path>' to mark a directory as safe."]
},
{
"tag": "git_config_pull_rebase",
"patterns": ["How to set pull to rebase by default in git?", "git config pull.rebase", "Default rebase on pull in git"],
"responses": ["Use 'git config --global pull.rebase true' to make 'git pull' use rebase by default."]
},
{
"tag": "git_config_push_default",
"patterns": ["How to set default push behavior in git?", "push.default in git", "git config push.default"],
"responses": ["Use 'git config --global push.default simple' for the recommended push behavior."]
},
{
"tag": "git_config_alias",
"patterns": ["How to create a git alias in config?", "Alias in git config", "git config alias"],
"responses": ["Use 'git config --global alias.<alias> <command>' to create a shortcut for a git command."]
},
{
"tag": "git_config_color_ui",
"patterns": ["How to enable color in git output?", "Color output in git", "git config color.ui"],
"responses": ["Use 'git config --global color.ui auto' to enable colored output."]
},
{
"tag": "git_config_pager",
"patterns": ["How to set pager in git?", "Pager in git", "git config core.pager"],
"responses": ["Use 'git config --global core.pager \"less\"' to set the pager for git output."]
},
{
"tag": "git_config_credential_store",
"patterns": ["How to store credentials permanently in git?", "git-credential-store", "git config credential.helper store"],
"responses": ["Use 'git config --global credential.helper store' to store credentials permanently."]
},
{
"tag": "git_config_credential_cache",
"patterns": ["How to cache credentials in git?", "git-credential-cache", "git config credential.helper cache"],
"responses": ["Use 'git config --global credential.helper cache' to cache credentials temporarily."]
},
{
"tag": "git_config_user",
"patterns": ["How to set user in git?", "Set username in git", "git config user.name"],
"responses": ["Use 'git config --global user.name \"Your Name\"' and 'git config --global user.email \"you@example.com\"'."]
},
{
"tag": "git_config_init_default_branch",
"patterns": ["How to set default branch name in git?", "Default branch in git", "git config init.defaultBranch"],
"responses": ["Use 'git config --global init.defaultBranch main' to set the default branch name."]
},
{
"tag": "git_config_rebase_autosquash",
"patterns": ["How to enable autosquash in git rebase?", "Autosquash in git", "git config rebase.autosquash"],
"responses": ["Use 'git config --global rebase.autosquash true' to enable autosquash during interactive rebase."]
},
{
"tag": "git_config_fetch_prune",
"patterns": ["How to prune on fetch by default in git?", "Prune on fetch in git", "git config fetch.prune"],
"responses": ["Use 'git config --global fetch.prune true' to prune deleted branches on fetch."]
},
{
"tag": "git_config_merge_ff_only",
"patterns": ["How to allow only fast-forward merges in git?", "Fast-forward only merge in git", "git config merge.ff only"],
"responses": ["Use 'git config --global merge.ff only' to allow only fast-forward merges."]
},
{
"tag": "git_config_commit_template",
"patterns": ["How to set commit message template in git?", "Commit template in git", "git config commit.template"],
"responses": ["Use 'git config --global commit.template <file>' to set a commit message template."]
},
{
"tag": "git_config_log_date",
"patterns": ["How to set date format in git log?", "Date format in git log", "git config log.date"],
"responses": ["Use 'git config --global log.date iso' to set the date format in git log."]
},
{
"tag": "git_config_diff_renames",
"patterns": ["How to detect renames in git diff?", "Detect renames in git", "git config diff.renames"],
"responses": ["Use 'git config --global diff.renames true' to detect renames in diffs."]
},
{
"tag": "git_config_autostash",
"patterns": ["How to enable autostash in git rebase?", "Autostash in git", "git config rebase.autostash"],
"responses": ["Use 'git config --global rebase.autostash true' to enable autostash during rebase."]
},
{
"tag": "git_config_pull_ff_only",
"patterns": ["How to allow only fast-forward pulls in git?", "Fast-forward only pull in git", "git config pull.ff only"],
"responses": ["Use 'git config --global pull.ff only' to allow only fast-forward pulls."]
},
{
"tag": "git_config_push_auto_setup_remote",
"patterns": ["How to auto-setup remote on push in git?", "Auto setup remote in git", "git config push.autoSetupRemote"],
"responses": ["Use 'git config --global push.autoSetupRemote true' to auto-setup remote tracking on push."]
},
{
"tag": "ask_python_version",
"patterns": ["What is the latest Python version?", "Latest Python version?", "Current Python version?"],
"responses": ["The latest stable Python version can be found at python.org/downloads."]
},
{
"tag": "ask_java_version",
"patterns": ["What is the latest Java version?", "Latest Java version?", "Current Java version?"],
"responses": ["The latest Java version is available at oracle.com/java/technologies/downloads/."]
},
{
"tag": "ask_javascript_frameworks",
"patterns": ["What are popular JavaScript frameworks?", "Best JavaScript frameworks?", "Popular JS frameworks?"],
"responses": ["Popular JavaScript frameworks include React, Angular, and Vue.js."]
},
{
"tag": "ask_best_code_editor",
"patterns": ["What is the best code editor?", "Recommend a code editor", "Best editor for programming?"],
"responses": ["Popular code editors are Visual Studio Code, Sublime Text, and Atom."]
},
{
"tag": "ask_learn_python",
"patterns": ["How can I learn Python?", "Best way to learn Python?", "Python learning resources?"],
"responses": ["You can learn Python from the official documentation, online tutorials, and courses on platforms like Coursera and Udemy."]
},
{
"tag": "ask_learn_javascript",
"patterns": ["How can I learn JavaScript?", "Best way to learn JavaScript?", "JavaScript learning resources?"],
"responses": ["Mozilla Developer Network (MDN) is a great resource for learning JavaScript."]
},
{
"tag": "ask_learn_java",
"patterns": ["How can I learn Java?", "Best way to learn Java?", "Java learning resources?"],
"responses": ["Oracle's Java Tutorials and online courses are good places to start learning Java."]
},
{
"tag": "ask_learn_csharp",
"patterns": ["How can I learn C#?", "Best way to learn C#?", "C# learning resources?"],
"responses": ["Microsoft Learn and the official C# documentation are great resources for learning C#."]
},
{
"tag": "ask_learn_cpp",
"patterns": ["How can I learn C++?", "Best way to learn C++?", "C++ learning resources?"],
"responses": ["cppreference.com and online courses are helpful for learning C++."]
},
{
"tag": "ask_learn_sql",
"patterns": ["How can I learn SQL?", "Best way to learn SQL?", "SQL learning resources?"],
"responses": ["W3Schools and SQLZoo are good resources for learning SQL."]
},
{
"tag": "ask_learn_html_css",
"patterns": ["How can I learn HTML and CSS?", "Best way to learn HTML/CSS?", "HTML CSS learning resources?"],
"responses": ["MDN Web Docs is a great place to learn HTML and CSS."]
},
{
"tag": "ask_learn_git",
"patterns": ["How can I learn Git?", "Best way to learn Git?", "Git learning resources?"],
"responses": ["The official Git documentation and tutorials like 'Learn Git Branching' are helpful."]
},
{
"tag": "ask_learn_docker",
"patterns": ["How can I learn Docker?", "Best way to learn Docker?", "Docker learning resources?"],
"responses": ["Docker's official documentation and tutorials are great for learning Docker."]
},
{
"tag": "ask_learn_kubernetes",
"patterns": ["How can I learn Kubernetes?", "Best way to learn Kubernetes?", "Kubernetes learning resources?"],
"responses": ["The Kubernetes documentation and interactive tutorials are good starting points."]
},
{
"tag": "ask_learn_machine_learning",
"patterns": ["How can I learn machine learning?", "Best way to learn ML?", "Machine learning resources?"],
"responses": ["Coursera, edX, and fast.ai offer excellent machine learning courses."]
},
{
"tag": "ask_learn_data_science",
"patterns": ["How can I learn data science?", "Best way to learn data science?", "Data science resources?"],
"responses": ["DataCamp, Coursera, and Kaggle are great resources for learning data science."]
},
{
"tag": "ask_learn_ai",
"patterns": ["How can I learn AI?", "Best way to learn AI?", "AI learning resources?"],
"responses": ["Stanford's AI courses and online platforms like Coursera offer good AI learning paths."]
},
{
"tag": "ask_learn_web_development",
"patterns": ["How can I learn web development?", "Best way to learn web development?", "Web development resources?"],
"responses": ["FreeCodeCamp and MDN Web Docs are excellent for learning web development."]
},
{
"tag": "ask_learn_mobile_development",
"patterns": ["How can I learn mobile development?", "Best way to learn mobile apps?", "Mobile development resources?"],
"responses": ["You can learn mobile development with Android or iOS by following their official guides and online courses."]
},
{
"tag": "ask_learn_react",
"patterns": ["How can I learn React?", "Best way to learn React?", "React learning resources?"],
"responses": ["The official React documentation and tutorials are great for learning React."]
},
{
"tag": "ask_learn_angular",
"patterns": ["How can I learn Angular?", "Best way to learn Angular?", "Angular learning resources?"],
"responses": ["Angular's official documentation and online courses are good resources."]
},
{
"tag": "ask_learn_vue",
"patterns": ["How can I learn Vue.js?", "Best way to learn Vue?", "Vue learning resources?"],
"responses": ["Vue.js official documentation and tutorials are helpful for learning Vue."]
},
{
"tag": "ask_learn_nodejs",
"patterns": ["How can I learn Node.js?", "Best way to learn Node.js?", "Node.js learning resources?"],
"responses": ["Node.js official documentation and online tutorials are good places to start."]
},
{
"tag": "ask_learn_typescript",
"patterns": ["How can I learn TypeScript?", "Best way to learn TypeScript?", "TypeScript learning resources?"],
"responses": ["TypeScript's official documentation and tutorials are great for learning TypeScript."]
},
{
"tag": "ask_learn_rust",
"patterns": ["How can I learn Rust?", "Best way to learn Rust?", "Rust learning resources?"],
"responses": ["The Rust Book and official documentation are excellent for learning Rust."]
},
{
"tag": "ask_learn_go",
"patterns": ["How can I learn Go?", "Best way to learn Go?", "Go learning resources?"],
"responses": ["The Go Tour and official documentation are great for learning Go."]
},
{
"tag": "ask_learn_php",
"patterns": ["How can I learn PHP?", "Best way to learn PHP?", "PHP learning resources?"],
"responses": ["PHP.net and online tutorials are helpful for learning PHP."]
},
{
"tag": "ask_learn_swift",
"patterns": ["How can I learn Swift?", "Best way to learn Swift?", "Swift learning resources?"],
"responses": ["Apple's Swift documentation and online courses are good resources."]
},
{
"tag": "ask_learn_kotlin",
"patterns": ["How can I learn Kotlin?", "Best way to learn Kotlin?", "Kotlin learning resources?"],
"responses": ["Kotlinlang.org and online tutorials are helpful for learning Kotlin."]
},
{
"tag": "ask_learn_ruby",
"patterns": ["How can I learn Ruby?", "Best way to learn Ruby?", "Ruby learning resources?"],
"responses": ["Ruby-lang.org and online courses are good for learning Ruby."]
},
{
"tag": "ask_learn_perl",
"patterns": ["How can I learn Perl?", "Best way to learn Perl?", "Perl learning resources?"],
"responses": ["Perl.org and online tutorials are helpful for learning Perl."]
},
{
"tag": "ask_learn_matlab",
"patterns": ["How can I learn MATLAB?", "Best way to learn MATLAB?", "MATLAB learning resources?"],
"responses": ["MathWorks documentation and online courses are good for learning MATLAB."]
},
{
"tag": "ask_learn_scss",
"patterns": ["How can I learn SCSS?", "Best way to learn SCSS?", "SCSS learning resources?"],
"responses": ["The Sass documentation and online tutorials are helpful for learning SCSS."]
},
{
"tag": "ask_learn_sass",
"patterns": ["How can I learn Sass?", "Best way to learn Sass?", "Sass learning resources?"],
"responses": ["The Sass documentation and online tutorials are helpful for learning Sass."]
},
{
"tag": "ask_learn_less",
"patterns": ["How can I learn Less?", "Best way to learn Less?", "Less learning resources?"],
"responses": ["The Less documentation and online tutorials are helpful for learning Less."]
},
{
"tag": "ask_learn_graphql",
"patterns": ["How can I learn GraphQL?", "Best way to learn GraphQL?", "GraphQL learning resources?"],
"responses": ["The official GraphQL documentation and tutorials are great for learning GraphQL."]
},
{
"tag": "ask_learn_sqlite",
"patterns": ["How can I learn SQLite?", "Best way to learn SQLite?", "SQLite learning resources?"],
"responses": ["SQLite.org and online tutorials are helpful for learning SQLite."]
},
{
"tag": "ask_learn_postgresql",
"patterns": ["How can I learn PostgreSQL?", "Best way to learn PostgreSQL?", "PostgreSQL learning resources?"],
"responses": ["The PostgreSQL documentation and online courses are good for learning PostgreSQL."]
},
{
"tag": "ask_learn_mysql",
"patterns": ["How can I learn MySQL?", "Best way to learn MySQL?", "MySQL learning resources?"],
"responses": ["MySQL.com and online tutorials are helpful for learning MySQL."]
},
{
"tag": "ask_learn_mongodb",
"patterns": ["How can I learn MongoDB?", "Best way to learn MongoDB?", "MongoDB learning resources?"],
"responses": ["MongoDB University and the official documentation are great for learning MongoDB."]
},
{
"tag": "ask_learn_redis",
"patterns": ["How can I learn Redis?", "Best way to learn Redis?", "Redis learning resources?"],
"responses": ["Redis.io and online tutorials are helpful for learning Redis."]
},
{
"tag": "ask_learn_elasticsearch",
"patterns": ["How can I learn Elasticsearch?", "Best way to learn Elasticsearch?", "Elasticsearch learning resources?"],
"responses": ["Elastic.co and online tutorials are helpful for learning Elasticsearch."]
},
{
"tag": "ask_learn_aws",
"patterns": ["How can I learn AWS?", "Best way to learn AWS?", "AWS learning resources?"],
"responses": ["AWS Training and Certification and online courses are good for learning AWS."]
},
{
"tag": "ask_learn_azure",
"patterns": ["How can I learn Azure?", "Best way to learn Azure?", "Azure learning resources?"],
"responses": ["Microsoft Learn and Azure documentation are great for learning Azure."]
},
{
"tag": "ask_learn_gcp",
"patterns": ["How can I learn GCP?", "Best way to learn GCP?", "GCP learning resources?"],
"responses": ["Google Cloud Training and documentation are good for learning GCP."]
},
{
"tag": "ask_learn_devops",
"patterns": ["How can I learn DevOps?", "Best way to learn DevOps?", "DevOps learning resources?"],
"responses": ["Online courses and tutorials on platforms like Udemy and Coursera are helpful for learning DevOps."]
},
{
"tag": "ask_learn_ci_cd",
"patterns": ["How can I learn CI/CD?", "Best way to learn CI/CD?", "CI/CD learning resources?"],
"responses": ["Jenkins, GitHub Actions, and GitLab CI documentation are good resources for learning CI/CD."]
},
{
"tag": "ask_learn_testing",
"patterns": ["How can I learn software testing?", "Best way to learn testing?", "Testing learning resources?"],
"responses": ["Online courses and documentation for frameworks like JUnit, PyTest, and Selenium are helpful."]
},
{
"tag": "ask_learn_tdd",
"patterns": ["How can I learn TDD?", "Best way to learn TDD?", "TDD learning resources?"],
"responses": ["Test-Driven Development by Example by Kent Beck is a classic book on TDD."]
},
{
"tag": "ask_learn_bdd",
"patterns": ["How can I learn BDD?", "Best way to learn BDD?", "BDD learning resources?"],
"responses": ["Behavior-Driven Development with Cucumber and online tutorials are helpful for learning BDD."]
},
{
"tag": "ask_learn_oop",
"patterns": ["How can I learn OOP?", "Best way to learn object-oriented programming?", "OOP learning resources?"],
"responses": ["Online courses and tutorials on OOP concepts are helpful for learning object-oriented programming."]
},
{
"tag": "ask_learn_functional",
"patterns": ["How can I learn functional programming?", "Best way to learn functional programming?", "Functional programming resources?"],
"responses": ["Functional Programming Principles in Scala on Coursera is a good starting point."]
},
{
"tag": "ask_learn_algorithms",
"patterns": ["How can I learn algorithms?", "Best way to learn algorithms?", "Algorithms learning resources?"],
"responses": ["Introduction to Algorithms by Cormen et al. and online courses are great for learning algorithms."]
},
{
"tag": "ask_learn_data_structures",
"patterns": ["How can I learn data structures?", "Best way to learn data structures?", "Data structures learning resources?"],
"responses": ["Online courses and tutorials on data structures are helpful for learning."]
},
{
"tag": "ask_learn_linux",
"patterns": ["How can I learn Linux?", "Best way to learn Linux?", "Linux learning resources?"],
"responses": ["Linux Journey and The Linux Command Line book are good resources."]
},
{
"tag": "ask_learn_windows",
"patterns": ["How can I learn Windows programming?", "Best way to learn Windows development?", "Windows programming resources?"],
"responses": ["Microsoft Learn and MSDN documentation are helpful for Windows programming."]
},
{
"tag": "ask_learn_macos",
"patterns": ["How can I learn macOS programming?", "Best way to learn macOS development?", "macOS programming resources?"],
"responses": ["Apple's developer documentation is the best resource for macOS programming."]
},
{
"tag": "ask_learn_shell",
"patterns": ["How can I learn shell scripting?", "Best way to learn shell scripting?", "Shell scripting resources?"],
"responses": ["The Bash Guide and online tutorials are helpful for learning shell scripting."]
},
{
"tag": "ask_learn_batch",
"patterns": ["How can I learn batch scripting?", "Best way to learn batch files?", "Batch scripting resources?"],
"responses": ["SS64.com and online tutorials are helpful for learning batch scripting."]
},
{
"tag": "ask_learn_powershell",
"patterns": ["How can I learn PowerShell?", "Best way to learn PowerShell?", "PowerShell learning resources?"],
"responses": ["Microsoft's PowerShell documentation and online courses are good resources."]
},
{
"tag": "ask_learn_bash",
"patterns": ["How can I learn Bash?", "Best way to learn Bash?", "Bash learning resources?"],
"responses": ["The Bash Guide and online tutorials are helpful for learning Bash."]
},
{
"tag": "ask_learn_networking",
"patterns": ["How can I learn networking?", "Best way to learn networking?", "Networking learning resources?"],
"responses": ["Cisco's Networking Academy and online courses are good for learning networking."]
},
{
"tag": "ask_learn_security",
"patterns": ["How can I learn cybersecurity?", "Best way to learn security?", "Cybersecurity learning resources?"],
"responses": ["Cybrary and online courses are helpful for learning cybersecurity."]
},
{
"tag": "ask_learn_encryption",
"patterns": ["How can I learn encryption?", "Best way to learn encryption?", "Encryption learning resources?"],
"responses": ["Cryptography and Network Security by William Stallings is a good book on encryption."]
},
{
"tag": "ask_learn_regex",
"patterns": ["How can I learn regex?", "Best way to learn regular expressions?", "Regex learning resources?"],
"responses": ["RegexOne and regular-expressions.info are helpful for learning regex."]
},
{
"tag": "ask_learn_statistics",
"patterns": ["How can I learn statistics?", "Best way to learn statistics?", "Statistics learning resources?"],
"responses": ["Khan Academy and online courses are helpful for learning statistics."]
},
{
"tag": "ask_learn_math",
"patterns": ["How can I learn math for programming?", "Best way to learn math for coding?", "Math for programmers resources?"],
"responses": ["Khan Academy and MIT OpenCourseWare are good resources for learning math."]
},
{
"tag": "ask_learn_automation",
"patterns": ["How can I learn automation?", "Best way to learn automation?", "Automation learning resources?"],
"responses": ["Online courses and tutorials on scripting and automation tools are helpful."]
},
{
"tag": "ask_learn_robotics",
"patterns": ["How can I learn robotics?", "Best way to learn robotics?", "Robotics learning resources?"],
"responses": ["Coursera and edX offer good robotics courses."]
},
{
"tag": "ask_learn_game_dev",
"patterns": ["How can I learn game development?", "Best way to learn game dev?", "Game development resources?"],
"responses": ["Unity and Unreal Engine documentation and online courses are helpful for game development."]
},
{
"tag": "ask_learn_graphics",
"patterns": ["How can I learn graphics programming?", "Best way to learn graphics programming?", "Graphics programming resources?"],
"responses": ["OpenGL and DirectX tutorials are helpful for learning graphics programming."]
},
{
"tag": "ask_learn_audio",
"patterns": ["How can I learn audio programming?", "Best way to learn audio programming?", "Audio programming resources?"],
"responses": ["Online tutorials and documentation for audio libraries are helpful."]
},
{
"tag": "ask_learn_video",
"patterns": ["How can I learn video programming?", "Best way to learn video programming?", "Video programming resources?"],
"responses": ["Online tutorials and documentation for video processing libraries are helpful."]
},
{
"tag": "ask_learn_file_io",
"patterns": ["How can I learn file I/O?", "Best way to learn file input/output?", "File I/O learning resources?"],
"responses": ["Programming language documentation and online tutorials are helpful for learning file I/O."]
},
{
"tag": "ask_learn_os",
"patterns": ["How can I learn operating systems?", "Best way to learn OS programming?", "Operating systems learning resources?"],
"responses": ["Operating Systems: Three Easy Pieces is a great book for learning OS concepts."]
},
{
"tag": "ask_learn_virtualization",
"patterns": ["How can I learn virtualization?", "Best way to learn virtualization?", "Virtualization learning resources?"],
"responses": ["VMware and VirtualBox documentation and online courses are helpful for learning virtualization."]
},
{
"tag": "ask_learn_containerization",
"patterns": ["How can I learn containerization?", "Best way to learn containers?", "Containerization learning resources?"],
"responses": ["Docker and Kubernetes documentation are good resources for learning containerization."]
},
{
"tag": "ask_learn_microservices",
"patterns": ["How can I learn microservices?", "Best way to learn microservices?", "Microservices learning resources?"],
"responses": ["Online courses and tutorials on microservices architecture are helpful."]
},
{
"tag": "ask_learn_rest_api",
"patterns": ["How can I learn REST API?", "Best way to learn REST APIs?", "REST API learning resources?"],
"responses": ["RESTful API tutorials and documentation are helpful for learning REST APIs."]
},
{
"tag": "ask_learn_soap",
"patterns": ["How can I learn SOAP?", "Best way to learn SOAP?", "SOAP learning resources?"],
"responses": ["SOAP tutorials and documentation are helpful for learning SOAP."]
},
{
"tag": "ask_learn_design_patterns",
"patterns": ["How can I learn design patterns?", "Best way to learn design patterns?", "Design patterns learning resources?"],
"responses": ["Head First Design Patterns is a popular book for learning design patterns."]
},
{
"tag": "ask_learn_refactoring",
"patterns": ["How can I learn refactoring?", "Best way to learn refactoring?", "Refactoring learning resources?"],
"responses": ["Refactoring by Martin Fowler is a classic book on the topic."]
},
{
"tag": "ask_learn_documentation",
"patterns": ["How can I learn to write documentation?", "Best way to document code?", "Documentation learning resources?"],
"responses": ["Online tutorials and documentation tools guides are helpful for learning documentation."]
},
{
"tag": "ask_learn_open_source",
"patterns": ["How can I learn about open source?", "Best way to contribute to open source?", "Open source learning resources?"],
"responses": ["GitHub's guides and open source project documentation are helpful for learning about open source."]
},
{
"tag": "ask_learn_license",
"patterns": ["How can I learn about software licenses?", "Best way to choose a license?", "Software license resources?"],
"responses": ["ChooseALicense.com is a helpful resource for understanding software licenses."]
},
{
"tag": "ask_learn_package_manager",
"patterns": ["How can I learn about package managers?", "Best way to use package managers?", "Package manager resources?"],
"responses": ["Official documentation for npm, pip, and other package managers are helpful."]
},
{
"tag": "ask_learn_dependency_management",
"patterns": ["How can I learn dependency management?", "Best way to manage dependencies?", "Dependency management resources?"],
"responses": ["Online tutorials and documentation for build tools are helpful for learning dependency management."]
},
{
"tag": "ask_learn_build_tools",
"patterns": ["How can I learn build tools?", "Best way to use build tools?", "Build tools learning resources?"],
"responses": ["Documentation for tools like Maven, Gradle, and Make are helpful for learning build tools."]
},
{
"tag": "ask_learn_compiler",
"patterns": ["How can I learn about compilers?", "Best way to learn compiler design?", "Compiler learning resources?"],
"responses": ["Compilers: Principles, Techniques, and Tools is a classic book on compiler design."]
},
{
"tag": "ask_learn_interpreter",
"patterns": ["How can I learn about interpreters?", "Best way to learn interpreter design?", "Interpreter learning resources?"],
"responses": ["Online tutorials and books on language implementation are helpful for learning about interpreters."]
},
{
"tag": "ask_learn_runtime",
"patterns": ["How can I learn about runtimes?", "Best way to learn about runtimes?", "Runtime learning resources?"],
"responses": ["Programming language documentation and online resources are helpful for learning about runtimes."]
},
{
"tag": "ask_learn_virtual_machine",
"patterns": ["How can I learn about virtual machines?", "Best way to learn VM design?", "Virtual machine learning resources?"],
"responses": ["Online tutorials and books on virtual machine implementation are helpful."]
},
{
"tag": "ask_learn_git_workflow",
"patterns": ["How can I learn git workflow?", "Best git workflow?", "Git workflow resources?"],
"responses": ["Atlassian's Git tutorials and documentation are helpful for learning git workflows."]
},
{
"tag": "ask_learn_git_merge",
"patterns": ["How can I learn git merge?", "Best way to merge in git?", "Git merge resources?"],
"responses": ["The official Git documentation explains merging in detail."]
},
{
"tag": "ask_learn_git_rebase",
"patterns": ["How can I learn git rebase?", "Best way to rebase in git?", "Git rebase resources?"],
"responses": ["The official Git documentation explains rebasing in detail."]
},
{
"tag": "ask_learn_git_conflict",
"patterns": ["How can I resolve git conflicts?", "Best way to fix merge conflicts?", "Git conflict resolution resources?"],
"responses": ["The official Git documentation and tutorials on conflict resolution are helpful."]
},
{
"tag": "ask_learn_git_tag",
"patterns": ["How can I use git tags?", "Best way to tag in git?", "Git tag resources?"],
"responses": ["The official Git documentation explains tagging in detail."]
},
{
"tag": "ask_learn_git_submodule",
"patterns": ["How can I use git submodules?", "Best way to use submodules?", "Git submodule resources?"],
"responses": ["The official Git documentation explains submodules in detail."]
},
{
"tag": "ask_learn_git_hooks",
"patterns": ["How can I use git hooks?", "Best way to use git hooks?", "Git hooks resources?"],
"responses": ["The official Git documentation explains hooks in detail."]
},
{
"tag": "ask_learn_git_lfs",
"patterns": ["How can I use git LFS?", "Best way to use git LFS?", "Git LFS resources?"],
"responses": ["Git LFS documentation is helpful for learning about large file storage."]
},
{
"tag": "ask_learn_git_best_practices",
"patterns": ["What are git best practices?", "Best practices for git?", "Git workflow tips?"],
"responses": ["Commit often, write clear messages, use branches, and pull before pushing."]
},
{
"tag": "ask_learn_git_alias",
"patterns": ["How can I create git aliases?", "Best git aliases?", "Git alias resources?"],
"responses": ["The official Git documentation explains how to create aliases."]
},
{
"tag": "ask_learn_gitignore",
"patterns": ["How can I use .gitignore?", "Best way to ignore files in git?", "Gitignore resources?"],
"responses": ["The official Git documentation and gitignore.io are helpful for .gitignore files."]
},
{
"tag": "ask_learn_git_reflog",
"patterns": ["How can I use git reflog?", "Best way to use reflog?", "Git reflog resources?"],
"responses": ["The official Git documentation explains reflog in detail."]
},
{
"tag": "ask_learn_git_cherry_pick",
"patterns": ["How can I use git cherry-pick?", "Best way to cherry-pick in git?", "Git cherry-pick resources?"],
"responses": ["The official Git documentation explains cherry-pick in detail."]
},
{
"tag": "ask_learn_git_stash",
"patterns": ["How can I use git stash?", "Best way to stash in git?", "Git stash resources?"],
"responses": ["The official Git documentation explains stashing in detail."]
},
{
"tag": "ask_learn_git_reset",
"patterns": ["How can I use git reset?", "Best way to reset in git?", "Git reset resources?"],
"responses": ["The official Git documentation explains reset in detail."]
},
{
"tag": "ask_learn_git_revert",
"patterns": ["How can I use git revert?", "Best way to revert in git?", "Git revert resources?"],
"responses": ["The official Git documentation explains revert in detail."]
},
{
"tag": "ask_learn_git_bisect",
"patterns": ["How can I use git bisect?", "Best way to use bisect in git?", "Git bisect resources?"],
"responses": ["The official Git documentation explains bisect in detail."]
},
{
"tag": "ask_learn_git_blame",
"patterns": ["How can I use git blame?", "Best way to use blame in git?", "Git blame resources?"],
"responses": ["The official Git documentation explains blame in detail."]
},
{
"tag": "ask_learn_git_sparse_checkout",
"patterns": ["How can I use git sparse-checkout?", "Best way to use sparse checkout?", "Git sparse-checkout resources?"],
"responses": ["The official Git documentation explains sparse-checkout in detail."]
},
{
"tag": "ask_learn_git_worktree",
"patterns": ["How can I use git worktree?", "Best way to use worktree in git?", "Git worktree resources?"],
"responses": ["The official Git documentation explains worktree in detail."]
},
{
"tag": "ask_learn_git_patch",
"patterns": ["How can I create a patch in git?", "Best way to create patch files?", "Git patch resources?"],
"responses": ["The official Git documentation explains patch creation in detail."]
},
{
"tag": "ask_learn_git_apply_patch",
"patterns": ["How can I apply a patch in git?", "Best way to apply patch files?", "Git apply patch resources?"],
"responses": ["The official Git documentation explains applying patches in detail."]
},
{
"tag": "ask_learn_git_send_email",
"patterns": ["How can I send patches via email in git?", "Best way to email patches?", "Git send-email resources?"],
"responses": ["The official Git documentation explains send-email in detail."]
},
{
"tag": "ask_learn_git_annotate",
"patterns": ["How can I annotate files in git?", "Best way to annotate in git?", "Git annotate resources?"],
"responses": ["The official Git documentation explains annotate in detail."]
},
{
"tag": "ask_learn_git_cvsimport",
"patterns": ["How can I import from CVS to git?", "Best way to migrate CVS to git?", "Git cvsimport resources?"],
"responses": ["The official Git documentation explains cvsimport in detail."]
},
{
"tag": "ask_learn_git_svn",
"patterns": ["How can I use git with SVN?", "Best way to migrate SVN to git?", "Git svn resources?"],
"responses": ["The official Git documentation explains git-svn in detail."]
},
{
"tag": "ask_learn_git_daemon",
"patterns": ["How can I run git daemon?", "Best way to serve git repo over network?", "Git daemon resources?"],
"responses": ["The official Git documentation explains git daemon in detail."]
},
{
"tag": "ask_learn_git_fsck",
"patterns": ["How can I check git repository integrity?", "Best way to check repo for errors?", "Git fsck resources?"],
"responses": ["The official Git documentation explains fsck in detail."]
},
{
"tag": "ask_learn_git_prune",
"patterns": ["How can I prune unreachable objects in git?", "Best way to clean up git objects?", "Git prune resources?"],
"responses": ["The official Git documentation explains prune in detail."]
},
{
"tag": "ask_learn_git_bundle",
"patterns": ["How can I create a git bundle?", "Best way to bundle git repo?", "Git bundle resources?"],
"responses": ["The official Git documentation explains bundle in detail."]
},
{
"tag": "ask_learn_git_unstage",
"patterns": ["How can I unstage files in git?", "Best way to unstage in git?", "Git unstage resources?"],
"responses": ["The official Git documentation explains unstaging in detail."]
},
{
"tag": "ask_learn_git_track_remote_branch",
"patterns": ["How can I track a remote branch in git?", "Best way to track remote branch?", "Git track remote branch resources?"],
"responses": ["The official Git documentation explains tracking remote branches in detail."]
},
{
"tag": "ask_learn_git_list_branches",
"patterns": ["How can I list branches in git?", "Best way to list branches?", "Git list branches resources?"],
"responses": ["The official Git documentation explains listing branches in detail."]
},
{
"tag": "ask_learn_git_list_tags",
"patterns": ["How can I list tags in git?", "Best way to list tags?", "Git list tags resources?"],
"responses": ["The official Git documentation explains listing tags in detail."]
},
{
"tag": "ask_learn_git_delete_tag",
"patterns": ["How can I delete a tag in git?", "Best way to delete tags?", "Git delete tag resources?"],
"responses": ["The official Git documentation explains deleting tags in detail."]
},
{
"tag": "ask_learn_git_push_tags",
"patterns": ["How can I push tags in git?", "Best way to push tags?", "Git push tags resources?"],
"responses": ["The official Git documentation explains pushing tags in detail."]
},
{
"tag": "ask_learn_git_pull_specific_branch",
"patterns": ["How can I pull a specific branch in git?", "Best way to pull branch?", "Git pull branch resources?"],
"responses": ["The official Git documentation explains pulling branches in detail."]
},
{
"tag": "ask_learn_git_push_delete_remote_branch",
"patterns": ["How can I delete remote branch in git?", "Best way to delete remote branch?", "Git delete remote branch resources?"],
"responses": ["The official Git documentation explains deleting remote branches in detail."]
},
{
"tag": "ask_learn_git_fetch_prune",
"patterns": ["How can I prune deleted branches in git?", "Best way to prune remote branches?", "Git fetch prune resources?"],
"responses": ["The official Git documentation explains fetch prune in detail."]
},
{
"tag": "ask_learn_git_config_list",
"patterns": ["How can I list git config?", "Best way to show git config?", "Git config list resources?"],
"responses": ["The official Git documentation explains listing config in detail."]
},
{
"tag": "ask_learn_git_help",
"patterns": ["How can I get help in git?", "Best way to use git help?", "Git help resources?"],
"responses": ["The official Git documentation and 'git help' command are helpful."]
},
{
"tag": "ask_learn_git_commit_message",
"patterns": ["How can I write a good git commit message?", "Best commit message practices?", "Git commit message resources?"],
"responses": ["A good commit message is concise, descriptive, and follows your team's conventions."]
},
{
"tag": "ask_learn_git_fork",
"patterns": ["How can I fork a repository?", "Best way to fork repo?", "Git fork resources?"],
"responses": ["GitHub's documentation explains forking repositories in detail."]
},
{
"tag": "ask_learn_git_upstream",
"patterns": ["How can I set upstream in git?", "Best way to set upstream?", "Git upstream resources?"],
"responses": ["The official Git documentation explains upstream branches in detail."]
},
{
"tag": "ask_learn_git_rebase_vs_merge",
"patterns": ["Should I rebase or merge?", "Difference between rebase and merge?", "Git rebase vs merge resources?"],
"responses": ["Rebase creates a linear history, merge preserves branch history. Use rebase for clean history, merge for context."]
},
{
"tag": "ask_learn_git_conflict_resolution",
"patterns": ["How can I resolve merge conflicts in git?", "Best way to fix conflicts?", "Git conflict resolution resources?"],
"responses": ["Edit the conflicting files, mark as resolved, then commit the changes."]
},
{
"tag": "ask_learn_git_detached_head",
"patterns": ["What is detached HEAD in git?", "How to fix detached HEAD?", "Git detached HEAD resources?"],
"responses": ["Detached HEAD means you're not on a branch. Checkout a branch to return to normal state."]
},
{
"tag": "ask_learn_git_recover_deleted_branch",
"patterns": ["How can I recover a deleted branch in git?", "Restore deleted branch in git?", "Git recover branch resources?"],
"responses": ["Use 'git reflog' to find the commit and 'git checkout -b <branch> <commit>' to restore."]
},
{
"tag": "ask_learn_git_recover_deleted_commit",
"patterns": ["How can I recover a deleted commit in git?", "Restore deleted commit in git?", "Git recover commit resources?"],
"responses": ["Use 'git reflog' to find the commit hash and 'git cherry-pick' or 'git reset' to restore."]
},
{
"tag": "ask_learn_git_large_repo",
"patterns": ["How can I handle large repositories in git?", "Optimize big git repo?", "Git large repo resources?"],
"responses": ["Use git LFS for large files, and run 'git gc' to optimize repository size."]
},
{
"tag": "ask_learn_git_subtree",
"patterns": ["How can I use git subtree?", "Best way to use subtree?", "Git subtree resources?"],
"responses": ["'git subtree' helps you manage project dependencies as subdirectories."]
},
{
"tag": "ask_learn_git_hooks_examples",
"patterns": ["Can you give examples of git hooks?", "Git hooks examples?", "Sample git hooks?"],
"responses": ["Pre-commit and post-merge are common git hooks. You can find examples in the .git/hooks directory."]
},
{
"tag": "ask_learn_git_bare_repo",
"patterns": ["What is a bare repository in git?", "How to use bare repo?", "Git bare repository resources?"],
"responses": ["A bare repository has no working directory and is used as a central repository for collaboration."]
},
{
"tag": "ask_learn_git_shallow_clone",
"patterns": ["How can I do a shallow clone in git?", "Best way to shallow clone?", "Git shallow clone resources?"],
"responses": ["Use 'git clone --depth 1 <repo>' to clone only the latest commit."]
},
{
"tag": "ask_learn_git_force_push",
"patterns": ["How can I force push in git?", "Best way to force push?", "Git force push resources?"],
"responses": ["Use 'git push --force' to overwrite the remote branch with your local branch."]
},
{
"tag": "ask_learn_git_force_pull",
"patterns": ["How can I force pull in git?", "Best way to force pull?", "Git force pull resources?"],
"responses": ["Use 'git fetch' and 'git reset --hard origin/<branch>' to forcefully update your local branch."]
},
{
"tag": "ask_learn_git_ignore_already_tracked",
"patterns": ["How can I ignore already tracked files in git?", "Stop tracking file in git?", "Git ignore tracked file resources?"],
"responses": ["Use 'git rm --cached <file>' to stop tracking a file and add it to .gitignore."]
},
{
"tag": "ask_learn_git_track_file_history",
"patterns": ["How can I track file history in git?", "File history in git?", "Git log file history resources?"],
"responses": ["Use 'git log --follow <file>' to see the history of a file, including renames."]
},
{
"tag": "ask_learn_git_find_large_files",
"patterns": ["How can I find large files in git?", "Large files in git repo?", "Git find large files resources?"],
"responses": ["Use 'git rev-list --objects --all | sort -k 2' and 'git cat-file -s <hash>' to find large files."]
},
{
"tag": "ask_learn_git_exclude_file",
"patterns": ["How can I exclude files from git?", "Exclude file in git?", "Git exclude resources?"],
"responses": ["Use .gitignore or .git/info/exclude to exclude files from being tracked."]
},
{
"tag": "ask_learn_git_undo_last_commit",
"patterns": ["How can I undo last commit in git?", "Undo last commit in git?", "Git undo commit resources?"],
"responses": ["Use 'git reset --soft HEAD~1' to undo the last commit but keep changes staged."]
},
{
"tag": "ask_learn_git_undo_pushed_commit",
"patterns": ["How can I undo a pushed commit in git?", "Undo pushed commit in git?", "Git undo pushed commit resources?"],
"responses": ["Use 'git revert <commit>' to undo a pushed commit safely."]
},
{
"tag": "ask_learn_git_list_untracked_files",
"patterns": ["How can I list untracked files in git?", "Untracked files in git?", "Git list untracked files resources?"],
"responses": ["Use 'git ls-files --others --exclude-standard' to list untracked files."]
},
{
"tag": "ask_learn_git_list_modified_files",
"patterns": ["How can I list modified files in git?", "Modified files in git?", "Git list modified files resources?"],
"responses": ["Use 'git status' or 'git diff --name-only' to list modified files."]
},
{
"tag": "ask_learn_git_list_staged_files",
"patterns": ["How can I list staged files in git?", "Staged files in git?", "Git list staged files resources?"],
"responses": ["Use 'git diff --cached --name-only' to list staged files."]
},
{
"tag": "ask_learn_git_list_ignored_files",
"patterns": ["How can I list ignored files in git?", "Ignored files in git?", "Git list ignored files resources?"],
"responses": ["Use 'git status --ignored' to list ignored files."]
},
{
"tag": "ask_learn_git_config_editor",
"patterns": ["How can I set default editor in git?", "Set git editor?", "Git config editor resources?"],
"responses": ["Use 'git config --global core.editor \"editor\"' to set your preferred editor."]
},
{
"tag": "ask_learn_git_config_merge_tool",
"patterns": ["How can I set merge tool in git?", "Set merge tool in git?", "Git config merge tool resources?"],
"responses": ["Use 'git config --global merge.tool <tool>' to set your preferred merge tool."]
},
{
"tag": "ask_learn_git_config_diff_tool",
"patterns": ["How can I set diff tool in git?", "Set diff tool in git?", "Git config diff tool resources?"],
"responses": ["Use 'git config --global diff.tool <tool>' to set your preferred diff tool."]
},
{
"tag": "ask_learn_git_config_autocrlf",
"patterns": ["How can I handle line endings in git?", "autocrlf in git?", "Git config autocrlf resources?"],
"responses": ["Use 'git config --global core.autocrlf true' on Windows to handle line endings."]
},
{
"tag": "ask_learn_git_config_safe_directory",
"patterns": ["How can I mark directory as safe in git?", "safe.directory in git?", "Git config safe directory resources?"],
"responses": ["Use 'git config --global --add safe.directory <path>' to mark a directory as safe."]
},
{
"tag": "ask_learn_git_config_pull_rebase",
"patterns": ["How can I set pull to rebase by default in git?", "git config pull.rebase?", "Default rebase on pull in git?"],
"responses": ["Use 'git config --global pull.rebase true' to make 'git pull' use rebase by default."]
},
{
"tag": "ask_learn_git_config_push_default",
"patterns": ["How can I set default push behavior in git?", "push.default in git?", "Git config push default resources?"],
"responses": ["Use 'git config --global push.default simple' for the recommended push behavior."]
},
{
"tag": "ask_learn_git_config_alias",
"patterns": ["How can I create a git alias in config?", "Alias in git config?", "Git config alias resources?"],
"responses": ["Use 'git config --global alias.<alias> <command>' to create a shortcut for a git command."]
},
{
"tag": "ask_learn_git_config_color_ui",
"patterns": ["How can I enable color in git output?", "Color output in git?", "Git config color.ui resources?"],
"responses": ["Use 'git config --global color.ui auto' to enable colored output."]
},
{
"tag": "ask_learn_git_config_pager",
"patterns": ["How can I set pager in git?", "Pager in git?", "Git config core.pager resources?"],
"responses": ["Use 'git config --global core.pager \"less\"' to set the pager for git output."]
},
{
"tag": "ask_learn_git_config_credential_store",
"patterns": ["How can I store credentials permanently in git?", "git-credential-store?", "Git config credential.helper store resources?"],
"responses": ["Use 'git config --global credential.helper store' to store credentials permanently."]
},
{
"tag": "ask_learn_git_config_credential_cache",
"patterns": ["How can I cache credentials in git?", "git-credential-cache?", "Git config credential.helper cache resources?"],
"responses": ["Use 'git config --global credential.helper cache' to cache credentials temporarily."]
},
{
"tag": "ask_learn_git_config_user",
"patterns": ["How can I set user in git?", "Set username in git?", "Git config user.name resources?"],
"responses": ["Use 'git config --global user.name \"Your Name\"' and 'git config --global user.email \"you@example.com\"'."]
},
{
"tag": "ask_learn_git_config_init_default_branch",
"patterns": ["How can I set default branch name in git?", "Default branch in git?", "Git config init.defaultBranch resources?"],
"responses": ["Use 'git config --global init.defaultBranch main' to set the default branch name."]
},
{
"tag": "ask_learn_git_config_rebase_autosquash",
"patterns": ["How can I enable autosquash in git rebase?", "Autosquash in git?", "Git config rebase.autosquash resources?"],
"responses": ["Use 'git config --global rebase.autosquash true' to enable autosquash during interactive rebase."]
},
{
"tag": "ask_learn_git_config_fetch_prune",
"patterns": ["How can I prune on fetch by default in git?", "Prune on fetch in git?", "Git config fetch.prune resources?"],
"responses": ["Use 'git config --global fetch.prune true' to prune deleted branches on fetch."]
},
{
"tag": "ask_learn_git_config_merge_ff_only",
"patterns": ["How can I allow only fast-forward merges in git?", "Fast-forward only merge in git?", "Git config merge.ff only resources?"],
"responses": ["Use 'git config --global merge.ff only' to allow only fast-forward merges."]
},
{
"tag": "ask_learn_git_config_commit_template",
"patterns": ["How can I set commit message template in git?", "Commit template in git?", "Git config commit.template resources?"],
"responses": ["Use 'git config --global commit.template <file>' to set a commit message template."]
},
{
"tag": "ask_learn_git_config_log_date",
"patterns": ["How can I set date format in git log?", "Date format in git log?", "Git config log.date resources?"],
"responses": ["Use 'git config --global log.date iso' to set the date format in git log."]
},
{
"tag": "ask_learn_git_config_diff_renames",
"patterns": ["How can I detect renames in git diff?", "Detect renames in git?", "Git config diff.renames resources?"],
"responses": ["Use 'git config --global diff.renames true' to detect renames in diffs."]
},
{
"tag": "ask_learn_git_config_autostash",
"patterns": ["How can I enable autostash in git rebase?", "Autostash in git?", "Git config rebase.autostash resources?"],
"responses": ["Use 'git config --global rebase.autostash true' to enable autostash during rebase."]
},
{
"tag": "ask_learn_git_config_pull_ff_only",
"patterns": ["How can I allow only fast-forward pulls in git?", "Fast-forward only pull in git?", "Git config pull.ff only resources?"],
"responses": ["Use 'git config --global pull.ff only' to allow only fast-forward pulls."]
},
{
"tag": "ask_learn_git_config_push_auto_setup_remote",
"patterns": ["How can I auto-setup remote on push in git?", "Auto setup remote in git?", "Git config push.autoSetupRemote resources?"],
"responses": ["Use 'git config --global push.autoSetupRemote true' to auto-setup remote tracking on push."]
},
{
"tag": "car_buy",
"patterns": ["I want to buy a car", "How to buy a car?", "Car buying tips"],
"responses": ["To buy a car, research models, compare prices, and visit dealerships or online marketplaces."]
},
{
"tag": "car_sell",
"patterns": ["How to sell my car?", "Sell car tips", "Best way to sell a car"],
"responses": ["You can sell your car through dealerships, online platforms, or private sales. Prepare documents and set a fair price."]
},
{
"tag": "car_maintenance",
"patterns": ["How to maintain my car?", "Car maintenance tips", "Car care advice"],
"responses": ["Regularly check oil, brakes, tires, and follow the manufacturer's maintenance schedule."]
},
{
"tag": "car_insurance",
"patterns": ["How to get car insurance?", "Car insurance tips", "Best car insurance"],
"responses": ["Compare insurance providers, coverage options, and get quotes to find the best car insurance for your needs."]
},
{
"tag": "car_registration",
"patterns": ["How to register my car?", "Car registration process", "Register a new car"],
"responses": ["Visit your local DMV or transport office with required documents to register your car."]
},
{
"tag": "car_license_plate",
"patterns": ["How to get a license plate?", "License plate process", "Car number plate"],
"responses": ["Apply for a license plate at your local DMV or transport authority after registering your car."]
},
{
"tag": "car_loan",
"patterns": ["How to get a car loan?", "Car loan process", "Finance a car"],
"responses": ["Check with banks or dealerships for car loan options, compare interest rates, and apply with required documents."]
},
{
"tag": "car_leasing",
"patterns": ["What is car leasing?", "Lease a car", "Car leasing vs buying"],
"responses": ["Car leasing is renting a car for a fixed period. It's different from buying as you don't own the car at the end."]
},
{
"tag": "car_rental",
"patterns": ["How to rent a car?", "Car rental process", "Best car rental companies"],
"responses": ["You can rent a car from rental agencies. Provide your license, choose a car, and sign a rental agreement."]
},
{
"tag": "car_types",
"patterns": ["What are the types of cars?", "Car body types", "Sedan vs SUV"],
"responses": ["Common car types include sedan, SUV, hatchback, coupe, convertible, and truck."]
},
{
"tag": "car_fuel_types",
"patterns": ["Car fuel types", "Petrol vs diesel", "Electric cars"],
"responses": ["Cars can run on petrol, diesel, electricity, hybrid, or alternative fuels like CNG and LPG."]
},
{
"tag": "car_electric",
"patterns": ["What is an electric car?", "Electric car benefits", "Should I buy an electric car?"],
"responses": ["Electric cars use batteries and electric motors. They are eco-friendly and have lower running costs."]
},
{
"tag": "car_hybrid",
"patterns": ["What is a hybrid car?", "Hybrid car benefits", "Hybrid vs electric car"],
"responses": ["Hybrid cars use both a gasoline engine and an electric motor for better fuel efficiency."]
},
{
"tag": "car_brands",
"patterns": ["Popular car brands", "Best car brands", "Car manufacturers"],
"responses": ["Popular car brands include Toyota, Honda, Ford, BMW, Mercedes-Benz, and Tesla."]
},
{
"tag": "car_models",
"patterns": ["Popular car models", "Best car models", "Car model recommendations"],
"responses": ["Popular models include Toyota Corolla, Honda Civic, Ford F-150, and Tesla Model 3."]
},
{
"tag": "car_features",
"patterns": ["Car features to look for", "Best car features", "Car safety features"],
"responses": ["Look for features like airbags, ABS, backup camera, Bluetooth, and advanced driver assistance systems."]
},
{
"tag": "car_safety",
"patterns": ["Car safety tips", "How to stay safe in a car?", "Car accident prevention"],
"responses": ["Always wear seat belts, follow traffic rules, and avoid distractions while driving."]
},
{
"tag": "car_accident",
"patterns": ["What to do after a car accident?", "Car accident steps", "Car crash advice"],
"responses": ["Check for injuries, call emergency services, exchange information, and document the scene."]
},
{
"tag": "car_repair",
"patterns": ["How to repair my car?", "Car repair tips", "Find a car mechanic"],
"responses": ["For repairs, visit a certified mechanic or authorized service center for your car brand."]
},
{
"tag": "car_parts",
"patterns": ["Car parts names", "Common car parts", "Replace car parts"],
"responses": ["Common car parts include engine, transmission, brakes, tires, battery, and suspension."]
},
{
"tag": "car_battery",
"patterns": ["How to change car battery?", "Car battery tips", "Car won't start battery"],
"responses": ["To change a car battery, disconnect the terminals, remove the old battery, and install a new one."]
},
{
"tag": "car_tires",
"patterns": ["How to change a tire?", "Best car tires", "Tire maintenance tips"],
"responses": ["To change a tire, use a jack to lift the car, remove the lug nuts, replace the tire, and tighten the nuts."]
},
{
"tag": "car_brakes",
"patterns": ["Car brake problems", "How to check car brakes?", "Brake maintenance"],
"responses": ["If you notice squeaking or reduced braking, have your brakes inspected and serviced by a professional."]
},
{
"tag": "car_oil_change",
"patterns": ["How to change car oil?", "Car oil change interval", "Best oil for my car"],
"responses": ["Change your car's oil as per the manufacturer's schedule, usually every 5,000 to 10,000 km."]
},
{
"tag": "car_air_conditioning",
"patterns": ["Car AC not working", "How to fix car air conditioning?", "Car AC maintenance"],
"responses": ["If your car AC isn't working, check the refrigerant level or visit a service center for inspection."]
},
{
"tag": "car_warranty",
"patterns": ["What is a car warranty?", "Car warranty coverage", "Should I get extended warranty?"],
"responses": ["A car warranty covers repairs for a certain period. Extended warranties offer additional coverage."]
},
{
"tag": "car_recall",
"patterns": ["Car recall check", "Is my car recalled?", "What to do if my car is recalled?"],
"responses": ["Check with your manufacturer or government recall database. If recalled, schedule a repair with your dealer."]
},
{
"tag": "car_mileage",
"patterns": ["What is good car mileage?", "Car fuel efficiency", "How to improve car mileage?"],
"responses": ["Good mileage depends on the car type. Maintain your car and drive smoothly to improve fuel efficiency."]
},
{
"tag": "car_resale_value",
"patterns": ["Car resale value tips", "How to increase car resale value?", "Best cars for resale"],
"responses": ["Keep your car well-maintained, service regularly, and keep records to improve resale value."]
},
{
"tag": "car_tax",
"patterns": ["Car tax information", "How to pay car tax?", "Car road tax"],
"responses": ["Car tax is paid annually or as required by your local authority. Check with your DMV or transport office."]
},
{
"tag": "car_emissions",
"patterns": ["Car emissions test", "How to reduce car emissions?", "Emission standards"],
"responses": ["Maintain your car, use clean fuel, and follow emission standards to reduce pollution."]
},
{
"tag": "car_gps",
"patterns": ["Car GPS installation", "Best car GPS", "How does car GPS work?"],
"responses": ["Car GPS helps with navigation. You can install aftermarket GPS units or use smartphone apps."]
},
{
"tag": "car_alarm",
"patterns": ["Car alarm installation", "Best car alarm", "How to disable car alarm?"],
"responses": ["Car alarms deter theft. Install a reliable system and consult your manual to disable if needed."]
},
{
"tag": "car_remote_start",
"patterns": ["What is car remote start?", "Remote start installation", "Benefits of remote start"],
"responses": ["Remote start lets you start your car remotely for convenience, especially in extreme weather."]
},
{
"tag": "car_dashcam",
"patterns": ["Best car dashcam", "How to install a dashcam?", "Dashcam benefits"],
"responses": ["Dashcams record your driving and can provide evidence in case of accidents."]
},
{
"tag": "car_modification",
"patterns": ["Car modification tips", "Is car modification legal?", "Best car mods"],
"responses": ["Check local laws before modifying your car. Popular mods include wheels, exhaust, and audio systems."]
},
{
"tag": "car_audio",
"patterns": ["Upgrade car audio", "Best car speakers", "Car audio installation"],
"responses": ["Upgrade your car audio with better speakers, amplifiers, and head units for improved sound."]
},
{
"tag": "car_headlights",
"patterns": ["How to change car headlights?", "Best car headlights", "Headlight upgrade"],
"responses": ["You can upgrade to LED or HID headlights for better visibility. Follow your car's manual for replacement."]
},
{
"tag": "car_tinting",
"patterns": ["Car window tinting", "Is window tint legal?", "Benefits of car tint"],
"responses": ["Window tinting reduces heat and glare. Check local regulations for legal tint levels."]
},
{
"tag": "car_cleaning",
"patterns": ["How to clean my car?", "Car cleaning tips", "Best car cleaning products"],
"responses": ["Wash your car regularly, vacuum the interior, and use appropriate cleaning products for best results."]
},
{
"tag": "car_polishing",
"patterns": ["How to polish my car?", "Car polishing tips", "Best car polish"],
"responses": ["Polish your car to restore shine and protect paint. Use a quality polish and soft cloth."]
},
{
"tag": "car_waxing",
"patterns": ["How to wax my car?", "Car waxing tips", "Best car wax"],
"responses": ["Waxing protects your car's paint. Apply wax after washing and buff with a clean cloth."]
},
{
"tag": "car_rust_prevention",
"patterns": ["How to prevent car rust?", "Car rust treatment", "Rustproofing my car"],
"responses": ["Keep your car clean, repair paint chips, and consider rustproofing treatments to prevent rust."]
},
{
"tag": "car_storage",
"patterns": ["How to store my car?", "Car storage tips", "Long-term car storage"],
"responses": ["Store your car in a dry, covered place. Disconnect the battery and inflate tires to prevent damage."]
},
{
"tag": "car_shipping",
"patterns": ["How to ship my car?", "Car shipping companies", "Car transport tips"],
"responses": ["Use a reputable car shipping company. Prepare your car and check insurance before shipping."]
},
{
"tag": "car_import",
"patterns": ["How to import a car?", "Car import process", "Import car regulations"],
"responses": ["Check import regulations, taxes, and required documents before importing a car."]
},
{
"tag": "car_export",
"patterns": ["How to export a car?", "Car export process", "Export car requirements"],
"responses": ["Contact export authorities, prepare documents, and arrange shipping for car export."]
},
{
"tag": "car_auction",
"patterns": ["How to buy a car at auction?", "Car auction tips", "Are car auctions safe?"],
"responses": ["Car auctions can offer good deals. Inspect cars carefully and understand auction rules before bidding."]
},
{
"tag": "car_financing",
"patterns": ["Car financing options", "How to finance a car?", "Car loan vs lease"],
"responses": ["Compare financing options like loans and leases to find the best fit for your budget."]
},
{
"tag": "car_down_payment",
"patterns": ["Car down payment amount", "How much down payment for a car?", "Minimum car down payment"],
"responses": ["A typical car down payment is 10-20% of the car's price, but it varies by lender."]
},
{
"tag": "car_interest_rate",
"patterns": ["Car loan interest rates", "Best car loan rates", "How to get low interest on car loan?"],
"responses": ["Shop around and maintain a good credit score to get the best car loan interest rates."]
},
{
"tag": "car_trade_in",
"patterns": ["How to trade in my car?", "Car trade-in value", "Trade-in process"],
"responses": ["Get your car appraised, negotiate the trade-in value, and apply it toward your new car purchase."]
},
{
"tag": "car_depreciation",
"patterns": ["Car depreciation rate", "Which cars depreciate fastest?", "How to avoid car depreciation?"],
"responses": ["Cars lose value over time. Choose brands with high resale value and maintain your car to slow depreciation."]
},
{
"tag": "car_test_drive",
"patterns": ["How to test drive a car?", "Test drive tips", "What to check during test drive?"],
"responses": ["Test drive different models, check comfort, handling, and features before buying."]
},
{
"tag": "car_warranty_transfer",
"patterns": ["Can I transfer my car warranty?", "Car warranty transfer process", "Transfer warranty to new owner"],
"responses": ["Some warranties are transferable. Check with your manufacturer or dealer for details."]
},
{
"tag": "car_service_schedule",
"patterns": ["Car service schedule", "When to service my car?", "Car maintenance intervals"],
"responses": ["Follow your car's manual for recommended service intervals, usually every 6 months or 10,000 km."]
},
{
"tag": "car_manual",
"patterns": ["Where to find my car manual?", "Car owner's manual", "Download car manual"],
"responses": ["You can find your car's manual in the glovebox or download it from the manufacturer's website."]
},
{
"tag": "car_recall_check",
"patterns": ["How to check for car recalls?", "Car recall lookup", "Is my car recalled?"],
"responses": ["Visit your manufacturer's website or government recall database to check for recalls."]
},
{
"tag": "car_fuel_economy",
"patterns": ["How to improve car fuel economy?", "Car fuel efficiency tips", "Best fuel economy cars"],
"responses": ["Drive smoothly, maintain tire pressure, and avoid excess weight to improve fuel economy."]
},
{
"tag": "car_engine_types",
"patterns": ["Car engine types", "V6 vs V8", "Turbocharged engine"],
"responses": ["Common engine types include inline, V6, V8, turbocharged, and electric motors."]
},
{
"tag": "car_transmission_types",
"patterns": ["Manual vs automatic transmission", "CVT transmission", "Best car transmission"],
"responses": ["Transmissions include manual, automatic, CVT, and dual-clutch. Choose based on your preference."]
},
{
"tag": "car_all_wheel_drive",
"patterns": ["What is all-wheel drive?", "AWD vs FWD", "Is AWD better?"],
"responses": ["All-wheel drive (AWD) provides power to all wheels for better traction, especially in bad weather."]
},
{
"tag": "car_four_wheel_drive",
"patterns": ["What is four-wheel drive?", "4WD vs AWD", "When to use 4WD?"],
"responses": ["Four-wheel drive (4WD) is useful for off-road and tough conditions, providing power to all wheels."]
},
{
"tag": "car_front_wheel_drive",
"patterns": ["What is front-wheel drive?", "FWD advantages", "Is FWD good?"],
"responses": ["Front-wheel drive (FWD) is common in cars, offering good fuel economy and handling."]
},
{
"tag": "car_rear_wheel_drive",
"patterns": ["What is rear-wheel drive?", "RWD advantages", "Is RWD good?"],
"responses": ["Rear-wheel drive (RWD) is common in sports and luxury cars, offering better performance."]
},
{
"tag": "car_suv",
"patterns": ["What is an SUV?", "SUV vs sedan", "Best SUVs"],
"responses": ["SUVs are larger vehicles with higher ground clearance, suitable for families and rough roads."]
},
{
"tag": "car_sedan",
"patterns": ["What is a sedan?", "Sedan vs hatchback", "Best sedans"],
"responses": ["Sedans are traditional cars with separate trunks, offering comfort and good fuel economy."]
},
{
"tag": "car_hatchback",
"patterns": ["What is a hatchback?", "Hatchback vs sedan", "Best hatchbacks"],
"responses": ["Hatchbacks have a rear door that swings upward, offering more cargo space in a compact size."]
},
{
"tag": "car_coupe",
"patterns": ["What is a coupe?", "Coupe vs sedan", "Best coupes"],
"responses": ["Coupes are two-door cars with a sporty design, often offering better performance."]
},
{
"tag": "car_convertible",
"patterns": ["What is a convertible?", "Convertible car benefits", "Best convertibles"],
"responses": ["Convertibles have a retractable roof, allowing open-air driving."]
},
{
"tag": "car_truck",
"patterns": ["What is a pickup truck?", "Truck vs SUV", "Best trucks"],
"responses": ["Pickup trucks are vehicles with open cargo beds, suitable for hauling and towing."]
},
{
"tag": "car_minivan",
"patterns": ["What is a minivan?", "Minivan vs SUV", "Best minivans"],
"responses": ["Minivans are spacious vehicles designed for families, offering sliding doors and ample seating."]
},
{
"tag": "car_crossover",
"patterns": ["What is a crossover?", "Crossover vs SUV", "Best crossovers"],
"responses": ["Crossovers combine features of cars and SUVs, offering comfort and higher seating."]
},
{
"tag": "car_luxury",
"patterns": ["What is a luxury car?", "Best luxury cars", "Luxury car brands"],
"responses": ["Luxury cars offer premium features, comfort, and advanced technology from brands like Mercedes and BMW."]
},
{
"tag": "car_sports",
"patterns": ["What is a sports car?", "Best sports cars", "Sports car brands"],
"responses": ["Sports cars are designed for performance and speed, often with powerful engines and sleek designs."]
},
{
"tag": "car_offroad",
"patterns": ["Best off-road cars", "Off-road vehicle tips", "What is an off-road car?"],
"responses": ["Off-road vehicles have higher ground clearance and rugged features for rough terrain."]
},
{
"tag": "car_family",
"patterns": ["Best family cars", "Family car recommendations", "Safe family cars"],
"responses": ["Family cars offer space, safety, and comfort. Consider SUVs, minivans, or large sedans."]
},
{
"tag": "car_city",
"patterns": ["Best city cars", "Small cars for city", "City driving tips"],
"responses": ["City cars are compact, fuel-efficient, and easy to park. Look for hatchbacks or small sedans."]
},
{
"tag": "car_long_drive",
"patterns": ["Best cars for long drives", "Long distance driving tips", "Comfortable cars for road trips"],
"responses": ["For long drives, choose cars with comfortable seats, good fuel economy, and cruise control."]
},
{
"tag": "car_racing",
"patterns": ["Car racing tips", "Best cars for racing", "How to start car racing?"],
"responses": ["Car racing requires specialized vehicles and safety gear. Join a local racing club to get started."]
},
{
"tag": "car_track_day",
"patterns": ["What is a car track day?", "Track day tips", "How to prepare for track day?"],
"responses": ["Track days let you drive your car on a race track. Check your car's condition and follow safety rules."]
},
{
"tag": "car_club",
"patterns": ["Car clubs near me", "Join a car club", "Benefits of car clubs"],
"responses": ["Car clubs offer community, events, and resources for car enthusiasts. Search online for local clubs."]
},
{
"tag": "car_show",
"patterns": ["Car shows near me", "Attend a car show", "Car show tips"],
"responses": ["Car shows display new and classic cars. Check local event listings for upcoming shows."]
},
{
"tag": "car_event",
"patterns": ["Upcoming car events", "Car event calendar", "Car meetups"],
"responses": ["Car events include shows, races, and meetups. Search online or join car clubs for event info."]
},
{
"tag": "car_history",
"patterns": ["Car history report", "Check car history", "Car VIN check"],
"responses": ["Use the car's VIN to get a history report from services like Carfax or AutoCheck."]
},
{
"tag": "car_vin",
"patterns": ["What is a car VIN?", "Where to find car VIN?", "VIN lookup"],
"responses": ["A car's VIN is a unique identifier, usually found on the dashboard or driver's door frame."]
},
{
"tag": "car_title",
"patterns": ["What is a car title?", "Car title transfer", "Lost car title"],
"responses": ["A car title proves ownership. Contact your DMV for title transfer or replacement."]
},
{
"tag": "car_registration_renewal",
"patterns": ["How to renew car registration?", "Car registration renewal process", "Renew car license"],
"responses": ["Renew your car registration at your DMV or online with required documents and payment."]
},
{
"tag": "car_emergency_kit",
"patterns": ["Car emergency kit items", "What to keep in car emergency kit?", "Best car emergency kits"],
"responses": ["Include jumper cables, flashlight, first aid kit, water, and basic tools in your car emergency kit."]
},
{
"tag": "car_first_aid",
"patterns": ["Car first aid kit", "First aid for car accidents", "What to do in car emergency?"],
"responses": ["Keep a first aid kit in your car and know basic first aid procedures for emergencies."]
},
{
"tag": "car_child_seat",
"patterns": ["Best car child seats", "Child seat installation", "Car seat safety for kids"],
"responses": ["Use age-appropriate child seats and install them according to manufacturer instructions."]
},
{
"tag": "car_pet_travel",
"patterns": ["How to travel with pets in car?", "Car pet safety", "Best pet carriers for car"],
"responses": ["Use pet carriers or seat belts for pets and never leave them unattended in the car."]
},
{
"tag": "car_fuel_types_alternative",
"patterns": ["Alternative car fuels", "CNG cars", "LPG vs petrol"],
"responses": ["Alternative fuels include CNG, LPG, ethanol, and hydrogen. They can reduce emissions and running costs."]
},
{
"tag": "car_towing",
"patterns": ["How to tow a car?", "Car towing tips", "Best tow vehicles"],
"responses": ["Use proper towing equipment and follow safety guidelines. Some vehicles are better suited for towing."]
},
{
"tag": "car_flat_tire",
"patterns": ["What to do with a flat tire?", "Fix flat tire", "Car tire puncture"],
"responses": ["Pull over safely, use a spare tire or repair kit, or call roadside assistance for help."]
},
{
"tag": "car_jump_start",
"patterns": ["How to jump start a car?", "Car won't start battery", "Jump start instructions"],
"responses": ["Use jumper cables to connect to another car's battery. Follow safety steps to avoid damage."]
},
{
"tag": "car_overheating",
"patterns": ["Car overheating causes", "What to do if car overheats?", "Prevent car overheating"],
"responses": ["If your car overheats, stop safely, let it cool, and check coolant levels. Seek professional help if needed."]
},
{
"tag": "car_check_engine_light",
"patterns": ["Check engine light on", "Why is my check engine light on?", "Reset check engine light"],
"responses": ["A check engine light indicates a problem. Use an OBD-II scanner or visit a mechanic for diagnosis."]
},
{
"tag": "car_oil_leak",
"patterns": ["Car oil leak causes", "How to fix oil leak?", "Oil spots under car"],
"responses": ["Oil leaks can be caused by worn gaskets or seals. Have a mechanic inspect and repair the leak."]
},
{
"tag": "car_windshield",
"patterns": ["How to fix cracked windshield?", "Windshield replacement", "Windshield repair tips"],
"responses": ["Small cracks can be repaired, but large damage may require windshield replacement."]
},
{
"tag": "car_wipers",
"patterns": ["How to change car wipers?", "Best car wiper blades", "Wiper maintenance"],
"responses": ["Replace wiper blades regularly for clear visibility. Follow your car's manual for instructions."]
},
{
"tag": "car_lights",
"patterns": ["Car lights not working", "How to change car bulbs?", "Best car headlights"],
"responses": ["Check fuses and bulbs if your car lights aren't working. Replace with compatible bulbs."]
},
{
"tag": "car_fuses",
"patterns": ["Car fuse box location", "How to change car fuse?", "Car electrical problems"],
"responses": ["Refer to your car's manual for fuse box location and replacement instructions."]
},
{
"tag": "car_air_filter",
"patterns": ["How to change car air filter?", "Car air filter replacement", "Best air filters"],
"responses": ["Replace your car's air filter regularly to maintain engine performance and fuel economy."]
},
{
"tag": "car_cabin_filter",
"patterns": ["Car cabin filter replacement", "How to change cabin filter?", "Best cabin air filters"],
"responses": ["Change the cabin air filter to improve air quality inside your car."]
},
{
"tag": "car_spark_plugs",
"patterns": ["How to change spark plugs?", "Spark plug replacement interval", "Best spark plugs"],
"responses": ["Replace spark plugs as per your car's maintenance schedule for smooth engine operation."]
},
{
"tag": "car_timing_belt",
"patterns": ["Timing belt replacement", "When to change timing belt?", "Timing belt vs chain"],
"responses": ["Replace the timing belt at recommended intervals to avoid engine damage."]
},
{
"tag": "car_transmission_fluid",
"patterns": ["How to check transmission fluid?", "Transmission fluid change", "Best transmission fluid"],
"responses": ["Check and change transmission fluid as per your car's manual for smooth shifting."]
},
{
"tag": "car_power_steering",
"patterns": ["Power steering problems", "How to check power steering fluid?", "Power steering maintenance"],
"responses": ["Low fluid or leaks can cause steering issues. Check fluid levels and inspect for leaks."]
},
{
"tag": "car_alignment",
"patterns": ["Car alignment check", "Signs of bad alignment", "Wheel alignment tips"],
"responses": ["Misalignment causes uneven tire wear. Get your alignment checked if your car pulls to one side."]
},
{
"tag": "car_balancing",
"patterns": ["Wheel balancing tips", "Why balance car wheels?", "Car vibration at speed"],
"responses": ["Wheel balancing prevents vibrations and uneven tire wear. Have it checked during tire changes."]
},
{
"tag": "car_suspension",
"patterns": ["Car suspension problems", "How to check suspension?", "Best suspension upgrades"],
"responses": ["Suspension issues cause poor handling. Inspect shocks and struts for wear."]
},
{
"tag": "car_exhaust",
"patterns": ["Car exhaust problems", "How to fix exhaust leak?", "Best exhaust systems"],
"responses": ["A noisy or leaking exhaust should be inspected and repaired by a professional."]
},
{
"tag": "car_catalytic_converter",
"patterns": ["Catalytic converter theft", "Catalytic converter problems", "How to protect catalytic converter?"],
"responses": ["Install anti-theft devices and park in secure areas to protect your catalytic converter."]
},
{
"tag": "car_emissions_test",
"patterns": ["How to pass emissions test?", "Car emissions test tips", "Failed emissions test"],
"responses": ["Maintain your car and fix any check engine lights before an emissions test."]
},
{
"tag": "car_registration_documents",
"patterns": ["Car registration documents", "What documents needed for car registration?", "Car paperwork"],
"responses": ["You'll need proof of ownership, insurance, and ID for car registration."]
},
{
"tag": "car_roadside_assistance",
"patterns": ["Best roadside assistance", "How to get roadside help?", "Car breakdown help"],
"responses": ["Many insurance companies and automakers offer roadside assistance plans."]
},
{
"tag": "car_gps_tracking",
"patterns": ["Car GPS tracker", "Install GPS tracker in car", "Benefits of car tracking"],
"responses": ["GPS trackers help locate your car if stolen and monitor driving habits."]
},
{
"tag": "car_anti_theft",
"patterns": ["Car anti-theft devices", "How to prevent car theft?", "Best car security systems"],
"responses": ["Use alarms, steering locks, and GPS trackers to protect your car from theft."]
},
{
"tag": "car_keyless_entry",
"patterns": ["What is keyless entry?", "Keyless entry problems", "Keyless car security"],
"responses": ["Keyless entry allows you to unlock your car without a key. Keep your key fob secure to prevent theft."]
},
{
"tag": "car_remote_key",
"patterns": ["Car remote key not working", "How to replace car remote battery?", "Car key programming"],
"responses": ["Replace the remote battery or reprogram the key if it's not working."]
},
{
"tag": "car_sunroof",
"patterns": ["Car sunroof problems", "How to fix sunroof?", "Benefits of sunroof"],
"responses": ["Sunroofs add ventilation and light. If stuck, check the fuse or visit a service center."]
},
{
"tag": "car_heated_seats",
"patterns": ["What are heated seats?", "Heated seat installation", "Heated seat problems"],
"responses": ["Heated seats provide comfort in cold weather. If not working, check wiring or fuses."]
},
{
"tag": "car_parking_sensors",
"patterns": ["Car parking sensors", "How to install parking sensors?", "Parking sensor problems"],
"responses": ["Parking sensors help avoid obstacles. Install aftermarket sensors or use factory options."]
},
{
"tag": "car_rear_camera",
"patterns": ["Car rear camera installation", "Backup camera benefits", "Rear camera not working"],
"responses": ["Rear cameras improve safety when reversing. Check wiring if not working."]
},
{
"tag": "car_bluetooth",
"patterns": ["Car Bluetooth setup", "Bluetooth not working in car", "How to pair phone with car"],
"responses": ["Pair your phone via the car's infotainment system. Check manual for instructions."]
},
{
"tag": "car_navigation",
"patterns": ["Car navigation system", "Best car navigation apps", "Update car navigation"],
"responses": ["Use built-in navigation or smartphone apps like Google Maps for directions."]
},
{
"tag": "car_infotainment",
"patterns": ["Car infotainment system", "Infotainment not working", "Best car infotainment"],
"responses": ["Infotainment systems control audio, navigation, and connectivity. Update software if issues arise."]
},
{
"tag": "car_apple_carplay",
"patterns": ["What is Apple CarPlay?", "Apple CarPlay setup", "CarPlay not working"],
"responses": ["Apple CarPlay integrates your iPhone with your car's infotainment system for calls, music, and navigation."]
},
{
"tag": "car_android_auto",
"patterns": ["What is Android Auto?", "Android Auto setup", "Android Auto not working"],
"responses": ["Android Auto connects your Android phone to your car for hands-free use and navigation."]
},
{
"tag": "car_wifi",
"patterns": ["Car WiFi hotspot", "How to get WiFi in car?", "Best car WiFi devices"],
"responses": ["Some cars offer built-in WiFi. You can also use mobile hotspots for internet access."]
},
{
"tag": "car_child_lock",
"patterns": ["What is car child lock?", "How to use child lock?", "Child lock safety"],
"responses": ["Child locks prevent rear doors from being opened from inside. Activate using the switch on the door."]
},
{
"tag": "car_blind_spot_monitor",
"patterns": ["What is blind spot monitor?", "Blind spot detection", "Blind spot warning system"],
"responses": ["Blind spot monitors alert you to vehicles in your blind spots for safer lane changes."]
},
{
"tag": "car_lane_assist",
"patterns": ["What is lane assist?", "Lane keeping assist", "Lane departure warning"],
"responses": ["Lane assist helps keep your car in its lane and warns if you drift unintentionally."]
},
{
"tag": "car_adaptive_cruise",
"patterns": ["What is adaptive cruise control?", "Adaptive cruise benefits", "How does adaptive cruise work?"],
"responses": ["Adaptive cruise control maintains a set speed and distance from the car ahead automatically."]
},
{
"tag": "car_emergency_brake",
"patterns": ["What is emergency braking?", "Automatic emergency braking", "Emergency brake assist"],
"responses": ["Automatic emergency braking helps prevent collisions by applying brakes if a crash is imminent."]
},
{
"tag": "car_tire_pressure_monitor",
"patterns": ["What is tire pressure monitoring?", "TPMS warning light", "Check tire pressure"],
"responses": ["TPMS alerts you if tire pressure is low. Check and inflate tires as needed."]
},
{
"tag": "car_remote_unlock",
"patterns": ["How to unlock car remotely?", "Remote unlock not working", "Car unlock app"],
"responses": ["Some cars offer remote unlock via key fob or smartphone app. Check your car's features."]
},
{
"tag": "car_immobilizer",
"patterns": ["What is a car immobilizer?", "Immobilizer problems", "Car won't start immobilizer"],
"responses": ["An immobilizer prevents the engine from starting without the correct key. Issues may require reprogramming."]
},
{
"tag": "car_fuel_cap",
"patterns": ["How to open fuel cap?", "Fuel cap stuck", "Replace fuel cap"],
"responses": ["Check your car's manual for fuel cap operation. Replace if damaged or leaking."]
},
{
"tag": "car_fuel_gauge",
"patterns": ["Fuel gauge not working", "How to fix fuel gauge?", "Fuel gauge stuck"],
"responses": ["A faulty fuel gauge may need sensor or wiring repair. Visit a mechanic for diagnosis."]
},
{
"tag": "car_dashboard_lights",
"patterns": ["Dashboard warning lights", "What do dashboard lights mean?", "Car warning symbols"],
"responses": ["Refer to your car's manual for dashboard light meanings. Address warnings promptly."]
},
{
"tag": "car_trip_meter",
"patterns": ["What is a trip meter?", "How to reset trip meter?", "Trip meter vs odometer"],
"responses": ["A trip meter tracks distance for a trip. Reset it using the button on your dashboard."]
},
{
"tag": "car_odometer",
"patterns": ["What is an odometer?", "Odometer reading", "Odometer not working"],
"responses": ["An odometer measures total distance traveled by your car. Issues may require repair."]
},
{
"tag": "car_speedometer",
"patterns": ["Speedometer not working", "How to fix speedometer?", "Speedometer calibration"],
"responses": ["A faulty speedometer may need sensor or cable replacement. Visit a mechanic for help."]
},
{
"tag": "car_temp_gauge",
"patterns": ["Car temperature gauge high", "Temp gauge not working", "Engine overheating"],
"responses": ["A high temp gauge indicates overheating. Stop the car and check coolant levels."]
},
{
"tag": "car_trip_planning",
"patterns": ["Plan a car trip", "Road trip tips", "Best apps for car trips"],
"responses": ["Use navigation apps, plan fuel stops, and check your car's condition before a trip."]
},
{
"tag": "car_camping",
"patterns": ["Car camping tips", "Best cars for camping", "How to sleep in car?"],
"responses": ["SUVs and minivans are good for camping. Use sleeping pads and keep windows slightly open for ventilation."]
},
{
"tag": "car_roof_rack",
"patterns": ["Install car roof rack", "Best roof racks", "Roof rack weight limit"],
"responses": ["Roof racks increase cargo space. Check your car's manual for installation and weight limits."]
},
{
"tag": "car_bike_rack",
"patterns": ["Best car bike racks", "How to install bike rack?", "Bike rack for sedan"],
"responses": ["Choose a bike rack compatible with your car type and follow installation instructions."]
},
{
"tag": "car_child_safety",
"patterns": ["Car child safety tips", "Child safety in cars", "Best child safety features"],
"responses": ["Use child seats, activate child locks, and never leave children unattended in the car."]
},
{
"tag": "car_eco_driving",
"patterns": ["Eco driving tips", "How to drive efficiently?", "Reduce car emissions"],
"responses": ["Drive smoothly, avoid rapid acceleration, and maintain your car for eco-friendly driving."]
},
{
"tag": "car_sharing",
"patterns": ["What is car sharing?", "Best car sharing apps", "Car sharing vs rental"],
"responses": ["Car sharing lets you rent cars for short periods via apps like Zipcar or Turo."]
},
{
"tag": "carpooling",
"patterns": ["What is carpooling?", "Carpooling benefits", "How to start carpooling?"],
"responses": ["Carpooling reduces costs and emissions. Use carpool apps or organize with coworkers."]
},
{
"tag": "car_subscription",
"patterns": ["What is a car subscription?", "Car subscription services", "Car subscription vs lease"],
"responses": ["Car subscriptions offer flexible car use for a monthly fee, including insurance and maintenance."]
},
{
"tag": "car_lease_return",
"patterns": ["How to return a leased car?", "Lease return process", "Lease end options"],
"responses": ["At lease end, return the car to the dealer, pay any fees, or consider buying the car."]
},
{
"tag": "car_lease_buyout",
"patterns": ["What is a lease buyout?", "Should I buy my leased car?", "Lease buyout process"],
"responses": ["A lease buyout lets you purchase your leased car at the end of the lease term."]
},
{
"tag": "car_lease_transfer",
"patterns": ["Can I transfer my car lease?", "Lease transfer process", "Lease swap"],
"responses": ["Some leases can be transferred to another person. Check with your leasing company for details."]
},
{
"tag": "car_auction_sell",
"patterns": ["How to sell car at auction?", "Car auction process", "Auction fees for selling car"],
"responses": ["Register your car with an auction house, set a reserve price, and pay applicable fees."]
},
{
"tag": "car_auction_buy",
"patterns": ["How to buy car at auction?", "Auction bidding tips", "Risks of buying at auction"],
"responses": ["Inspect cars before bidding and set a budget. Auctions can offer deals but carry risks."]
},
{
"tag": "car_import_duties",
"patterns": ["Car import duties", "How much tax on imported car?", "Import car cost"],
"responses": ["Import duties vary by country. Check with customs for exact rates and requirements."]
},
{
"tag": "car_export_paperwork",
"patterns": ["Car export paperwork", "Documents needed to export car", "Export car process"],
"responses": ["You'll need proof of ownership, export declaration, and shipping documents to export a car."]
},
{
"tag": "car_customs_clearance",
"patterns": ["Car customs clearance", "How to clear car at customs?", "Customs process for cars"],
"responses": ["Provide required documents and pay duties to clear your car through customs."]
},
{
"tag": "car_shipping_methods",
"patterns": ["Car shipping methods", "Ship car by sea or air", "Best way to ship a car"],
"responses": ["Cars can be shipped by container, roll-on/roll-off, or air freight depending on budget and urgency."]
},
{
"tag": "car_shipping_insurance",
"patterns": ["Car shipping insurance", "Should I insure my car for shipping?", "Shipping insurance cost"],
"responses": ["It's recommended to get insurance when shipping your car to cover potential damage."]
},
{
"tag": "car_shipping_tracking",
"patterns": ["Track my shipped car", "Car shipping tracking", "How to track car shipment?"],
"responses": ["Most shipping companies provide tracking numbers to monitor your car's shipment."]
},
{
"tag": "car_shipping_time",
"patterns": ["How long does car shipping take?", "Car shipping duration", "Shipping car overseas time"],
"responses": ["Shipping time depends on distance and method, ranging from a few days to several weeks."]
},
{
"tag": "car_shipping_cost",
"patterns": ["Car shipping cost", "How much to ship a car?", "Car transport price"],
"responses": ["Shipping costs depend on distance, method, and car size. Get quotes from multiple companies."]
},
{
"tag": "car_shipping_prep",
"patterns": ["How to prepare car for shipping?", "Car shipping preparation", "Car shipping checklist"],
"responses": ["Clean your car, remove personal items, and document its condition before shipping."]
},
{
"tag": "car_shipping_restrictions",
"patterns": ["Car shipping restrictions", "What cars can't be shipped?", "Shipping car regulations"],
"responses": ["Some countries restrict certain car models or require modifications. Check regulations before shipping."]
},
{
"tag": "car_shipping_damage",
"patterns": ["Car damaged during shipping", "How to claim shipping damage?", "Car shipping insurance claim"],
"responses": ["Document damage and contact the shipping company and insurer to file a claim."]
},
{
"tag": "car_shipping_pickup",
"patterns": ["Car shipping pickup process", "How is car picked up for shipping?", "Car pickup for transport"],
"responses": ["The shipping company will arrange a pickup time and location. Be present for inspection."]
},
{
"tag": "car_shipping_delivery",
"patterns": ["Car shipping delivery process", "How is car delivered after shipping?", "Car delivery after transport"],
"responses": ["Inspect your car upon delivery and note any damage before signing the delivery receipt."]
},
{
"tag": "car_shipping_international",
"patterns": ["International car shipping", "Ship car overseas", "Best international car shippers"],
"responses": ["Choose a company experienced in international shipping and understand customs requirements."]
},
{
"tag": "car_shipping_domestic",
"patterns": ["Domestic car shipping", "Ship car within country", "Best domestic car shippers"],
"responses": ["Domestic shipping is usually faster and less expensive than international shipping."]
},
{
"tag": "car_shipping_enclosed",
"patterns": ["Enclosed car shipping", "Open vs enclosed car transport", "Benefits of enclosed shipping"],
"responses": ["Enclosed shipping protects your car from weather and debris, ideal for luxury or classic cars."]
},
{
"tag": "car_shipping_open",
"patterns": ["Open car shipping", "Is open car transport safe?", "Open vs enclosed shipping"],
"responses": ["Open shipping is more affordable but exposes your car to the elements."]
},
{
"tag": "car_shipping_terminal",
"patterns": ["Terminal-to-terminal car shipping", "What is terminal shipping?", "Terminal vs door-to-door shipping"],
"responses": ["Terminal shipping requires you to drop off and pick up your car at designated locations."]
},
{
"tag": "car_shipping_door_to_door",
"patterns": ["Door-to-door car shipping", "Is door-to-door shipping better?", "Car shipping delivery options"],
"responses": ["Door-to-door shipping picks up and delivers your car at your chosen locations for convenience."]
},
{
"tag": "car_shipping_multiple",
"patterns": ["Ship multiple cars", "How to ship more than one car?", "Bulk car shipping"],
"responses": ["Shipping companies can transport multiple cars at once, often at a discounted rate."]
},
{
"tag": "car_shipping_classic",
"patterns": ["Ship classic car", "Classic car shipping tips", "Best way to ship vintage car"],
"responses": ["Use enclosed shipping and extra insurance for classic or vintage cars."]
},
{
"tag": "car_shipping_motorcycle",
"patterns": ["Ship motorcycle", "Motorcycle shipping tips", "Best motorcycle shippers"],
"responses": ["Motorcycles require special crating or trailers for safe shipping."]
},
{
"tag": "car_shipping_boat",
"patterns": ["Ship boat with car", "Boat and car shipping", "Transporting boat and car together"],
"responses": ["Some companies offer combined shipping for cars and boats. Check for availability and requirements."]
},
{
"tag": "car_shipping_rv",
"patterns": ["Ship RV", "RV shipping tips", "Best RV transport companies"],
"responses": ["RV shipping requires specialized carriers. Get quotes from RV transport specialists."]
},
{
"tag": "car_shipping_trailer",
"patterns": ["Ship car with trailer", "Car and trailer shipping", "Trailer transport tips"],
"responses": ["Trailers can be shipped with cars using flatbed or specialized carriers."]
},
{
"tag": "car_shipping_tracking_number",
"patterns": ["Car shipping tracking number", "How to get shipping tracking?", "Track my car shipment"],
"responses": ["Ask your shipping company for a tracking number to monitor your car's shipment."]
},
{
"tag": "car_shipping_customer_service",
"patterns": ["Car shipping customer service", "Contact car shipping company", "Shipping company support"],
"responses": ["Contact your shipping company's customer service for updates or issues."]
},
{
"tag": "car_shipping_quote",
"patterns": ["Get car shipping quote", "Car shipping estimate", "How much to ship my car?"],
"responses": ["Request quotes from multiple shipping companies for the best price."]
},
{
"tag": "car_shipping_payment",
"patterns": ["Car shipping payment methods", "How to pay for car shipping?", "Shipping payment options"],
"responses": ["Most companies accept credit cards, bank transfers, or cash on delivery."]
},
{
"tag": "car_shipping_contract",
"patterns": ["Car shipping contract", "What to check in shipping contract?", "Shipping agreement tips"],
"responses": ["Read the contract carefully, check insurance coverage, and clarify terms before signing."]
},
{
"tag": "car_shipping_cancellation",
"patterns": ["Cancel car shipping", "Car shipping cancellation policy", "Refund for cancelled shipping"],
"responses": ["Check the company's cancellation policy. Some may charge a fee for last-minute cancellations."]
},
{
"tag": "car_shipping_delay",
"patterns": ["Car shipping delay", "Why is my car shipment delayed?", "Shipping delay compensation"],
"responses": ["Delays can occur due to weather or logistics. Contact the company for updates and possible compensation."]
},
{
"tag": "car_shipping_lost",
"patterns": ["Car lost during shipping", "What to do if car is lost?", "Lost car shipment"],
"responses": ["Contact the shipping company and file a police report if your car is lost during shipping."]
},
{
"tag": "car_shipping_damage_claim",
"patterns": ["File damage claim for car shipping", "Car shipping insurance claim", "Claim process for damaged car"],
"responses": ["Document all damage, contact the shipping company, and file a claim with your insurer."]
},
{
"tag": "car_shipping_feedback",
"patterns": ["Leave feedback for car shipping", "Car shipping reviews", "How to review shipping company?"],
"responses": ["Leave feedback on the company's website or review platforms to help other customers."]
},
{
"tag": "car_shipping_tips",
"patterns": ["Car shipping tips", "How to ship car safely?", "Best practices for car shipping"],
"responses": ["Choose a reputable company, insure your car, and document its condition before shipping."]
},
{
"tag": "car_shipping_faq",
"patterns": ["Car shipping FAQ", "Common car shipping questions", "Car shipping help"],
"responses": ["Check the company's FAQ section or contact customer service for answers to common questions."]
},
{
"tag": "lua_intro",
"patterns": ["What is Lua?", "Explain Lua", "Lua language overview"],
"responses": ["Lua is a lightweight, high-level scripting language designed for embedded use in applications."]
},
{
"tag": "lua_hello_world",
"patterns": ["Lua hello world", "Hello world in Lua", "Print hello in Lua"],
"responses": ["Use 'print(\"Hello, world!\")' to print Hello, world! in Lua."]
},
{
"tag": "lua_variables",
"patterns": ["How to declare variables in Lua?", "Lua variable syntax", "Lua variables"],
"responses": ["Variables in Lua are declared by assignment, e.g., 'x = 10'."]
},
{
"tag": "lua_types",
"patterns": ["Lua data types", "What types does Lua have?", "Lua type system"],
"responses": ["Lua has types: nil, boolean, number, string, table, function, thread, and userdata."]
},
{
"tag": "lua_comments",
"patterns": ["How to write comments in Lua?", "Lua comment syntax", "Single line comment in Lua"],
"responses": ["Use '--' for single-line and '--[[ ... ]]' for multi-line comments in Lua."]
},
{
"tag": "lua_if_statement",
"patterns": ["If statement in Lua", "Lua if else syntax", "Conditional in Lua"],
"responses": ["Lua uses 'if condition then ... elseif ... else ... end' for conditionals."]
},
{
"tag": "lua_loops",
"patterns": ["Loops in Lua", "For loop in Lua", "While loop in Lua"],
"responses": ["Lua supports 'for', 'while', and 'repeat ... until' loops."]
},
{
"tag": "lua_functions",
"patterns": ["How to define a function in Lua?", "Lua function syntax", "Functions in Lua"],
"responses": ["Define functions with 'function name(params) ... end' in Lua."]
},
{
"tag": "lua_tables",
"patterns": ["What are tables in Lua?", "Lua table usage", "Lua associative array"],
"responses": ["Tables are the main data structure in Lua, used for arrays, dictionaries, and objects."]
},
{
"tag": "lua_table_insert",
"patterns": ["How to insert into a table in Lua?", "Add element to Lua table", "Lua table insert"],
"responses": ["Use 'table.insert(tbl, value)' to add an element to a Lua table."]
},
{
"tag": "lua_table_remove",
"patterns": ["Remove element from Lua table", "Lua table remove", "Delete from table in Lua"],
"responses": ["Use 'table.remove(tbl, index)' to remove an element from a Lua table."]
},
{
"tag": "lua_table_length",
"patterns": ["Get length of Lua table", "Lua table size", "How to count elements in Lua table"],
"responses": ["Use '#tbl' to get the length of a Lua table."]
},
{
"tag": "lua_table_iterate",
"patterns": ["Iterate over Lua table", "Loop through table in Lua", "Lua table for loop"],
"responses": ["Use 'for k, v in pairs(tbl) do ... end' to iterate over a table in Lua."]
},
{
"tag": "lua_metatables",
"patterns": ["What are metatables in Lua?", "Lua metatable usage", "Metamethods in Lua"],
"responses": ["Metatables allow you to change the behavior of tables using metamethods."]
},
{
"tag": "lua_operators",
"patterns": ["Lua operators", "Arithmetic operators in Lua", "Comparison operators in Lua"],
"responses": ["Lua supports arithmetic (+, -, *, /, ^, %), comparison (==, ~=, <, >, <=, >=), and logical (and, or, not) operators."]
},
{
"tag": "lua_strings",
"patterns": ["String manipulation in Lua", "Lua string functions", "Concatenate strings in Lua"],
"responses": ["Use '..' to concatenate strings and string library functions for manipulation."]
},
{
"tag": "lua_string_format",
"patterns": ["String formatting in Lua", "Format string in Lua", "Lua string.format"],
"responses": ["Use 'string.format(\"%d %s\", 10, \"Lua\")' for formatted strings."]
},
{
"tag": "lua_require",
"patterns": ["How to import modules in Lua?", "Lua require function", "Include file in Lua"],
"responses": ["Use 'require(\"modulename\")' to import a module in Lua."]
},
{
"tag": "lua_package_path",
"patterns": ["Lua package.path", "How to set Lua module path?", "Lua search path"],
"responses": ["Set 'package.path' to control where Lua looks for modules."]
},
{
"tag": "lua_error_handling",
"patterns": ["Error handling in Lua", "Lua pcall", "Try catch in Lua"],
"responses": ["Use 'pcall' and 'xpcall' for protected calls and error handling in Lua."]
},
{
"tag": "lua_coroutines",
"patterns": ["What are coroutines in Lua?", "Lua coroutine usage", "Lua yield resume"],
"responses": ["Coroutines allow cooperative multitasking using 'coroutine.create', 'resume', and 'yield'."]
},
{
"tag": "lua_file_io",
"patterns": ["File I/O in Lua", "Read file in Lua", "Write file in Lua"],
"responses": ["Use 'io.open', 'file:read', and 'file:write' for file operations in Lua."]
},
{
"tag": "lua_os_execute",
"patterns": ["Run shell command in Lua", "Lua os.execute", "Execute command in Lua"],
"responses": ["Use 'os.execute(\"command\")' to run a shell command from Lua."]
},
{
"tag": "lua_math_library",
"patterns": ["Lua math functions", "Math library in Lua", "Random number in Lua"],
"responses": ["Lua's math library provides functions like math.random, math.floor, math.sqrt, etc."]
},
{
"tag": "lua_random_seed",
"patterns": ["Set random seed in Lua", "Lua math.randomseed", "Randomize in Lua"],
"responses": ["Use 'math.randomseed(os.time())' to seed the random number generator."]
},
{
"tag": "lua_nil",
"patterns": ["What is nil in Lua?", "Lua nil value", "Unset variable in Lua"],
"responses": ["'nil' represents the absence of a value in Lua and is used to delete table entries."]
},
{
"tag": "lua_boolean",
"patterns": ["Boolean values in Lua", "Lua true false", "Lua boolean type"],
"responses": ["Lua has two boolean values: true and false. Only nil and false are falsy."]
},
{
"tag": "lua_number_type",
"patterns": ["Number type in Lua", "Lua integer float", "Lua number precision"],
"responses": ["Lua numbers are typically double-precision floating point. Lua 5.3+ supports integers."]
},
{
"tag": "lua_string_to_number",
"patterns": ["Convert string to number in Lua", "Lua tonumber", "String to int Lua"],
"responses": ["Use 'tonumber(\"123\")' to convert a string to a number in Lua."]
},
{
"tag": "lua_number_to_string",
"patterns": ["Convert number to string in Lua", "Lua tostring", "Int to string Lua"],
"responses": ["Use 'tostring(123)' to convert a number to a string in Lua."]
},
{
"tag": "lua_global_variables",
"patterns": ["Global variables in Lua", "How to declare global in Lua", "Lua global scope"],
"responses": ["Variables are global by default unless declared local with 'local' keyword."]
},
{
"tag": "lua_local_variables",
"patterns": ["Local variables in Lua", "Lua local keyword", "Scope in Lua"],
"responses": ["Use 'local' to declare variables with local scope in Lua."]
},
{
"tag": "lua_scope",
"patterns": ["Variable scope in Lua", "Lua scope rules", "Block scope in Lua"],
"responses": ["Lua supports global and local scopes. Local variables are limited to their block."]
},
{
"tag": "lua_return_multiple",
"patterns": ["Multiple return values in Lua", "Lua function return multiple", "Return two values Lua"],
"responses": ["Lua functions can return multiple values, e.g., 'return a, b'."]
},
{
"tag": "lua_varargs",
"patterns": ["Variable arguments in Lua", "Lua ... syntax", "Lua varargs"],
"responses": ["Use '...' in function parameters to accept variable arguments."]
},
{
"tag": "lua_unpack",
"patterns": ["Unpack table in Lua", "Lua table.unpack", "Expand table to arguments Lua"],
"responses": ["Use 'table.unpack(tbl)' to expand a table into arguments."]
},
{
"tag": "lua_module_create",
"patterns": ["How to create a Lua module?", "Lua module example", "Lua module syntax"],
"responses": ["Return a table with functions from your file to create a Lua module."]
},
{
"tag": "lua_oop",
"patterns": ["Object-oriented programming in Lua", "Lua OOP", "Classes in Lua"],
"responses": ["Lua supports OOP via tables and metatables to simulate classes and inheritance."]
},
{
"tag": "lua_inheritance",
"patterns": ["Inheritance in Lua", "Lua class inheritance", "OOP inheritance Lua"],
"responses": ["Use metatables and __index to implement inheritance in Lua."]
},
{
"tag": "lua_gc",
"patterns": ["Garbage collection in Lua", "Lua collectgarbage", "Memory management Lua"],
"responses": ["Lua has automatic garbage collection. Use 'collectgarbage()' to control it."]
},
{
"tag": "lua_debug",
"patterns": ["Debugging in Lua", "Lua debug library", "How to debug Lua code"],
"responses": ["Use 'print', 'debug' library, or an IDE with Lua debugging support."]
},
{
"tag": "lua_assert",
"patterns": ["Lua assert function", "How to use assert in Lua", "Lua assertion"],
"responses": ["'assert(condition, message)' raises an error if condition is false."]
},
{
"tag": "lua_pairs_ipairs",
"patterns": ["Difference between pairs and ipairs in Lua", "Lua pairs vs ipairs", "Iterate array Lua"],
"responses": ["'pairs' iterates all table keys, 'ipairs' iterates integer keys in order."]
},
{
"tag": "lua_table_sort",
"patterns": ["Sort table in Lua", "Lua table.sort", "Sorting arrays Lua"],
"responses": ["Use 'table.sort(tbl)' to sort an array-style table in Lua."]
},
{
"tag": "lua_table_concat",
"patterns": ["Concatenate table in Lua", "Lua table.concat", "Join array Lua"],
"responses": ["Use 'table.concat(tbl, sep)' to join table elements into a string."]
},
{
"tag": "lua_table_copy",
"patterns": ["Copy table in Lua", "Clone table Lua", "Deep copy Lua table"],
"responses": ["Lua does not have built-in deep copy. You can write a recursive function to copy tables."]
},
{
"tag": "lua_table_keys",
"patterns": ["Get keys from Lua table", "Lua table keys", "List table keys Lua"],
"responses": ["Use 'for k in pairs(tbl) do ... end' to iterate keys in a table."]
},
{
"tag": "lua_table_values",
"patterns": ["Get values from Lua table", "Lua table values", "List table values Lua"],
"responses": ["Use 'for _, v in pairs(tbl) do ... end' to iterate values in a table."]
},
{
"tag": "lua_table_find",
"patterns": ["Find value in Lua table", "Search table Lua", "Lua table contains"],
"responses": ["Loop through the table to check if a value exists, as Lua has no built-in 'contains'."]
},
{
"tag": "lua_table_merge",
"patterns": ["Merge tables in Lua", "Combine tables Lua", "Append tables Lua"],
"responses": ["You can merge tables by iterating and inserting elements from one into another."]
},
{
"tag": "lua_table_reverse",
"patterns": ["Reverse table in Lua", "Lua reverse array", "Reverse list Lua"],
"responses": ["Lua does not have a built-in reverse; write a loop to reverse table elements."]
},
{
"tag": "lua_table_remove_duplicates",
"patterns": ["Remove duplicates from Lua table", "Unique values Lua table", "Lua table deduplicate"],
"responses": ["Use a temporary table as a set to filter out duplicates."]
},
{
"tag": "lua_table_filter",
"patterns": ["Filter table in Lua", "Lua table filter function", "Select elements Lua table"],
"responses": ["Write a loop to filter table elements based on a condition."]
},
{
"tag": "lua_table_map",
"patterns": ["Map function over Lua table", "Lua table map", "Apply function to table Lua"],
"responses": ["Loop through the table and apply a function to each element."]
},
{
"tag": "lua_table_reduce",
"patterns": ["Reduce table in Lua", "Lua table fold", "Aggregate table Lua"],
"responses": ["Implement a reduce function by accumulating a result while iterating the table."]
},
{
"tag": "lua_table_to_string",
"patterns": ["Convert table to string in Lua", "Serialize table Lua", "Print table Lua"],
"responses": ["Write a recursive function to serialize a table to a string for printing."]
},
{
"tag": "lua_table_from_string",
"patterns": ["Deserialize table from string Lua", "Parse table Lua", "String to table Lua"],
"responses": ["Use 'load' or a deserialization library to convert a string to a table."]
},
{
"tag": "lua_json_encode",
"patterns": ["JSON encode in Lua", "Convert table to JSON Lua", "Lua to JSON"],
"responses": ["Use a JSON library like 'dkjson' or 'cjson' to encode tables to JSON."]
},
{
"tag": "lua_json_decode",
"patterns": ["JSON decode in Lua", "Parse JSON Lua", "JSON to table Lua"],
"responses": ["Use a JSON library to decode JSON strings into Lua tables."]
},
{
"tag": "lua_regex",
"patterns": ["Regular expressions in Lua", "Lua pattern matching", "Regex in Lua"],
"responses": ["Lua uses its own pattern matching, not full regex. Use 'string.match', 'string.gmatch', etc."]
},
{
"tag": "lua_string_match",
"patterns": ["String match in Lua", "Lua string.match", "Pattern match Lua"],
"responses": ["Use 'string.match(str, pattern)' to match patterns in strings."]
},
{
"tag": "lua_string_gsub",
"patterns": ["Replace string in Lua", "Lua string.gsub", "Substitute string Lua"],
"responses": ["Use 'string.gsub(str, pattern, replacement)' to replace substrings."]
},
{
"tag": "lua_string_find",
"patterns": ["Find substring in Lua", "Lua string.find", "Search string Lua"],
"responses": ["Use 'string.find(str, pattern)' to search for a substring."]
},
{
"tag": "lua_string_split",
"patterns": ["Split string in Lua", "Lua split function", "String to table Lua"],
"responses": ["Lua does not have a built-in split; write a function using 'string.gmatch'."]
},
{
"tag": "lua_string_upper_lower",
"patterns": ["Uppercase lowercase in Lua", "Lua string.upper", "Lua string.lower"],
"responses": ["Use 'string.upper(str)' and 'string.lower(str)' to change case."]
},
{
"tag": "lua_string_trim",
"patterns": ["Trim whitespace in Lua", "Lua string trim", "Remove spaces Lua"],
"responses": ["Lua does not have built-in trim; use 'string.gsub(str, \"^%s*(.-)%s*$\", \"%1\")'."]
},
{
"tag": "lua_string_reverse",
"patterns": ["Reverse string in Lua", "Lua string.reverse", "Reverse text Lua"],
"responses": ["Use 'string.reverse(str)' to reverse a string."]
},
{
"tag": "lua_string_len",
"patterns": ["String length in Lua", "Lua string.len", "Get length of string Lua"],
"responses": ["Use 'string.len(str)' or '#str' to get string length."]
},
{
"tag": "lua_string_sub",
"patterns": ["Substring in Lua", "Lua string.sub", "Extract substring Lua"],
"responses": ["Use 'string.sub(str, start, end)' to get a substring."]
},
{
"tag": "lua_string_byte_char",
"patterns": ["Get byte value in Lua", "Lua string.byte", "Lua string.char"],
"responses": ["Use 'string.byte(str, pos)' and 'string.char(num)' for byte conversions."]
},
{
"tag": "lua_string_rep",
"patterns": ["Repeat string in Lua", "Lua string.rep", "Duplicate string Lua"],
"responses": ["Use 'string.rep(str, n)' to repeat a string n times."]
},
{
"tag": "lua_string_dump",
"patterns": ["Dump function in Lua", "Lua string.dump", "Serialize function Lua"],
"responses": ["Use 'string.dump(func)' to get a binary representation of a function."]
},
{
"tag": "lua_string_gmatch",
"patterns": ["Global match in Lua", "Lua string.gmatch", "Iterate matches Lua"],
"responses": ["Use 'string.gmatch(str, pattern)' to iterate all matches in a string."]
},
{
"tag": "lua_string_formatting",
"patterns": ["String formatting in Lua", "Lua format specifiers", "Format numbers Lua"],
"responses": ["Use 'string.format' with C-like format specifiers for formatting."]
},
{
"tag": "lua_math_random",
"patterns": ["Random number in Lua", "Lua math.random", "Generate random Lua"],
"responses": ["Use 'math.random()' for random numbers. Seed with 'math.randomseed'."]
},
{
"tag": "lua_math_floor_ceil",
"patterns": ["Floor and ceil in Lua", "Lua math.floor", "Lua math.ceil"],
"responses": ["Use 'math.floor(num)' and 'math.ceil(num)' for rounding."]
},
{
"tag": "lua_math_abs",
"patterns": ["Absolute value in Lua", "Lua math.abs", "Get abs Lua"],
"responses": ["Use 'math.abs(num)' to get the absolute value."]
},
{
"tag": "lua_math_modf",
"patterns": ["Get integer and fraction in Lua", "Lua math.modf", "Split number Lua"],
"responses": ["Use 'math.modf(num)' to get integer and fractional parts."]
},
{
"tag": "lua_math_pow",
"patterns": ["Power in Lua", "Lua math.pow", "Exponentiation Lua"],
"responses": ["Use 'math.pow(a, b)' or 'a^b' for exponentiation."]
},
{
"tag": "lua_math_min_max",
"patterns": ["Min and max in Lua", "Lua math.min", "Lua math.max"],
"responses": ["Use 'math.min(a, b, ...)' and 'math.max(a, b, ...)'."]
},
{
"tag": "lua_math_sqrt",
"patterns": ["Square root in Lua", "Lua math.sqrt", "Root calculation Lua"],
"responses": ["Use 'math.sqrt(num)' for square root."]
},
{
"tag": "lua_math_trig",
"patterns": ["Trigonometric functions in Lua", "Lua math.sin", "Lua math.cos"],
"responses": ["Lua provides 'math.sin', 'math.cos', 'math.tan', etc., for trigonometry."]
},
{
"tag": "lua_math_log_exp",
"patterns": ["Logarithm in Lua", "Lua math.log", "Exponential Lua"],
"responses": ["Use 'math.log(num)' for natural log and 'math.exp(num)' for exponentials."]
},
{
"tag": "lua_math_deg_rad",
"patterns": ["Degrees and radians in Lua", "Lua math.deg", "Lua math.rad"],
"responses": ["Use 'math.deg(rad)' and 'math.rad(deg)' to convert between degrees and radians."]
},
{
"tag": "lua_os_time_date",
"patterns": ["Get current time in Lua", "Lua os.time", "Lua os.date"],
"responses": ["Use 'os.time()' for current time and 'os.date()' for formatted date/time."]
},
{
"tag": "lua_os_clock",
"patterns": ["Lua os.clock", "Measure time in Lua", "Benchmark Lua code"],
"responses": ["Use 'os.clock()' to get CPU time used by the program."]
},
{
"tag": "lua_os_exit",
"patterns": ["Exit program in Lua", "Lua os.exit", "Terminate Lua script"],
"responses": ["Use 'os.exit()' to terminate a Lua script."]
},
{
"tag": "lua_io_read",
"patterns": ["Read input in Lua", "Lua io.read", "Get user input Lua"],
"responses": ["Use 'io.read()' to read input from the user."]
},
{
"tag": "lua_io_write",
"patterns": ["Write output in Lua", "Lua io.write", "Print without newline Lua"],
"responses": ["Use 'io.write()' to write output without a newline."]
},
{
"tag": "lua_io_lines",
"patterns": ["Read file lines in Lua", "Lua io.lines", "Iterate file lines Lua"],
"responses": ["Use 'for line in io.lines(filename) do ... end' to read lines from a file."]
},
{
"tag": "lua_io_flush",
"patterns": ["Flush output in Lua", "Lua io.flush", "Force write Lua"],
"responses": ["Use 'io.flush()' to flush the output buffer."]
},
{
"tag": "lua_io_close",
"patterns": ["Close file in Lua", "Lua file:close", "File close Lua"],
"responses": ["Use 'file:close()' to close an open file handle."]
},
{
"tag": "lua_io_seek",
"patterns": ["Seek in file Lua", "Lua file:seek", "Move file pointer Lua"],
"responses": ["Use 'file:seek(whence, offset)' to move the file pointer."]
},
{
"tag": "lua_io_tmpfile",
"patterns": ["Temporary file in Lua", "Lua io.tmpfile", "Create temp file Lua"],
"responses": ["Use 'io.tmpfile()' to create a temporary file."]
},
{
"tag": "lua_io_type",
"patterns": ["Check file type in Lua", "Lua io.type", "File handle type Lua"],
"responses": ["Use 'io.type(obj)' to check if an object is a file handle."]
},
{
"tag": "lua_metatable_index",
"patterns": ["__index metamethod in Lua", "Lua metatable __index", "Table inheritance Lua"],
"responses": ["The '__index' metamethod is used for table inheritance and default values."]
},
{
"tag": "lua_metatable_newindex",
"patterns": ["__newindex metamethod in Lua", "Lua metatable __newindex", "Intercept assignment Lua"],
"responses": ["The '__newindex' metamethod intercepts assignments to table fields."]
},
{
"tag": "lua_metatable_call",
"patterns": ["__call metamethod in Lua", "Lua metatable __call", "Callable table Lua"],
"responses": ["The '__call' metamethod allows tables to be called like functions."]
},
{
"tag": "lua_metatable_tostring",
"patterns": ["__tostring metamethod in Lua", "Lua metatable __tostring", "Custom tostring Lua"],
"responses": ["The '__tostring' metamethod customizes string conversion of tables."]
},
{
"tag": "lua_metatable_eq",
"patterns": ["__eq metamethod in Lua", "Lua metatable __eq", "Equality operator Lua"],
"responses": ["The '__eq' metamethod defines custom equality for tables."]
},
{
"tag": "lua_metatable_add",
"patterns": ["__add metamethod in Lua", "Lua metatable __add", "Operator overloading Lua"],
"responses": ["The '__add' metamethod allows operator overloading for addition."]
},
{
"tag": "lua_metatable_sub",
"patterns": ["__sub metamethod in Lua", "Lua metatable __sub", "Subtract operator Lua"],
"responses": ["The '__sub' metamethod allows operator overloading for subtraction."]
},
{
"tag": "lua_metatable_mul",
"patterns": ["__mul metamethod in Lua", "Lua metatable __mul", "Multiply operator Lua"],
"responses": ["The '__mul' metamethod allows operator overloading for multiplication."]
},
{
"tag": "lua_metatable_div",
"patterns": ["__div metamethod in Lua", "Lua metatable __div", "Divide operator Lua"],
"responses": ["The '__div' metamethod allows operator overloading for division."]
},
{
"tag": "lua_metatable_mod",
"patterns": ["__mod metamethod in Lua", "Lua metatable __mod", "Modulo operator Lua"],
"responses": ["The '__mod' metamethod allows operator overloading for modulo."]
},
{
"tag": "lua_metatable_pow",
"patterns": ["__pow metamethod in Lua", "Lua metatable __pow", "Power operator Lua"],
"responses": ["The '__pow' metamethod allows operator overloading for exponentiation."]
},
{
"tag": "lua_metatable_unm",
"patterns": ["__unm metamethod in Lua", "Lua metatable __unm", "Unary minus Lua"],
"responses": ["The '__unm' metamethod allows operator overloading for unary minus."]
},
{
"tag": "lua_metatable_concat",
"patterns": ["__concat metamethod in Lua", "Lua metatable __concat", "Concatenate operator Lua"],
"responses": ["The '__concat' metamethod allows operator overloading for concatenation."]
},
{
"tag": "lua_metatable_lt",
"patterns": ["__lt metamethod in Lua", "Lua metatable __lt", "Less than operator Lua"],
"responses": ["The '__lt' metamethod allows custom less-than comparisons."]
},
{
"tag": "lua_metatable_le",
"patterns": ["__le metamethod in Lua", "Lua metatable __le", "Less or equal operator Lua"],
"responses": ["The '__le' metamethod allows custom less-or-equal comparisons."]
},
{
"tag": "lua_metatable_gc",
"patterns": ["__gc metamethod in Lua", "Lua metatable __gc", "Garbage collection Lua"],
"responses": ["The '__gc' metamethod is called when userdata is collected by the garbage collector."]
},
{
"tag": "lua_metatable_len",
"patterns": ["__len metamethod in Lua", "Lua metatable __len", "Length operator Lua"],
"responses": ["The '__len' metamethod allows custom behavior for the length operator (#)."]
},
{
"tag": "lua_metatable_pairs",
"patterns": ["__pairs metamethod in Lua", "Lua metatable __pairs", "Custom pairs Lua"],
"responses": ["The '__pairs' metamethod customizes iteration with pairs()."]
},
{
"tag": "lua_metatable_ipairs",
"patterns": ["__ipairs metamethod in Lua", "Lua metatable __ipairs", "Custom ipairs Lua"],
"responses": ["The '__ipairs' metamethod customizes iteration with ipairs()."]
},
{
"tag": "lua_userdata",
"patterns": ["What is userdata in Lua?", "Lua userdata type", "C data in Lua"],
"responses": ["Userdata allows arbitrary C data to be stored in Lua variables."]
},
{
"tag": "lua_thread",
"patterns": ["What is thread in Lua?", "Lua thread type", "Coroutines vs threads Lua"],
"responses": ["Lua threads are used for coroutines, not OS threads."]
},
{
"tag": "lua_module_require_vs_dofile",
"patterns": ["Difference between require and dofile in Lua", "Lua require vs dofile", "Load file Lua"],
"responses": ["'require' loads modules once and caches them; 'dofile' executes a file every time."]
},
{
"tag": "lua_module_package_loaded",
"patterns": ["Lua package.loaded", "Check if module loaded Lua", "Lua module cache"],
"responses": ["'package.loaded' is a table of loaded modules used by 'require'."]
},
{
"tag": "lua_module_return",
"patterns": ["Why return table in Lua module?", "Lua module return value", "Export functions Lua"],
"responses": ["Returning a table from a module exposes its functions and variables."]
},
{
"tag": "lua_module_local",
"patterns": ["Local variables in Lua module", "Private functions Lua module", "Encapsulation Lua"],
"responses": ["Declare variables and functions as local in a module to keep them private."]
},
{
"tag": "lua_module_reload",
"patterns": ["Reload module in Lua", "Lua require reload", "Refresh module Lua"],
"responses": ["Remove the module from 'package.loaded' before requiring again to reload."]
},
{
"tag": "lua_module_c",
"patterns": ["C modules in Lua", "Lua load C library", "Lua C extension"],
"responses": ["Lua can load C modules as shared libraries using 'require'."]
},
{
"tag": "lua_module_path_separator",
"patterns": ["Lua module path separator", "Dot vs slash in require Lua", "Module naming Lua"],
"responses": ["Use dots in 'require', which are mapped to directory separators in 'package.path'."]
},
{
"tag": "lua_module_init",
"patterns": ["Module initialization in Lua", "Lua module setup", "Init function Lua module"],
"responses": ["Modules can run initialization code when loaded by 'require'."]
},
{
"tag": "lua_module_version",
"patterns": ["Module versioning in Lua", "Lua module version", "Check module version Lua"],
"responses": ["Store a version string in your module table, e.g., 'M._VERSION = \"1.0\"'."]
},
{
"tag": "lua_module_documentation",
"patterns": ["Document Lua module", "Lua module docstring", "Lua module comments"],
"responses": ["Use comments and docstrings at the top of your module file for documentation."]
},
{
"tag": "lua_module_example",
"patterns": ["Example Lua module", "Lua module sample code", "How to write Lua module"],
"responses": ["A Lua module returns a table with functions and variables to export."]
},
{
"tag": "lua_module_dependency",
"patterns": ["Module dependencies in Lua", "Require other modules Lua", "Lua module import"],
"responses": ["Use 'require' inside your module to import dependencies."]
},
{
"tag": "lua_module_namespace",
"patterns": ["Namespace in Lua", "Lua module namespace", "Avoid global pollution Lua"],
"responses": ["Modules act as namespaces by returning a table of functions and variables."]
},
{
"tag": "lua_module_singleton",
"patterns": ["Singleton module in Lua", "Lua singleton pattern", "One instance module Lua"],
"responses": ["Modules are singletons by default since 'require' caches the result."]
},
{
"tag": "lua_module_class",
"patterns": ["Class in Lua module", "Lua OOP module", "Export class Lua"],
"responses": ["You can export a constructor function or table with metatable for OOP in modules."]
},
{
"tag": "lua_module_test",
"patterns": ["Test Lua module", "Lua module unit test", "Testing Lua code"],
"responses": ["Write test scripts or use a Lua testing framework like 'busted' to test modules."]
},
{
"tag": "lua_module_cli",
"patterns": ["Command line Lua module", "Lua module as script", "Run module from CLI Lua"],
"responses": ["Check 'arg' and '...=='main'' to allow modules to run as scripts."]
},
{
"tag": "lua_module_env",
"patterns": ["Module environment in Lua", "Lua module _ENV", "Setfenv Lua"],
"responses": ["Lua 5.2+ uses _ENV for environments; Lua 5.1 uses setfenv/getfenv."]
},
{
"tag": "lua_module_error",
"patterns": ["Error in Lua module", "Lua module error handling", "Raise error Lua"],
"responses": ["Use 'error' or 'assert' to raise errors in modules."]
},
{
"tag": "lua_module_example_usage",
"patterns": ["How to use Lua module?", "Lua module usage example", "Import and use Lua module"],
"responses": ["Call 'require(\"modulename\")' and use the returned table's functions."]
},
{
"tag": "lua_module_path_env",
"patterns": ["Set LUA_PATH environment variable", "Lua module search path env", "LUA_PATH usage"],
"responses": ["Set LUA_PATH to customize where Lua searches for modules."]
},
{
"tag": "lua_module_package_cpath",
"patterns": ["Lua package.cpath", "C module search path Lua", "Set cpath Lua"],
"responses": ["'package.cpath' controls where Lua looks for C modules."]
},
{
"tag": "lua_module_package_preload",
"patterns": ["Lua package.preload", "Preload module Lua", "Inject module Lua"],
"responses": ["'package.preload' allows you to register modules before requiring them."]
},
{
"tag": "lua_module_package_searchers",
"patterns": ["Lua package.searchers", "Custom module loader Lua", "Extend require Lua"],
"responses": ["'package.searchers' is a list of functions Lua uses to find modules."]
},
{
"tag": "lua_module_package_loaded_check",
"patterns": ["Check if Lua module is loaded", "Lua package.loaded check", "Is module loaded Lua"],
"responses": ["Check 'package.loaded[\"modulename\"]' to see if a module is loaded."]
},
{
"tag": "lua_module_package_path_default",
"patterns": ["Default package.path in Lua", "Lua default module path", "Where does Lua search modules"],
"responses": ["The default 'package.path' includes './?.lua' and other standard locations."]
},
{
"tag": "lua_module_package_path_add",
"patterns": ["Add path to package.path Lua", "Extend Lua module path", "Add search path Lua"],
"responses": ["Append or prepend to 'package.path' to add new search locations."]
},
{
"tag": "lua_module_package_path_reset",
"patterns": ["Reset package.path Lua", "Restore default module path Lua", "Undo package.path changes"],
"responses": ["Store the original 'package.path' and restore it as needed."]
},
{
"tag": "lua_module_package_path_separator_os",
"patterns": ["Path separator in Lua package.path", "Windows vs Linux Lua path", "Lua path separator"],
"responses": ["Use ';' as separator in 'package.path' on all platforms."]
},
{
"tag": "lua_module_package_path_question",
"patterns": ["What does ? mean in package.path?", "Lua package.path ?", "Module name substitution Lua"],
"responses": ["'?' in 'package.path' is replaced by the module name in 'require'."]
},
{
"tag": "lua_module_package_path_dot",
"patterns": ["Dot in Lua module name", "Lua require dot notation", "Module name with dot Lua"],
"responses": ["Dots in module names map to directory separators in 'package.path'."]
},
{
"tag": "lua_module_package_path_example",
"patterns": ["Example package.path Lua", "Show package.path Lua", "Lua module path example"],
"responses": ["Example: './?.lua;./?/init.lua;/usr/local/share/lua/5.3/?.lua'."]
},
{
"tag": "lua_module_package_path_debug",
"patterns": ["Debug package.path Lua", "Print package.path Lua", "Check module path Lua"],
"responses": ["Use 'print(package.path)' to see the current module search path."]
},
{
"tag": "lua_module_package_path_error",
"patterns": ["Module not found error Lua", "Cannot find module Lua", "Require error Lua"],
"responses": ["Check 'package.path' and module name if you get 'module not found' errors."]
},
{
"tag": "lua_module_package_path_custom_loader",
"patterns": ["Custom module loader Lua", "Add loader to package.searchers", "Custom require Lua"],
"responses": ["Insert a function into 'package.searchers' to customize module loading."]
},
{
"tag": "lua_module_package_path_security",
"patterns": ["Lua module path security", "Safe package.path Lua", "Restrict module loading Lua"],
"responses": ["Restrict 'package.path' to trusted directories to avoid loading untrusted code."]
},
{
"tag": "lua_module_package_path_relative",
"patterns": ["Relative path in Lua require", "Lua require relative module", "Relative modules Lua"],
"responses": ["Use './' in 'package.path' or set the path relative to your script."]
},
{
"tag": "lua_module_package_path_absolute",
"patterns": ["Absolute path in Lua require", "Lua require absolute path", "Load module by full path Lua"],
"responses": ["Add the absolute path to 'package.path' to load modules by full path."]
},
{
"tag": "lua_module_package_path_env_var",
"patterns": ["Set LUA_PATH in environment", "LUA_PATH variable Lua", "Environment variable for Lua modules"],
"responses": ["Set LUA_PATH in your shell or system environment to override the default search path."]
},
{
"tag": "lua_module_package_path_windows",
"patterns": ["Lua package.path on Windows", "Windows Lua module path", "Set path on Windows Lua"],
"responses": ["Use Windows-style paths in 'package.path', e.g., 'C:\\lua\\?.lua'."]
},
{
"tag": "lua_module_package_path_linux",
"patterns": ["Lua package.path on Linux", "Linux Lua module path", "Set path on Linux Lua"],
"responses": ["Use Unix-style paths in 'package.path', e.g., '/usr/local/share/lua/5.3/?.lua'."]
},
{
"tag": "lua_module_package_path_mac",
"patterns": ["Lua package.path on macOS", "macOS Lua module path", "Set path on Mac Lua"],
"responses": ["Use Unix-style paths in 'package.path', e.g., '/usr/local/share/lua/5.3/?.lua'."]
},
{
"tag": "lua_module_package_path_troubleshoot",
"patterns": ["Troubleshoot Lua module path", "Lua require not working", "Fix module path Lua"],
"responses": ["Check 'package.path', module name, and file location to troubleshoot require issues."]
},
{
"tag": "lua_module_package_path_best_practices",
"patterns": ["Best practices for Lua module path", "Organize Lua modules", "Lua module structure"],
"responses": ["Organize modules in directories and use consistent naming for easier management."]
},
{
"tag": "lua_module_package_path_multiple_versions",
"patterns": ["Multiple Lua versions module path", "Lua 5.1 vs 5.3 modules", "Support multiple Lua versions"],
"responses": ["Use versioned directories and adjust 'package.path' for different Lua versions."]
},
{
"tag": "lua_module_package_path_reset_default",
"patterns": ["Reset package.path to default Lua", "Restore Lua module path", "Default module path Lua"],
"responses": ["Restart the Lua interpreter or set 'package.path' to its original value to reset."]
},
{
"tag": "lua_module_package_path_print",
"patterns": ["Print current package.path Lua", "Show Lua module path", "Display package.path Lua"],
"responses": ["Use 'print(package.path)' to display the current module search path."]
},
{
"tag": "lua_module_package_path_add_runtime",
"patterns": ["Add module path at runtime Lua", "Modify package.path in code", "Dynamic module path Lua"],
"responses": ["Concatenate new paths to 'package.path' in your Lua script as needed."]
},
{
"tag": "lua_module_package_path_remove",
"patterns": ["Remove path from package.path Lua", "Delete module path Lua", "Clean up package.path"],
"responses": ["Assign a new string to 'package.path' excluding unwanted paths."]
},
{
"tag": "lua_module_package_path_duplicate",
"patterns": ["Duplicate paths in package.path Lua", "Multiple same paths Lua", "Avoid duplicate module paths"],
"responses": ["Avoid duplicate entries in 'package.path' for efficiency."]
},
{
"tag": "lua_module_package_path_order",
"patterns": ["Order of paths in package.path Lua", "Lua module search order", "Which path is used first Lua"],
"responses": ["Lua searches 'package.path' in order from left to right."]
},
{
"tag": "lua_module_package_path_wildcard",
"patterns": ["Wildcard in package.path Lua", "Glob pattern Lua module path", "Use * in package.path"],
"responses": ["'package.path' uses '?' as a placeholder, not wildcards like '*'."]
},
{
"tag": "lua_module_package_path_symlink",
"patterns": ["Symlink in Lua module path", "Lua require symlinked module", "Symbolic link modules Lua"],
"responses": ["Lua can load modules via symlinks if the path resolves to a valid file."]
},
{
"tag": "lua_module_package_path_case_sensitive",
"patterns": ["Case sensitivity in Lua module path", "Lua require case sensitive", "Module name case Lua"],
"responses": ["Module loading is case-sensitive on Unix-like systems, but not on Windows."]
},
{
"tag": "lua_module_package_path_unicode",
"patterns": ["Unicode in Lua module path", "Non-ASCII module path Lua", "International module names Lua"],
"responses": ["Lua supports Unicode in paths if the OS and filesystem support it."]
},
{
"tag": "lua_module_package_path_env_override",
"patterns": ["Override package.path with environment variable Lua", "LUA_PATH override", "Set module path via env Lua"],
"responses": ["Setting LUA_PATH in the environment overrides the default 'package.path'."]
},
{
"tag": "lua_module_package_path_security_best_practices",
"patterns": ["Secure Lua module path", "Best practices for safe module loading Lua", "Avoid insecure modules Lua"],
"responses": ["Restrict 'package.path' to trusted directories and avoid loading untrusted code."]
},
{
"tag": "lua_module_package_path_debugging_tools",
"patterns": ["Tools for debugging Lua module path", "Lua module path checker", "Debug require Lua"],
"responses": ["Use 'print', logging, or Lua IDEs to debug module loading issues."]
},
{
"tag": "lua_module_package_path_env_inheritance",
"patterns": ["LUA_PATH inheritance in child processes", "Lua module path in subprocess", "Pass module path to child Lua"],
"responses": ["Child processes inherit LUA_PATH from the parent environment."]
},
{
"tag": "lua_module_package_path_relative_vs_absolute",
"patterns": ["Relative vs absolute module path Lua", "Lua require relative or absolute", "Best practice module path Lua"],
"responses": ["Use relative paths for local modules and absolute paths for shared or system modules."]
},
{
"tag": "lua_module_package_path_trailing_separator",
"patterns": ["Trailing separator in package.path Lua", "Semicolon at end of module path Lua", "Lua module path ending"],
"responses": ["A trailing ';' is allowed in 'package.path' and is ignored if not followed by a path."]
},
{
"tag": "lua_module_package_path_env_priority",
"patterns": ["Priority of LUA_PATH vs package.path Lua", "Which path is used first Lua", "Lua module path precedence"],
"responses": ["LUA_PATH environment variable takes precedence over the built-in 'package.path'."]
},
{
"tag": "lua_module_package_path_multiple_env",
"patterns": ["Multiple LUA_PATH values", "Set several module paths Lua", "Combine LUA_PATH values"],
"responses": ["Separate multiple paths in LUA_PATH with ';' just like 'package.path'."]
},
{
"tag": "lua_module_package_path_env_reset",
"patterns": ["Reset LUA_PATH environment variable", "Restore default LUA_PATH Lua", "Unset LUA_PATH"],
"responses": ["Unset LUA_PATH or restart your shell to restore the default module path."]
},
{
"tag": "lua_module_package_path_env_security",
"patterns": ["LUA_PATH security Lua", "Safe environment variable for modules Lua", "Avoid insecure LUA_PATH"],
"responses": ["Set LUA_PATH to trusted directories only to avoid loading malicious modules."]
},
{
"tag": "lua_module_package_path_env_debug",
"patterns": ["Debug LUA_PATH Lua", "Print LUA_PATH variable Lua", "Check LUA_PATH value"],
"responses": ["Use 'os.getenv(\"LUA_PATH\")' to print the current LUA_PATH value."]
},
{
"tag": "lua_module_package_path_env_example",
"patterns": ["Example LUA_PATH value", "Set LUA_PATH example Lua", "LUA_PATH usage sample"],
"responses": ["Example: 'export LUA_PATH=\"./?.lua;/usr/share/lua/5.3/?.lua\"'."]
},
{
"tag": "lua_module_package_path_env_windows",
"patterns": ["Set LUA_PATH on Windows", "Windows LUA_PATH variable Lua", "LUA_PATH in Windows environment"],
"responses": ["Set LUA_PATH in Windows using 'set LUA_PATH=path1;path2' in cmd or via system settings."]
},
{
"tag": "lua_module_package_path_env_linux",
"patterns": ["Set LUA_PATH on Linux", "Linux LUA_PATH variable Lua", "LUA_PATH in Linux environment"],
"responses": ["Set LUA_PATH in Linux using 'export LUA_PATH=path1;path2' in your shell."]
},
{
"tag": "lua_module_package_path_env_mac",
"patterns": ["Set LUA_PATH on macOS", "macOS LUA_PATH variable Lua", "LUA_PATH in Mac environment"],
"responses": ["Set LUA_PATH in macOS using 'export LUA_PATH=path1;path2' in your shell."]
},
{
"tag": "lua_module_package_path_env_permanent",
"patterns": ["Set LUA_PATH permanently", "Permanent LUA_PATH Lua", "Save LUA_PATH for all sessions"],
"responses": ["Add LUA_PATH to your shell profile (e.g., .bashrc, .zshrc) for permanent effect."]
},
{
"tag": "lua_module_package_path_env_temp",
"patterns": ["Set LUA_PATH temporarily", "Temporary LUA_PATH Lua", "One-time LUA_PATH setting"],
"responses": ["Set LUA_PATH in your shell before running Lua for a temporary change."]
},
{
"tag": "lua_module_package_path_env_script",
"patterns": ["Set LUA_PATH in Lua script", "Change LUA_PATH from code", "Modify environment variable Lua"],
"responses": ["Use 'os.setenv' if available, or set 'package.path' directly in your script."]
},
{
"tag": "lua_module_package_path_env_script_override",
"patterns": ["Override LUA_PATH in script", "Lua script set module path", "Script-level module path Lua"],
"responses": ["Set 'package.path' at the top of your script to override the environment variable."]
},
{
"tag": "lua_module_package_path_env_script_restore",
"patterns": ["Restore LUA_PATH after script", "Reset module path after Lua script", "Undo script path changes Lua"],
"responses": ["Store the original 'package.path' and restore it at the end of your script."]
},
{
"tag": "lua_module_package_path_env_script_debug",
"patterns": ["Debug module path in Lua script", "Print module path in script Lua", "Show package.path in code"],
"responses": ["Use 'print(package.path)' in your script to debug the module path."]
},
{
"tag": "lua_module_package_path_env_script_example",
"patterns": ["Example of setting module path in Lua script", "Lua script module path sample", "Set package.path in code"],
"responses": ["Example: 'package.path = \"./?.lua;\" .. package.path'."]
},
{
"tag": "lua_module_package_path_env_script_best_practices",
"patterns": ["Best practices for module path in Lua script", "Organize module path in code Lua", "Lua script module path tips"],
"responses": ["Set 'package.path' early in your script and restore it if you change it."]
},
{
"tag": "lua_module_package_path_env_script_security",
"patterns": ["Secure module path in Lua script", "Safe package.path in code Lua", "Avoid insecure paths in script"],
"responses": ["Only add trusted directories to 'package.path' in your scripts."]
},
{
"tag": "lua_module_package_path_env_script_troubleshoot",
"patterns": ["Troubleshoot module path in Lua script", "Lua script require not working", "Fix module path in code"],
"responses": ["Check 'package.path', file locations, and module names in your script."]
},
{
"tag": "lua_module_package_path_env_script_symlink",
"patterns": ["Symlinked modules in Lua script", "Require symlinked file Lua", "Lua script and symlinks"],
"responses": ["Lua can require symlinked modules if the path resolves to a valid file."]
},
{
"tag": "lua_module_package_path_env_script_case",
"patterns": ["Case sensitivity in Lua script module path", "Lua script require case", "Module name case in code"],
"responses": ["Use correct case for module names, especially on Unix-like systems."]
},
{
"tag": "lua_module_package_path_env_script_unicode",
"patterns": ["Unicode module path in Lua script", "Non-ASCII module names in code Lua", "International modules in script"],
"responses": ["Lua supports Unicode in module paths if the OS and filesystem support it."]
},
{
"tag": "lua_module_package_path_env_script_env_var",
"patterns": ["Read LUA_PATH from Lua script", "Get environment variable in Lua", "os.getenv LUA_PATH"],
"responses": ["Use 'os.getenv(\"LUA_PATH\")' to read the environment variable in your script."]
},
{
"tag": "lua_module_package_path_env_script_env_var_set",
"patterns": ["Set environment variable from Lua script", "os.setenv in Lua", "Change LUA_PATH from code"],
"responses": ["Lua does not have a standard 'os.setenv'; use shell or FFI for advanced use."]
},
{
"tag": "lua_module_package_path_env_script_env_var_restore",
"patterns": ["Restore environment variable after Lua script", "Reset LUA_PATH after code", "Undo env var changes Lua"],
"responses": ["Restore the original value after your script if you change environment variables."]
},
{
"tag": "lua_module_package_path_env_script_env_var_debug",
"patterns": ["Debug environment variable in Lua script", "Print LUA_PATH in code", "Show env var in Lua"],
"responses": ["Use 'print(os.getenv(\"LUA_PATH\"))' to debug the environment variable."]
},
{
"tag": "lua_module_package_path_env_script_env_var_example",
"patterns": ["Example of reading env var in Lua script", "Lua script get LUA_PATH sample", "os.getenv example Lua"],
"responses": ["Example: 'local path = os.getenv(\"LUA_PATH\")'."]
},
{
"tag": "lua_module_package_path_env_script_env_var_best_practices",
"patterns": ["Best practices for env var in Lua script", "Use environment variable in code Lua", "Lua script env var tips"],
"responses": ["Read environment variables at the start of your script and avoid changing them unless necessary."]
},
{
"tag": "lua_module_package_path_env_script_env_var_security",
"patterns": ["Secure use of env var in Lua script", "Safe LUA_PATH in code", "Avoid insecure env var Lua"],
"responses": ["Validate environment variable values before using them in your script."]
},
{
"tag": "lua_module_package_path_env_script_env_var_troubleshoot",
"patterns": ["Troubleshoot env var in Lua script", "Lua script env var not set", "Fix LUA_PATH in code"],
"responses": ["Check your shell and environment settings if LUA_PATH is not set as expected."]
},
{
"tag": "lua_module_package_path_env_script_env_var_symlink",
"patterns": ["Symlinked env var in Lua script", "LUA_PATH with symlinks in code", "Lua script env var and symlinks"],
"responses": ["LUA_PATH can include symlinked directories if the OS supports them."]
},
{
"tag": "lua_module_package_path_env_script_env_var_case",
"patterns": ["Case sensitivity of env var in Lua script", "LUA_PATH case in code", "Env var name case Lua"],
"responses": ["Environment variable names are case-sensitive on Unix-like systems, not on Windows."]
},
{
"tag": "lua_module_package_path_env_script_env_var_unicode",
"patterns": ["Unicode in env var in Lua script", "Non-ASCII env var value Lua", "International env var in code"],
"responses": ["Lua supports Unicode in environment variable values if the OS supports it."]
}
]
}