ForceGPT is tool that harnesses the power of OpenAI's GPT models to seamlessly perform tasks in Salesforce based on natural language user expressions. This tool is capable of executing tasks, generating new tasks based on the results, and dynamically prioritizing them in real-time.
Watch the intro video here - https://www.rsforce.net/post/forcegpt-your-true-salesforce-assistant
- 🌐 Executes actions on salesforce.
- Dynamic task creation and prioritization.
- Debug Logs.
- Addition of new components support is easy and extensible.
This is in highly prototype phase and currently supports following few use cases:
- 🔍 Performs query against salesforce from natural language user input.
- 💾 Updates custom metadata type and custom fields
- Deletes Apex debug logs.
- describes sobject.
- 🧠 Generates and executes apex. If you can craft a clear question, you can acheive almost anything from here.
- Get your OpenAI API key from: https://platform.openai.com/account/api-keys.
- It is strongly recommended to setup a monthly budget.
Install the application by clicking the button below:
This will automatically create an app with desired addons and features.
- From your app dashboard, navigate to the settings page.
- Click 'Reveal Config vars'.
- Input the API key under OPENAI_API_KEY variable.
- If you do not want the debug logs to be sent to LLM(ChatGPT), set the BEAUTIFY_DEBUG_LOGS to false.
- Install the unmanaged package - https://login.salesforce.com/packaging/installPackage.apexp?p0=04tDn0000006uR2
- Update the Named credential.
- From setup, navigate to the named credential.
- Open 'Force GPT'. This is a legacy one as no authentication is involved.
- Edit the endpoint and substitue your heroku app name created in previous step.
- Navigate to the tab 'ForceGPT'.
- Enjoy tasking!
Spare us a coffee! If you'd like to sponsor this project and have your avatar or company logo appear below click here.
This is an experimental project that aims to demonstrate the capabilities of LLMs.
- As it is not trained in any org data and chatGPT is a general LLM, use API names for all the components to acheive the desired result.
- It currently uses gpt-3.5-turbo, which is not as accurate as GPT-4 model. So if it produces any unexpected result, try asking the same thing again.
- If the component or command is not supported, then it answers the questions as a general Question Answering.
- The database model used to store the user query and response has the primary key of salesforce user Id. Hence if multiple users use the same salesforce user to chat with same app, then there will be inconsistencies.
- DO NOT USE IN PRODUCTION YET.
- Any data that is queried from salesforce remain at the tool level and not exposed to the LLM. The debu logs that are summarized as part of Apex execution can be turned down by a setting.
- User inputs are fed into the LLM.
V2:
- Use GPT-4 model for better accuracy.
- Display user friendly responses in Salesforce UI.
- Use the LLM to generate tasks.
- Enrich the NodeJs app to output debug information to salesforce.
- Memory management and vector search.
- Utilize full power of LangChain AI
- Better error handling.
V3:
- Fine-tune a base model for salesforce specific tasks - all of th above tasks.
This project, ForceGPT, is an experimental application and is provided "as-is" without any warranty, express or implied. By using this software, you agree to assume all risks associated with its use, including but not limited to data loss, system failure, or any other issues that may arise.
The developers and contributors of this project do not accept any responsibility or liability for any losses, damages, or other consequences that may occur as a result of using this software. You are solely responsible for any decisions and actions taken based on the information provided.
We believe in the power of collaboration and community-driven development. We need your help to ensure this initiative is better maintained.
By contributing to our project, you become an integral part of a vibrant community of developers, designers, and enthusiasts. Here are some reasons why you should get involved:
-
Make a Meaningful Impact: Your contributions can have a significant impact on the project's functionality, usability, and overall quality. You can help shape the future of the software and improve it for users worldwide.
-
Learn and Grow: Working on an open source project offers valuable learning opportunities. You can gain hands-on experience with cutting-edge technologies, collaborate with skilled individuals, and sharpen your coding, testing, and documentation skills.
-
Networking and Recognition: By contributing to our project, you'll connect with like-minded individuals, expand your professional network, and enhance your reputation as a skilled developer. Your contributions will be recognized and appreciated by the community.
-
Give Back to the Community: Open source projects thrive on the collective effort of volunteers. Contributing your time and expertise is a way to give back to the community that has provided you with free and open tools and software.
Contributing is easy, and there are many ways to get involved:
-
Bug Reports and Feature Requests: Help us improve the project by reporting bugs and suggesting new features. Visit our issue tracker to submit your findings or ideas.
-
Code Contributions: Whether you're a beginner or an experienced developer, we welcome code contributions of all sizes. Check out the open issues and pick one that interests you. If you have an idea for an improvement, feel free to submit a pull request.
-
Documentation: Clear and comprehensive documentation is crucial for any project's success. Help us improve our documentation by fixing errors, adding examples, or writing new sections.
-
User Support: Join our community forum or discussion channels to help answer questions from users, provide guidance, and share your expertise.
-
Spread the Word: If you find value in our project, help us reach more people by sharing it on social media, writing blog posts, or presenting it at conferences or meetups.
Ready to jump in and contribute? Feel free to reach out to us through following platforms:
- Discord - will be shared soon
- Email - will be shared soon
- Telegram - will be shared soon
Thank you for considering joining us in maintaining this open source project. Together, we can create something amazing!
Happy coding!