After checking on the internet we found few datasets that were available for this specific purpose. However after reviewing the dataset we have some questions regarding the format for prompt and response. And we want to ask for your help before we start the training.
1. Should we include more than one function metadata in the prompt, or just the single one?
We found that the dataset one has one function metadata for each sample, however my intuition is that 2 or 3 might be better, with only one relevant to the query. This way the model might learn to pick the correct function.
2. What should be the correct format for the response?
I know that we should include the function name and the input arguments in the response as the labels, however I’m suggesting to design a proper format that’s easy to parser after the inference call, as we want to implement an openAI API compatible system (we already have the chat API endpoint implemented which works with the openAI client)
Any suggestions and ideas would be appreciated, thanks!
This is the example dataset we’ve looking at right now https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2
I'm interested in how do professionals handle routing, authorization, and code/project management for enterprise-level React or Next.js application, here's a list to describe the situation:
1. The application are for large-scale enterprise (>1000 users), and it's for internal user only 2. The system supposed to handle both transactional and analytical business (like financing, human resource, purchasing, analytics etc.) 3. The system could have hundreds of loosely coupled apps (may or may not correlated to other apps), and can even grow to thousands. 4. User may only have access to a small set of apps related to his/hers role. 5. For a single app, different user might be able to perform different functionalities (display only, create, edit etc) depend on his/hers role.
edit: 1. I understand that we need to do authorization control at backend API level, but we also want to achieve it at UI level, so if a user opens a url but lacks authorization, a message should be displayed instead of the actual app. 2. regarding code management, should we use a single project or different projects, if use different projects, how to best put them together to make it work?