# Data Source

After creating the project, you need to upload the data source for the knowledge base of your bot. Name the data source and select the format of the data source.

* **qqdrant**: For any text format, txt, pdf file or url link.
* **youtube**: YouTube video link. You can upload a collection of videos.

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2Fo4yS31m9eYdz4v2UIDYQ%2FScreen%20Shot%202023-08-06%20at%204.23.26%20PM.png?alt=media&#x26;token=98bc5fef-a820-4b0a-845d-3aa87fc19513" alt=""><figcaption><p>Create data source</p></figcaption></figure>

Click **View Info** to edit the data source

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FzvnweMCtVoISHedwq70i%2FScreen%20Shot%202023-08-06%20at%204.33.40%20PM.png?alt=media&#x26;token=12a8965c-25a1-4ddd-9ce7-018f105959f2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FxMsBTHxH1PdhdzwzdMBS%2FScreen%20Shot%202023-08-06%20at%204.44.54%20PM.png?alt=media&#x26;token=a5590b5a-e89b-4d4e-9606-8616913c1da1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2Fr0Ow1udd3Yz2yrjpM4SI%2FScreen%20Shot%202023-08-06%20at%204.40.37%20PM.png?alt=media&#x26;token=2587c780-9996-4910-bd4f-10e8addc364c" alt="" width="375"><figcaption><p>Any text format data source</p></figcaption></figure>

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FL5NbWvP9zCZHfNjIVPqX%2FScreen%20Shot%202023-08-06%20at%204.40.46%20PM.png?alt=media&#x26;token=9ce459ce-9ac4-40df-9d4b-e6c0a017ab72" alt="" width="375"><figcaption><p>YouTube link data source</p></figcaption></figure>

{% hint style="warning" %}
For YoutTube videos, must upload videos that have subtitles.
{% endhint %}

Once the data source is successfully uploaded, the data source will be converted and stored in the vector database.

<figure><img src="https://4112697954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWlALaQ4M4Jr8FQTSwv7h%2Fuploads%2FqPkhAgOJ5ExLyhPPtujp%2FScreen%20Shot%202023-08-06%20at%204.49.10%20PM.png?alt=media&#x26;token=2d1c6556-4042-408a-982d-519269cdd1ed" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If the data source is large, please be patient and refresh the page after a moment.
{% endhint %}
