-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Outline
Add optional AI support that can help users writing OpenSCAD scripts. There are a number of ways AI models can help, e.g. by assisting with trigonometry and other math problems, explaining existing scripts users want to modify or describing image output for vision impaired users.
Details
There is already a simple prototype for a chat window that can be used a the base for the project.
Scope of the project:
- Focus on interfacing with local models (e.g. via a local Ollama instance)
- Basic chat interaction
- Optional sending the current script with the chat message
- Optional sending of the current view-port along with the chat message
Non-Goals:
- Integrating with commercial cloud providers
- Training or modifying AI models
- Using Python for AI interactions
Expected Outcome
Simple functionality for AI chat with some basic support for interacting with the current OpenSCAD project.
Future Possibilities
Extend the functionality by allowing the AI to interact directly with the current code using function calling.
Project Properties
Skills
- Programming language is C++
- Understanding of network APIs using JSON for encoding data
- Basic understanding on AI and how it is accessed from an application
Difficulty
Medium
Size
Long (350h)
Additional Information
Potential mentor(s): Marius Kintel (IRC: kintel), Torsten Paul (IRC: teepee), Ryan Colyer (IRC: InPhase)
Organization website: https://www.openscad.org/
Links:
- Prototype Pull Request: Ai chat window openscad/openscad#6118
- Ollama API: https://github.com/ollama/ollama/blob/main/docs/api.md
- Ollama tool calling: https://docs.ollama.com/capabilities/tool-calling