You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- upload/upload ---> to upload a file (.pdf for now) to AWS s3 and retrieve its location and save it to mongo db
Here u have to only pass the file (like form Postman -- the key must be file) -- or form a form field (field name must be: 'file')
-- upload/process ---> to extract the text from the doc (from AWS s3) process it and make them chunks then get their embeddings and save it pinecone db and get vectorIndex of it to save it in mongo db
Here u have to only pass the file's id
-- query/query-process ---> extract the query from the user and get its embedding to perform a similarity search according to the embedded chunks and give the topk2 to openai with the query and receive the response
Here u have to only pass the file's id
About
i hope this is last repo we made and work together as pros!!