sergeipetrov commited on
Commit
48841c1
1 Parent(s): 192f6d9

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +1 -1
src/main.py CHANGED
@@ -25,7 +25,7 @@ logger.setLevel(logging.DEBUG)
25
  vector_db = VectorDB(emb_model, db_location, full_actions_list_file_path, num_sub_vectors, batch_size)
26
  open_ai_connector = OpenAIConnector()
27
 
28
- @app.get("/find-action")
29
  async def find_action(query: str):
30
  #logging.basicConfig(filename='myapp.log', level=logging.INFO)
31
  logger.info('Started')
 
25
  vector_db = VectorDB(emb_model, db_location, full_actions_list_file_path, num_sub_vectors, batch_size)
26
  open_ai_connector = OpenAIConnector()
27
 
28
+ @app.post("/find-action")
29
  async def find_action(query: str):
30
  #logging.basicConfig(filename='myapp.log', level=logging.INFO)
31
  logger.info('Started')