Discussion ChatGPT Can help writing Code for Orbiter

Would you mind giving some of your promts for Claude Code?

Sure. You have to be realistic in what you can do with CC. Although the AI is very smart and can make up for lack of domain knowledge, it can still make bad decisions and you have to be knowledgeable enough to push back in those cases and redirect.

Having said that, turn orbiter api reference into a text based md file. Then tell CC to scan the orbitersdk samples dir and learn from all the code there. Once it does that ask it to create a md file with everything it learnt so it can use it for reference in the future.

Congratulations! If you followed the above steps, Claude code will now be appropriately configured to do addon development.
 
I just gave this prompt to my AI agent:
pls see C:\projects\gollm. Use the go engine along with qwen 0.6b to create a chat MFD in Orbiter that I can use to talk to the LLM. I have visual studio 2022 installed, please build orbiter plugin dll and place it in c:\orbiter\modules\plugin\chatmfd.dll. Take a look at the code/orbiter sdk to determine how to do stuff.


I have not opened Visual Studio. The model read orbiter sdk, wrote the MFD code, wrote the VS Project/Solution files, compiled, saw linking error, read the pre-built property files, found out it must link with orbiter.lib/orbitersdk.lib, built the project, copied the file over to plugin dir all in 1 shot.

I bought this particular model coding plan for like $30/year, it's the GLM 4.7 model by zai.

Just thought I'd share. This is running off an inference engine I built from scratch in golang.

1770684644488.png
 
Back
Top