Skip to content

Integrate AI chat for helping users creating OpenSCAD scripts #113

@t-paul

Description

@t-paul

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions