@Kushagra Sharma When creating an index in Azure AI Services, the "docs" (short for documents) are generated based on the content of the data source that you are indexing. The data source can be a variety of things, such as a SQL database, a blob storage container, or a set of JSON files.
The number of documents that are created in the index depends on the content of the data source. For example, if you are indexing a SQL database that contains 1000 rows, then you will have 1000 documents in your index. Similarly, if you are indexing a blob storage container that contains 1000 files, then you will have 1000 documents in your index.
There is no specific formula that dictates the number of documents created within an index based on the file's size. However, there are some best practices that you can follow to optimize the indexing process. For example, you can split large files into smaller chunks to improve indexing performance.