What sort of APIs should I connect my functiom calling example model to? So far it's connected to wikipedia so that it can look up the latest facts

@mauve
ok another dumb suggestion , does the llm have an api? can you use its api to write apis for other apis ? uhm ... can the llm write an api and then follow it? er like what would be the minimal set of api calls for an llm to write a more complex api also hmm

@fleeky Not yet! It can generate text based on some initial text. You can tell it to generate somw code. You can also tell it that if it generates some JSON in a specific format that you'll call the function for it and put the result back in for it to generate more text after. It could be possible for it to call a function thar saves some code and another function to invoke it, but it's harder to keep it focused long enough with small models

Follow

@fleeky the code they generate is also often subtly or glaringly wrong

@mauve yeah ecpecially local models unfortunately ,

i am consistently sort of shocked at how good gpt4 generates bash scripts and python code (it uses python to do math for instance)

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.