8000 GitHub - evopimp/geauxcat
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

evopimp/geauxcat

Repository files navigation

Learning Style Plugin

vark analysis
learning styles
learning analytics

A plugin that analyzes and assesses learning styles using machine learning techniques.

Features

  • Real-time learning style assessment
  • Adaptive content delivery
  • Support for multiple learning style models
  • Confidence scoring for predictions

Installation

  1. Ensure you are using Python 3.10:

    python --version
  2. Clone this repository into your Cat's plugins folder:

    git clone https://github.com/[your_github_account]/learning-style-plugin.git
  3. Install dependencies:

    pip install -r requirements.txt
  4. Initialize the plugin:

    cd learning-style-plugin
    python setup.py

Usage

To use the plugin, follow the setup guide and integrate it with your Cheshire Cat instance.

Tools

Assess Learning Style

from learning_assessor import assess_learning_style
tool_input = {"length": 120, "complexity": 3}
print(assess_learning_style(tool_input, cat))

Detect Learning Style from Conversations

from learning_assessor import detect_learning_style
chat_data = {"features": [1, 2]}
print(detect_learning_style(chat_data, cat))

Explain Learning Styles

from learning_assessor import explain_learning_style
print(explain_learning_style("Visual", cat))

Recommend Learning Resources

from learning_assessor import recommend_learning_resources
print(recommend_learning_resources("Visual", cat))

Utility Functions

Get Model Path

from learning_assessor import get_model_path
print(get_model_path())

Get Last Learning Update

from learning_assessor import get_last_learning_update
print(get_last_learning_update())

Format Learning Style

from learning_assessor import format_learning_style
print(format_learning_style("visual_learning"))

Generate Learning Prompt

from learning_assessor import generate_learning_prompt
user_data = {"role": "teacher", "learning_style": "visual"}
print(generate_learning_prompt(user_data))

Get Learning Resource URL

from learning_assessor import get_learning_resource_url
print(get_learning_resource_url("example_resource"))

Managing Plugin Settings via API

Retrieve Current Settings

curl -X GET "http://localhost:1865/settings"

Update Settings Dynamically

curl -X PUT "http://localhost:1865/settings/{settingId}" \
     -H "Content-Type: application/json" \
     -d '{"min_confidence": 0.9, "update_frequency": 5}'

Create a New Setting

curl -X POST "http://localhost:1865/settings" \
     -H "Content-Type: application/json" \
     -d '{"model_type": "random_forest", "min_confidence": 0.7, "update_frequency": 7}'

Fetch All Plugin Settings

curl -X GET "http://localhost:1865/settings/all"

Delete an Existing Setting

curl -X DELETE "http://localhost:1865/settings/{settingId}"

API Endpoints

Get Learning Style

curl -X GET "http://localhost:1865/learning-style"

Start Assessment

curl -X POST "http://localhost:1865/start-assessment"

Get Next Question

curl -X GET "http://localhost:1865/next-question"

Submit Answer

curl -X POST "http://localhost:1865/submit-answer" \
     -H "Content-Type: application/json" \
     -d '{"answer": "visual"}'

Finalize Assessment

curl -X POST "http://localhost:1865/finalize-assessment"

Plugin Settings

Model Configuration

  • model_type: Machine learning model type (random_forest, neural_network, svm)
  • model_confidence_threshold: Minimum confidence for predictions (0.0-1.0)
  • model_update_frequency: Days between model updates

Assessment Configuration

  • min_questions_required: Minimum questions for valid assessment
  • max_questions_per_session: Maximum questions per session
  • allow_style_override: Allow manual style overrides
  • default_learning_style: Default style (Visual, Auditory, Reading, Kinesthetic)

Content Adaptation

  • enable_content_adaptation: Enable/disable content adaptation
  • include_style_hints: Show learning style hints in responses
  • adaptation_strength: Strength of content adaptation (0.0-1.0)

API Settings

  • enable_api_endpoints: Enable/disable API endpoints
  • require_authentication: Require auth for API calls
  • last_model_update: Date of last model update

Managing Settings via API

# Get current settings
curl -X GET "http://localhost:1865/plugin-settings"

# Update settings
curl -X PUT "http://localhost:1865/plugin-settings" \
     -H "Content-Type: application/json" \
     -d '{
       "model_confidence_threshold": 0.8,
       "max_questions_per_session": 5
     }'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0