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

[IDEA] using function calling to integrate more tools #841

Open
thinker007 opened this issue Jul 7, 2024 · 9 comments
Open

[IDEA] using function calling to integrate more tools #841

thinker007 opened this issue Jul 7, 2024 · 9 comments
Labels
upgrade New feature or request

Comments

@thinker007
Copy link

thinker007 commented Jul 7, 2024

Describe the feature you'd like

give agent ability add other tools rather than build search and web browser

for example integrade dify workflow and tools

@thinker007 thinker007 added the upgrade New feature or request label Jul 7, 2024
@sabaimran
Copy link
Member

hey @thinker007 , could you describe more of what you're looking for? Do you want another tool similar to Dify? https://dify.ai/blog/dify-ai-workflow

@thinker007
Copy link
Author

hey @thinker007 , could you describe more of what you're looking for? Do you want another tool similar to Dify? https://dify.ai/blog/dify-ai-workflow

yes dify

@DavidLMS
Copy link

DavidLMS commented Nov 7, 2024

I think it would be beneficial to allow agents to define custom actions in a more generic manner, similar to OpenAI's approach with function calling in GPTs. This would offer greater flexibility for integrating various workflows and tools, extending beyond the built-in options currently available.

@thinker007
Copy link
Author

I think it would be beneficial to allow agents to define custom actions in a more generic manner, similar to OpenAI's approach with function calling in GPTs. This would offer greater flexibility for integrating various workflows and tools, extending beyond the built-in options currently available.

or let devs integrate tools made from dify , we don't need second dify, what we need is integrate dify tools workflow into khoj agents

@thinker007
Copy link
Author

By the way dify can turn tools into rest https api, if khoj can let devs integrate general http service it will be great!

@felipemeres
Copy link

I agree, even a simple implementation of a tool framework that lets users setup different request formats to api endpoints and call them with assigned /commands would be great.

@sabaimran
Copy link
Member

These sound like really great ideas! Can you give me an idea of some tools you'd integrate? What would they do, how would you use them, how would you handle the responses? Be as detailed as possible, as that would help us design the feature.

I think the ideal tool might be something that can be called via an http request, like @thinker007 mentioned, where of course you can define the input parameters / body structure, and how to handle the response.

Unless the tool can just be text in - text out from an LLM.

I think custom code execution would probably be out of scope.

@thinker007
Copy link
Author

These sound like really great ideas! Can you give me an idea of some tools you'd integrate? What would they do, how would you use them, how would you handle the responses? Be as detailed as possible, as that would help us design the feature.

I think the ideal tool might be something that can be called via an http request, like @thinker007 mentioned, where of course you can define the input parameters / body structure, and how to handle the response.

Unless the tool can just be text in - text out from an LLM.

I think custom code execution would probably be out of scope.

Yes out there is plenty of agent tools just like dify, in khoj we just need a good way to integrate them

@felipemeres
Copy link

The External Knowledge feature of Dify could be a good reference. Essentially you setup the api endpoint and any agent can call this function to retrieve its output as context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants