Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function calling (Learn how to connect large language models to external tools using this framework.) #36

Open
Jeky-GC opened this issue Oct 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Jeky-GC
Copy link

Jeky-GC commented Oct 13, 2024

Function calling allows you to connect models like locally trained Models to external tools and systems. This is useful for many things such as empowering AI assistants with capabilities or building deep integrations between your applications and the models.

Can we do this using the existing code of LLM.swift?
if not then can we able to integrate this feature?

my functionality is locally added LLM model in device that gives me output in the form of structure JSON.

Sample Function
{ "name": "get_delivery_date", "description": "Get the delivery date for a customer's order. Call this whenever you need to know the delivery date, for example when a customer asks 'Where is my package'", "parameters": { "type": "object", "properties": { "order_id": { "type": "string", "description": "The customer's order ID.", }, }, "required": ["order_id"], "additionalProperties": false, } }

@eastriverlee eastriverlee added the enhancement New feature or request label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants