Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- finetuning
- Llama
- MacOS
- IOS
- Claude
- SwiftUI
- LLM
- php
- ollama
- VirtualBox
- OSX
- MAC
- 정보관리기술사
- Fine Tuning
- swift
- apple gpu
- Xcode
- 파인튜닝
- Quantization
- HTTP
- ai 모델 학습시키기
- AI
- persona
- python
- apache
- 클로드
- MCP
- vibe coding
- WWDC
- 양자화
Archives
- Today
- Total
목록FastAPI (1)
Project Jo
Python 서버 만들기
# server.pyfrom fastapi import FastAPI, Requestfrom pydantic import BaseModelimport uvicornapp = FastAPI()class Message(BaseModel): role: str content: str@app.post("/chat")async def chat(message: Message): return { "message": { "role": "assistant", "content": f"Echo: {message.content}" } }if __name__ == "__main__": uvicorn.run("server:app", host..
Developer/LLM
2025. 4. 15. 15:58