callawaycloud / llm-apex-agents Goto Github PK
View Code? Open in Web Editor NEWRun Large Language Model "Agents" in Salesforce apex
License: MIT License
Run Large Language Model "Agents" in Salesforce apex
License: MIT License
Hi, I am getting errors while deploying the repo to the developer org. Can you please list the steps to deploy?
I have tried deploying the whole main folder from VS Code Windows environment and got the error
"force-app\main\observability\appMenus\AppSwitcher.appMenu-meta.xml In field: AppMenuItem.Name - no ConnectedApp named CPQIntegrationUserApp found"
Moreover, when I deploy using the sfdx force:mdapi:deploy --deploydir main --wait 1000 I get "package.xml not found error". Please help
Currently, if OpenAI returns a 429, the agent exits can cannot be restarted. I might be worth handling this failure by retying the request with a backoff.
Implementing #4 would reduce this issue as the agent could just be restarted.
When I prompt the agent to create a record of a standard or custom object, the action is performed, however the agent does it in a loop until the Queue able job aborts or till maximum heap size is reached.
Note that in this chain, the record was created thrice before timing out. Am I supposed to prompt it better or is anyone else observing this issue?
Being able to suspend and reanimate agents would really open up the possibility for a lot.
Beyond just recovering from failures, this would be required for "Action Approval" (#6), "User Feedback", "async actions" (such as asking the user for specific input).
Unfortunately, the use of interface
is going to make this more challenging as non-concrete types cannot be deserialized...
Should also consider if we can suspend a whole "Stack" of agents to support multi-agent use cases.
For production use, you probably would want some way of approving agent actions before they are executed.
When setting up the tools, you could specify which actions the agent can run without approval.
Would need to modify the current tool registration a bit:
void registerTool(String cmd, IAgentTool tool, Boolean requireApproval)
This break also could also be a chance to provide user feedback and to modify the action the agent is requesting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.