From the course: Advanced Python Projects: Build AI Applications
Unlock the full course today
Join today to access over 25,200 courses taught by industry experts.
Deploy and run the chatbot - Python Tutorial
From the course: Advanced Python Projects: Build AI Applications
Deploy and run the chatbot
- [Instructor] Now is the fun part. Let's run the AI application that we just built. Go to your terminal and type cde Begin. Begin is the folder where this program is located, and then click on the run button. Wait for the code to run. It's completed running. Now go to the ports tab, and this is where our application is located in the port 8000. So over here you'll see a globe symbol, or you can click directly on this link. Click on this link or this globe symbol. It'll take you to the URL. So at the very end of this URL type /docs and type enter. This should take us to our FastAPI interface. The first step is for you to click and expand on the upload file. Once you're here, click try it out. After you click try it out, you should now be able to choose a file to upload. Click on the choose file and navigate to the folder where the file that you want to upload is located. For now, I'm going to be uploading an employee…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Setting up MongoDB4m 24s
-
(Locked)
Generate chat responses using GPT-3.5 and Langchain2m 46s
-
(Locked)
Load conversation history for a given session ID1m 16s
-
(Locked)
Create new sessions and add chat history to existing sessions1m 11s
-
(Locked)
Setup FastAPI app, CORS, S3 session, and obtain a chat response3m 43s
-
(Locked)
Upload files to Amazon S3 storage bucket2m 39s
-
(Locked)
Deploy and run the chatbot4m 2s
-
(Locked)
Challenge: Complete the backend code for file upload2m 13s
-
(Locked)
Solution: Complete the backend code for file upload9m 52s
-
(Locked)
-
-