Update docs (#1170)
This commit is contained in:
@@ -4,13 +4,6 @@ title: '📰 PDF'
|
|||||||
|
|
||||||
You can load any pdf file from your local file system or through a URL.
|
You can load any pdf file from your local file system or through a URL.
|
||||||
|
|
||||||
## Setup
|
|
||||||
Install the following packages for loading youtube videos which help in transcription.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pip install pytube youtube-transcript-api
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Load from a local file
|
### Load from a local file
|
||||||
|
|||||||
@@ -2,15 +2,17 @@
|
|||||||
title: '📽️ Youtube Channel'
|
title: '📽️ Youtube Channel'
|
||||||
---
|
---
|
||||||
|
|
||||||
To add all the videos from a youtube channel to your app, use the data_type as `youtube_channel`.
|
## Setup
|
||||||
|
|
||||||
<Note>
|
|
||||||
Make sure you have all the required packages installed before using this data type. You can install them by running the following command in your terminal.
|
Make sure you have all the required packages installed before using this data type. You can install them by running the following command in your terminal.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install -u "embedchain[youtube]"
|
pip install -u "embedchain[youtube]"
|
||||||
```
|
```
|
||||||
</Note>
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
To add all the videos from a youtube channel to your app, use the data_type as `youtube_channel`.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from embedchain import App
|
from embedchain import App
|
||||||
|
|||||||
@@ -2,6 +2,16 @@
|
|||||||
title: '📺 Youtube Video'
|
title: '📺 Youtube Video'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
Make sure you have all the required packages installed before using this data type. You can install them by running the following command in your terminal.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install -u "embedchain[youtube]"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
To add any youtube video to your app, use the data_type as `youtube_video`. Eg:
|
To add any youtube video to your app, use the data_type as `youtube_video`. Eg:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|||||||
@@ -199,18 +199,18 @@
|
|||||||
{
|
{
|
||||||
"group": "API Reference",
|
"group": "API Reference",
|
||||||
"pages": [
|
"pages": [
|
||||||
"api-reference/pipeline/overview",
|
"api-reference/app/overview",
|
||||||
{
|
{
|
||||||
"group": "Pipeline methods",
|
"group": "App methods",
|
||||||
"pages": [
|
"pages": [
|
||||||
"api-reference/pipeline/add",
|
"api-reference/app/add",
|
||||||
"api-reference/pipeline/query",
|
"api-reference/app/query",
|
||||||
"api-reference/pipeline/chat",
|
"api-reference/app/chat",
|
||||||
"api-reference/pipeline/search",
|
"api-reference/app/search",
|
||||||
"api-reference/pipeline/deploy",
|
"api-reference/app/deploy",
|
||||||
"api-reference/pipeline/reset",
|
"api-reference/app/reset",
|
||||||
"api-reference/pipeline/delete",
|
"api-reference/app/delete",
|
||||||
"api-reference/pipeline/evaluate"
|
"api-reference/app/evaluate"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"api-reference/store/openai-assistant",
|
"api-reference/store/openai-assistant",
|
||||||
|
|||||||
Reference in New Issue
Block a user