This article discusses the importance of network slicing in 5G architecture and the use of software-defined networking and network function virtualization to create, isolate, and manage network slices. It also presents two network slicing frameworks and evaluates their performance using metrics such as acceptance rate and resource effectiveness. A deep neural network is used for slice creation and a combination of fuzzy-PROMETHEE method and Dijkstra’s algorithm for resource allocation.