NavyDevilDoc commited on
Commit
859d9ed
·
verified ·
1 Parent(s): 8a4b599

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -1
api.py CHANGED
@@ -6,7 +6,8 @@ app = FastAPI()
6
 
7
  class PromptRequest(BaseModel):
8
  text: str
9
- persona: str = "You are a helpful assistant."
 
10
 
11
  # --- NEW: Add a Root Route (The Health Check) ---
12
  @app.get("/")
 
6
 
7
  class PromptRequest(BaseModel):
8
  text: str
9
+ persona: str = "You are a knowledgable and helpful assistant."
10
+ max_tokens: int = 500
11
 
12
  # --- NEW: Add a Root Route (The Health Check) ---
13
  @app.get("/")