from fastapi import FastAPI
from pydantic import BaseModel
app = FastAPI()
class Introduction(BaseModel):
name: str = 'Shymaa Medhat'
job_title: str = 'AI Engineer'
knowledge: list = ['Python','Django','FastAPI','Pytorch', 'TensorFlow', 'Transformers','Speech Processing', 'PostgreSQL', 'MongoDB']
@app.post("/introduce_yourself")
async def introduce_yourself(request: Introduction):
name = request.name
job_title = request.job_title
knowledge = ', '.join(request.knowledge)
introduction = f"Hello, my name is {name}. I am a {job_title} and I have Knowledge in {knowledge}."
return {'introduction': introduction}
-
๐ป Python (Django,FastAPI,Pytorch,Tensorflow,transformers,Speech Processing,NLP)
-
๐๏ธ Relational and NoSQL Databases (PostgreSQL, MongoDB)
-
๐ RESTful API Development and Graphql
-
๐ Server Deployment and Management (Docker,pythonanywhere)
-
โก fact: ...
-
Programming is the art of turning imagination into reality