MatNeuronAI is an LLM integrated with the MatNeuron.js simulator. It is designed to assist in the creation, simulation, and analysis of neuronal and biomechanical models.
- Natural language model description processing
- Automated NMODL code generation from descriptions
- Intelligent parameter suggestion system
- Context-aware documentation generation
- Model similarity matching
- Parameter optimization
- Behavioral pattern recognition
- Cross-domain model mapping
- Interactive model refinement through dialogue
- Automated conversion between MATLAB/NEURON/Python and JavaScript formats
- Performance optimization suggestions
- Related research paper recommendations
-
User Intent Analysis
- Natural language processing of model requirements
- Context extraction from scientific descriptions
-
Model Matching
- Pattern matching against existing model databases
- Similarity scoring using embedding vectors
-
Implementation Synthesis
- Automated code generation for matched models
- Parameter space exploration
- Integration with existing components
-
Continuous Learning
- User feedback incorporation
- Model performance tracking
- Community contribution analysis
- The user defines a topic, e.g., in Biomedical Engineering.
- The MatNeuronAI agent suggests relevant entries from an online or offline encyclopedia, such as Wikipedia or other resources like the Encyclopedia of Biomaterials and Biomedical Engineering.
- The user selects which entries to use, and an annotation link is added to the main simulation.
- The user defines, step-by-step, the details they need from each selected entry.
- Sample code from various sources (e.g., Matlab/Octave, NEURON, Python, JavaScript) is displayed.
- Any mathematical simulation is detected by MatNeuronAI and flagged for curation.
- MatNeuronAI suggests entries from online or offline mathematical encyclopedias, such as Wikipedia or other resources like The Encyklopädie der Mathematischen Wissenschaften mit Einschluss ihrer Anwendungen by F. Klein.
- The user confirms the entries, and an annotation link is added to each math function.
- Using MatNeuronAI, the user can add, edit, save, or delete code iteratively.
- Using platforms like MatBook.js, the user can run the code and integrate it with other code.
Make sure you have your openAPI key in .env/openai_key.
For the current under development version test using:
cd src/__test__
ts-node assistant.ts