2
jestdotty
126d

zzzz...

think descriptive function names and doc comments are necessary for AI so it can tell what code is doing

boooring

Comments
  • 2
    @retoor no in js you can do function calls. js is just using ollama REST API and it allows you to specify function calls and their descriptions -- not sure if the js lib you gave has that but the API it uses does and I use rust now and also even in js I could jerry-rig it cuz that's how js works

    I don't mean function calls but if you feed coding data to the LLM and ask it to code something

    ... I actually didn't really understand the ragent store thing tbf. I did see you mention chromadb so I looked that up and had some snippets printed out but I think the solution like this is ugly and stupid. basically you give in the prompt relevant data from the collection. it's not really you merging the data with the model or anything. you're running the prompt input as a lookup against the DB and then pre-pending the DB search results to the AI prompt

    which explains a lot about their behavior. they don't keep consistency if fed varied papers, for example
Add Comment