Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrbuslov/ai-summarizer-api
This REST API service allows users to upload a 1-page PDF file, extracts its content, and generates a summary using OpenAI's API.
https://github.com/mrbuslov/ai-summarizer-api
django drf langchain llm openai python summarization
Last synced: 2 months ago
JSON representation
This REST API service allows users to upload a 1-page PDF file, extracts its content, and generates a summary using OpenAI's API.
- Host: GitHub
- URL: https://github.com/mrbuslov/ai-summarizer-api
- Owner: mrbuslov
- Created: 2024-09-06T18:56:44.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T16:44:29.000Z (4 months ago)
- Last Synced: 2024-10-07T18:30:55.178Z (3 months ago)
- Topics: django, drf, langchain, llm, openai, python, summarization
- Language: Python
- Homepage:
- Size: 656 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ABOUT
This REST API allows users to upload a 1-page PDF file and returns a summarized version of its content using the OpenAI API.# How to run
- create an `backend/.env` file with fields from `backend/.env.example` file
- `docker compose up --build`
- `docker compose exec web python manage.py migrate`
- go to [localhost:8000](http://localhost:8000/)# How to use
Go to [http://localhost:8000/swagger/](http://localhost:8000/swagger/) -> click on `/summarize/` endpoint -> Try It out -> upload `file_test.pdf` -> Execute# How to run Tests
- `docker compose up --build`
- `docker compose exec web python manage.py test`