Skip to content

DeligenceTechnologies/Salesforce-MarkPrompt-Integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b299de7 · Nov 21, 2023

History

7 Commits
Nov 21, 2023
Nov 21, 2023

Repository files navigation

What is MarkPrompt

It is a set of API endpoints that allow you to index your content and create LLM-powered apps on top of it, such as a prompt or an instant search on your docs site.

Salesforce-MarkPrompt Integration

By integrating Markprompt with Salesforce we can directly train the Markprompt from Salesforce Org with Zip file or text file. And then we can use that data to get answers to questions related to the content provided by us to MarkPrompt

Steps to install This functionality

  • Signup on Markprompt to get the token and Development key
  • Clone this repo or download it as a zip file
  • Open the downloaded folder in VS Code
  • Authorize an Org
  • Make changes in the Apex class according to the comments provided in the code(change token and development key)
  • Push all metadata to org (sfdx force:source:push)
  • Create Tabs for Aura Components (AskAI comp. and TrainMarkPrompt comp.)
  • Add the Tabs to your App.

Usage

  • Use the Train MarkPrompt Component to train the Data to MarkPrompt with the help of Zip File or Text File (or if you want to provide Github repo to train Markprompt then you can directly do it from MarkPrompt Account). image

  • With the help of Ask AI component we can get answers to the questions we have. image

** Note- It will only provide the answer to the question asked if it finds the related content in the data provided by us to train MarkPrompt