Skip to content

Conversation

@hejianjun
Copy link

@hejianjun hejianjun commented Jan 29, 2024

Updated the interface of openai, refer to.https://cookbook.openai.com/examples/how_to_call_functions_with_chat_models Let ChatGPT actively obtain the data structure of the table
The next step is to add an automatic option to the front-end component of the selection table, which can automatically obtain the database structure to write sql when selecting.
image

@miahemu miahemu changed the title 修改openai的调用方式,使用function calling(函数调用)减少第一次输入的token大小 Modify the calling method of openai, and use function calling to reduce the size of the first input token. Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant