-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bfb5a8
commit 2903c54
Showing
1 changed file
with
11 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,15 @@ | ||
# FastAPI | ||
# Building your generative AI API in Python 生成式AI後端開發部署實戰 | ||
|
||
<img src = 'https://github.com/jayita13/FastAPI/blob/main/Screenshot%20(323).png'> | ||
## Course intro: | ||
This course provides a comprehensive guide to designing and developing a backend for an AI chatbot using Python. Participants will learn how to create a robust LLM backend, deploy it with modern CI/CD pipelines and GitHub, and monitor its performance using Microsoft Azure. The course is targeted towards software engineers and developers who want to build an LLM-powered chatbot for their applications. Basic understanding of Python programming is required, and previous experience in software development is a plus. Participants will need an Azure subscription, GitHub account, OpenAI API subscription, Visual Studio Code, Python version 3.8 or higher, and Pip installed. The course covers various topics, including the fundamentals of AI and large-language models, utilizing FastAPI for building an LLM backend, setting up development environments, containerization with Docker, implementing CI/CD pipelines with GitHub Actions, and monitoring AI applications using status pages. Upon completion of the course, participants will have gained the necessary skills to develop and deploy a powerful LLM backend for their AI chatbot projects. | ||
|
||
I've implemented entity extraction code from spacy library's pretrained model - 'en_core_web_sm' | ||
## Getting started | ||
#### Installation | ||
pip3 install -r requirements.txt | ||
|
||
<img src ='https://github.com/jayita13/FastAPI/blob/main/Screenshot%20(322).png'> | ||
#### Start the application | ||
cd src/ | ||
python3 -m uvicorn index.main:app --reload | ||
|
||
## Software dependencies: | ||
|
||
->FastAPI | ||
|
||
->Pydantic | ||
|
||
->Uvicorn or hypercorn | ||
|
||
->spacy | ||
|
||
### Run file with command : | ||
|
||
uvicorn fastapp:app --reload | ||
|
||
Redirect to 127.0.0.1:8000/docs or 127.0.0.1:8000/redoc | ||
|
||
<img src ='https://github.com/jayita13/FastAPI/blob/main/Screenshot%20(316).png'> | ||
#### Run unit tests | ||
python3 -m pytest |