appatalks/chatgpt-html

chatgpt-turbo functions and 16k-model

Closed this issue · 3 comments

Just got a notification about some new features that I think is exactly what I need to get Google Lens into play.

Something about introduced Functions and a new 16 model. (still waiting for gpt4 access)

Will explore in a bit.

https://community.openai.com/t/gpt-3-5-turbo-0613-function-calling-16k-context-window-and-lower-prices/263263

hmmmm so their functions would replace my keyword calls if I understand this right.
https://platform.openai.com/docs/guides/gpt/function-calling
https://github.com/openai/openai-cookbook/blob/main/examples/How_to_call_functions_with_chat_models.ipynb

seems like its does essentially the same thing. In their example they structure the responses with sql data that is already compiled and send it back with the user content role. My way seems .... less complicated. Ill dig into "functions" more, later.

...

I might use this as a test case:
With function calling, developers can now more easily build chatbots capable of calling external tools, converting natural language into external API calls, or making database queries. For example, it can convert prompts such as, "Email Anya to see if she wants to get coffee next Friday" into a function call like, "send_email(to: string, body: string)." In particular, this feature will also allow for consistent [JSON](https://en.wikipedia.org/wiki/JSON)-formatted output, which API users previously had difficulty generating.
https://arstechnica.com/information-technology/2023/06/openai-rolls-out-big-chatbot-api-upgrades-for-developers/

My current method pulls external sources for information. This new method gave me ideas to push data probably more reliably (that consistent json format response), but it should be possible to do the same thing without functions.

Ill need time to play with this idea.

ADDED: "gpt-3.5-turbo-16k"

Functions are buggy per the community atm.
Happy with keywords and other API integrations (vision, goggle search, etc.)
Will reopen later when some new ideas come to me for using the Functions attributes.