Sharepoint Node
Integrate SharePoint with Stack AI knowledge bases. Easily access, manage, and automate workflows involving SharePoint data for better decision-making.
What is a Sharepoint node?
A Sharepoint node is a knowledge base that you can use to store static documents (i.e., that don’t change). The files uploaded to the Knowledge Base node can be reused across multiple flows. All created knowledge bases are automatically synced to the Knowledge Base Dashboard.
Sharepoint Node Settings
By clicking on the settings icon, you can access the settings modal. Here you can do the following:
Search Parameters
- Output format: options are chunks, pages, and docs.
- Top Results: number of search results ranked by relevance.
- Max Characters: number of characters sent to the LLM.
- Answer Multiple Questions: enable to get the answer from multiple questions in parallel.
- Search Algorithm: by default, the system uses
semantic
. You can also choosekeyword
orhybrid
. - Advanced Q&A: handle questions to compare or summarize documents.
- Rerank: enable to get more precise information retrieval.
- Transfrom Query: enable to get more precise information retrieval.
Upload Parameters
- Model for Embeddings: as default, the
text-embedding-3-large model
from OpenAI is selected. However, you will have the option to select the following ones:azure-text-embedding-ada-002
,bert-base-cased
,all-mpnset-base
,palm2
and more. - Chunking algorithm: by default, the system uses
sentence
. You can also choosenaive
. - Chunk overlap: by default, the system uses
500
. You can also choose as many as you want up to4500
by clicking the number and editing it. - Chunk length: by default, the system uses
2500
. You can also choose as many as you want up to4500
by clicking the number and editing it. - Advanced Data Extraction: for complex data like tables, images, charts.
- Text in imgs (OCR): by default, this option is deselected. Enable it if you want to extract text from imgs that are present in your documents.
- Embeddings API key: by default, the text field is empty. Stack AI’s API key are used. If you would like to use yours, then include your API key in this text field.
Connect to your Sharepoint account
When you first create a Sharepoint node, you will see a button to connect your Sharepoint account. Click to grant Stack AI access to your Sharepoint.
Pick files to upload
After creating your connection, you will see a list of files in your Sharepoint. You can select the files you want to upload to Stack AI by clicking the checkbox next to the file name. Be aware that the more files you select, the longer it will take to upload them.
File statuses
You will see a label for each document that you upload with the following meaning:
- Pending: the document is being processed and indexed.
- ✅: the document was successfully indexed.
- Error: the document could not be indexed (e.g., due to a formatting issue).
How to use it?
How to connect with other nodes
To utilize the Sharepoint node, you must establish connections to both its input and output edges:
Input: This node necessitates a text input. Typically, you would connect the input to an LLM or Input node.
Output: This node outputs chunks of information. Typically, you would connect the output to an LLM or Output node.