29

video descriptionThe video shows the Godot code editor with some unfinished code. After the user presses a button offscreen, the code magically completes itself, seemingly due to an AI filling in the blanks. The examples provided include a print_hello_world function and a vector_length function. The user is able to accept and decline the generated code by pressing either tab or backspace

This is an addon I am working on. It can help you write some code and stuff.

It works by hooking into your local LLMs on ollama, which is a FOSS way to run large language models locally.

Here's a chat interface which is also part of the package

video descriptionThe video shows a chat interface in which the user can talk to a large language model. The model can read the users code an answer questions about it.

Do you have any suggestions for what I can improve? (Besides removing the blue particles around the user text field)

Important: This plugin is WIP and not released yet!

top 6 comments
sorted by: hot top controversial new old
[-] WhiskyTangoFoxtrot@lemmy.world 4 points 14 hours ago
[-] Smorty@lemmy.blahaj.zone 3 points 13 hours ago

Ollama is really great. The simplicity of it, the easy use via REST API, the fun CLI...

What a fun program.

[-] Deceptichum@quokk.au 3 points 21 hours ago

What model are you using with Ollama?

Very interested to give this a try when if you release it.

[-] als@lemmy.blahaj.zone 3 points 21 hours ago

Is there somewhere we can follow for updates?

[-] Smorty@lemmy.blahaj.zone 3 points 21 hours ago* (last edited 21 hours ago)

I will likely post on here when I release the plugin to GitLab and the AssetLib.

But I also don't want to spam this community, so there won't be many, if any updates until the actual release.

If you want to have something similar right now, there is Fuku for the chat interaction and selfhosted copilot for code completion on the AssetLib! I can't get the code completion one to work, but Fuku works pretty well, but can't read the users code at all.

I will upload the files to my GitLab soon though.

EDIT: Updates the gitlab link to actually point to my gitlab page

[-] Smorty@lemmy.blahaj.zone 2 points 22 hours ago* (last edited 22 hours ago)

Just fixed the problem where it inserts too many lines after completing code.

This issue can be seen in the first demo video with the vector example. There are two newlines added for no reason. That's fixed now:

this post was submitted on 29 Sep 2024
29 points (83.7% liked)

Godot

5707 readers
59 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 1 year ago
MODERATORS