h2oai / h2ogpt

Private chat with local GPT with document, images, video, etc. 100% private, Apache 2.0. Supports oLLaMa, Mixtral, llama.cpp, and more. Demo: https://gpt.h2o.ai/ https://gpt-docs.h2o.ai/
http://h2o.ai
Apache License 2.0
11.42k stars 1.25k forks source link

Implement custom function call. #1772

Closed anushaharish538 closed 3 months ago

anushaharish538 commented 3 months ago

Hi,

Can you please tell me how to implement custom function calling like. https://platform.openai.com/docs/guides/function-calling

Thank You Anusha

anushaharish538 commented 3 months ago

hi @pseudotensor Can you please tell me . Please I'm using open_ai

pseudotensor commented 3 months ago

Hi, function calling is now part of h2oGPT OpenAI API, with 'auto' tool_choice, but it's basic at moment.