Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think it's a little misleading to say it's compatible with OpenAI because I expect function or tool calling when you say that.

It's nice that you have the role and content thing but that was always fairly trivial to implement.

When it gets to agents you do need to execute actions. In the agent hosting system I started, I included a scripting engine, which makes me think that maybe I need to set up security and permissions for the agent system and just let it run code. Which is what I started.

So I guess I am not sure I really need the function/tool calling. But if I see a bunch of people actually am standardizing on tool calls then maybe I need it in my framework just because it will be expected. Even if I have arbitrary script execution.



The documentation is upfront about which features are excluded: https://github.com/ollama/ollama/blob/main/docs/openai.md

Function calling/tool choice is done at the application level and currently there's no standard format, and the popular ones are essentually inefficient bespoke system prompts: https://github.com/langchain-ai/langchain/blob/master/libs/l...


> Function calling/tool choice is done at the application level and currently there's no standard format,

Is this true for open ai - or just everything else?


I was drawn to Gemini Pro because it had function/tool calling... but it works terribly. (I haven't tried Gemini Ultra yet; unclear if it's available by API?)

Anyway, probably best that they didn't release support that doesn't work.


Gemini Ultra is not available via API yet, at least according to the Google reps we talked with today. There's a waiting list. I suspect they are figuring out how to charge for API access, among other things. The announcement today only seemed to have pricing for the "$20/month" thing.


It makes obvious sense to anyone with experience with OpenAI APIs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: