mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-29 18:08:36 +00:00
docs: integrations/toolkits/office365
notebook update (#14188)
Added more descriptions and authentication details.
This commit is contained in:
parent
0bdb434383
commit
6ae0194dc7
@ -6,9 +6,15 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Office365\n",
|
"# Office365\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
">[Microsoft 365](https://www.office.com/) is a product family of productivity software, collaboration and cloud-based services owned by `Microsoft`.\n",
|
||||||
|
">\n",
|
||||||
|
">Note: `Office 365` was rebranded as `Microsoft 365`.\n",
|
||||||
|
"\n",
|
||||||
"This notebook walks through connecting LangChain to `Office365` email and calendar.\n",
|
"This notebook walks through connecting LangChain to `Office365` email and calendar.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"To use this toolkit, you will need to set up your credentials explained in the [Microsoft Graph authentication and authorization overview](https://learn.microsoft.com/en-us/graph/auth/). Once you've received a CLIENT_ID and CLIENT_SECRET, you can input them as environmental variables below."
|
"To use this toolkit, you need to set up your credentials explained in the [Microsoft Graph authentication and authorization overview](https://learn.microsoft.com/en-us/graph/auth/). Once you've received a CLIENT_ID and CLIENT_SECRET, you can input them as environmental variables below.\n",
|
||||||
|
"\n",
|
||||||
|
"You can also use the [authentication instructions from here](https://o365.github.io/python-o365/latest/getting_started.html#oauth-setup-pre-requisite)."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -17,8 +23,8 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"!pip install --upgrade O365 > /dev/null\n",
|
"!pip install --upgrade O365\n",
|
||||||
"!pip install beautifulsoup4 > /dev/null # This is optional but is useful for parsing HTML messages"
|
"!pip install beautifulsoup4 # This is optional but is useful for parsing HTML messages"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -27,7 +33,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"## Assign Environmental Variables\n",
|
"## Assign Environmental Variables\n",
|
||||||
"\n",
|
"\n",
|
||||||
"The toolkit will read the CLIENT_ID and CLIENT_SECRET environmental variables to authenticate the user so you need to set them here. You will also need to set your OPENAI_API_KEY to use the agent later."
|
"The toolkit will read the `CLIENT_ID` and `CLIENT_SECRET` environmental variables to authenticate the user so you need to set them here. You will also need to set your `OPENAI_API_KEY` to use the agent later."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user