-
Notifications
You must be signed in to change notification settings - Fork 2
Bauriemma/docs bash 7 14 25 #214
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
91bff0e
quick start text for attaching data
benauriemma fb5d101
advanced settings
benauriemma 9b44ce8
screenshot
benauriemma b561b1e
BA refresh
benauriemma c24dc06
Update fern/docs/pages/guides/agents/quick-start.mdx
rb0000 a2796ed
Update fern/docs/pages/guides/bulk-analysis.mdx
rb0000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,21 +88,28 @@ _--------- End Context ---------_ | |
</AccordionGroup> | ||
|
||
5. **Data** | ||
The data you provide will be the source of truth for your agent. Your agent will rely on this data (along with the prompt and Q&A pairs) to answer user queries. There are two types of data you can specify here: | ||
The data you provide will be the source of truth for your agent. Your agent will rely on this data (along with the prompt and Q&A pairs) to answer user queries. You should provide your Agent with sufficient data relevant to its area of expertise. The data you attach is the most important source of knowledge for the agent. | ||
|
||
There are two ways you can provide data to the agent: | ||
|
||
- **Searchable Sources** | ||
You should provide your Agent with sufficient data relevant to its area of expertise. It will search these sources for information relevant to user questions, and pass just the most relevant information to the AI model. Use the toggle to enable searchable sources and use the search bar to add sources. | ||
- **Attach Data** | ||
This allows you as the agent bulder to specify which data sources your agent should consider. You can choose with sources to attach either by searching for them by name or by pasting a link to the source. | ||
|
||
<Frame caption="We provided our infosec agent with all of Credal's information security documentation."> | ||
<img src="/docs/assets/copilots/copilot-searchable-data.png" /> | ||
</Frame> | ||
For the most important sources, you may want to "Bookmark" these sources by clicking the yellow pin icon as shown below. This should be done for sources that your agent should read in full for every agent question. Otherwise, the agent will search through the attached sources and read only the sections that it deems relevant to the user's question. | ||
|
||
- **Pinned Data** | ||
By pinning data sources, you instruct your agent to pass the full contents of the document to the AI for every user question. You should use this for documents where the entire document is relevant to most questions you expect your agent to address. | ||
<Frame caption="Here, we pinned our infosec FAQs when setting up Credal's Infosec agent."> | ||
<img src="/docs/assets/copilots/copilot-pinned-data.png" /> | ||
<img src="/docs/assets/copilots/copilot-attached-data.png" /> | ||
</Frame> | ||
|
||
- **User Inputs** | ||
Alternatively, you may want to allow the user to attach one or more source documents at the time of their question. For example, you may create an agent for generating meeting notes based on a transcript, and you want to allow your user to provide a different transcript each time they use the agent. This can be accomplished by creating a user input. | ||
|
||
- **Advanced Settings** | ||
There are some advanced setting you can use to control how your agent searches through the attached data. For most use cases, you should leave the default settings. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo: 'advanced setting' should be 'advanced settings' and 'relevent' should be 'relevant'. |
||
|
||
For advanced use cases, you can specify how many of the most relevent chunks (a chunk is roughly 2-3 sentences) the agent should read. You can also set a relevancy score cutoff. | ||
|
||
|
||
### Deploy Your Agent to Slack | ||
|
||
Once you have a agent set up, you can use it directly in Credal, or deploy it to Slack or other tools through the API. You can set up a deployment in the “Deploy” tab. For this short guide, we'll cover Slack only; please refer to the detailed guide for the other options. | ||
|
130 changes: 0 additions & 130 deletions
130
fern/docs/pages/guides/bulk-analysis-in-depth-guide.mdx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.