Update main.py
Browse files
main.py
CHANGED
@@ -10,7 +10,7 @@ class validation(BaseModel):
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
|
13 |
-
@app.post("/
|
14 |
async def retrival_augmented_generation(item: validation):
|
15 |
rag = Vector_search(item.prompt)
|
16 |
completion = GPT_completion_with_vector_search(item.prompt, rag)
|
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
|
13 |
+
@app.post("/Ritesh_Rag_System")
|
14 |
async def retrival_augmented_generation(item: validation):
|
15 |
rag = Vector_search(item.prompt)
|
16 |
completion = GPT_completion_with_vector_search(item.prompt, rag)
|