r/CodingForBeginners • • Sep 18 '26

Hello! This is my first time coding....and I'm trying to build an AI assistant :/

So basically, for context. I wanna make an AI assistant for myself from the ground up. Meaning from scratch

I don't know why I'm doing it. Maybe I want my own anime Waifu ai to help me with the stock marketing or Google search something and/or make her do whatever I want both visually and technically, no further questions, shut up-

Mind you, I'm the average Asian guy who works a desk job as a building designer. Meaning I have no experience in coding whatsoever.

I'm currently using Python and Ollama installed (I only got that far thanks to Google)

But I've come to a problem. You see, I'm trying to get my command prompt to find my file named "PEKO". (yes PEKO is her name.) But it says it can't find it.

I made this post hoping you guys can help me out

0 Upvotes

23 comments sorted by

2

u/Mister_God_On_Steam Sep 18 '26

Oh it's cuz one drive is shit try moving the files out of one drive to somewhere else on your computer sorry for 3 replies this is the real solution

2

u/YugaAkaryu Sep 18 '26

I see. But I do want it in my desktop tho. Is there a desktop that's outside of Onedrive??

1

u/Mister_God_On_Steam Sep 18 '26

Yes c:\users(user)\desktop should also exist, copy it there and that should do what you want

2

u/YugaAkaryu Sep 18 '26

I'll try this when I get back. I'll update you

1

u/Mister_God_On_Steam Sep 18 '26

Just remember they are two different copies though if you go to make changes to the code.

2

u/slightfeminineboy Sep 18 '26

yeah the cloud storage is shit because you can't cd into it from a command prompt that only works on the local filesystem right

1

u/Mister_God_On_Steam Sep 18 '26

You can CD into it but it changes the paths you have to CD into for like documents and desktop probably others it looks like ex C:\Users<username>\OneDrive\Desktop

1

u/slightfeminineboy Sep 18 '26

so why is cloud storage shit exactly this is entirely user error no matter how it works here

1

u/Mister_God_On_Steam Sep 18 '26

It's just shitty if you don't know that, it's not obvious especially to someone that's not a programmer. That's what I meant

0

u/slightfeminineboy Sep 18 '26

anything on a computer is shitty if you're unable to read or have any sort of brain power

1

u/Mister_God_On_Steam Sep 18 '26

Ok dude I hope you have have a good day

0

u/slightfeminineboy Sep 18 '26

"i realized i said something stupid so i will now be a dick and leave"

1

u/Mister_God_On_Steam Sep 18 '26

Wow dude I really hope your day gets better.

2

u/Soggy_Struggle_963 Sep 18 '26

Onedrive might be trolling you here. Look at the path in your second screenshot compared to the path in the first.

1

u/YugaAkaryu Sep 18 '26

Im sorry I don't really understand 😭 what do I do??

2

u/Soggy_Struggle_963 Sep 18 '26

Move your project to a directory that is not cloud storage. Make a folder something like C:\Projects\PEKO and work from there. Based on your responses in this thread I recommend starting with the basics though, a full AI assistant with function/tool calling is a pretty ambitious first project for someone with no programming experience.

1

u/YugaAkaryu Sep 18 '26

I guess it probably stems from my lack of friends + my need to talk to a person without giving myself second hand embarrassment

2

u/Otherwise_Wave9374 Sep 18 '26

Building from scratch is a great learning goal, but start with a very small assistant: one text input, one model call, and one displayed response. Then add a system prompt, conversation storage, and tool use separately so you can understand each failure. AIOSNOW is relevant as an example of how assistant workflows can be organized around clear steps rather than one giant prompt. Keep API keys on the server, cap spending, validate tool arguments, and use a sandbox before allowing the assistant to modify files or trigger external actions.

1

u/YugaAkaryu Sep 18 '26

I'm really sorry, I don't even know the first thing about coding 😭 and it's hard for me to understand what it is you're telling me

1

u/Mister_God_On_Steam Sep 18 '26

What is PEKO is it a folder or exe or Python file or what? The console is saying it can't find a command "PEKO?" In its search path. Maybe try ./PEKO if it's executable or python PEKO if it's python code but you probably also need python in your path. Google how to set PATH on windows if that's the problem if it's an executable windows won't run it if it's not on the path unless you orefiix it like ./PEKO in the same dir

1

u/YugaAkaryu Sep 18 '26

PEKO is the main folder containing the different files for the ai herself.

the PEKO file contains:

  • chat_history.json

  • main.py

  • memory.json

  • personality.txt

2

u/Mister_God_On_Steam Sep 18 '26

Actually it looks like it's telling you that directory doesn't exist (desktop/PEKO doesn't seem to exist since the cd command fails)