diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-04 14:01:27 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-04 14:01:27 +0000 |
commit | 369d6936d62ac7130e947e5c89f80bde6f79c850 (patch) | |
tree | 28a7b0176965d1431dbaeb8c75fba9e52223033e /README.md | |
parent | made devourer smaller/faster (diff) | |
download | devourer-369d6936d62ac7130e947e5c89f80bde6f79c850.tar.gz devourer-369d6936d62ac7130e947e5c89f80bde6f79c850.zip |
updated the readme
Diffstat (limited to '')
-rw-r--r-- | README.md | 27 |
1 files changed, 4 insertions, 23 deletions
@@ -3,27 +3,8 @@ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) # devourer -devourer is an api server that currently has the following endpoints and does the following things:<br/> +Devourer is meant to be a sort of a knowledge aggregator though it has quite a long way to get there.<br/> +Right now it can get text out of certain formats, summarize them or not and turn them into audio or not.<br/> +There is a little feature that searches for a term on wikipedia and one that extracts requirements from RFCs.<br/> -## /summ -```sh -https://localhost:19019/mila/summ?url=https://dilipkumar.medium.com/standalone-mongodb-on-kubernetes-cluster-19e7b5896b27&summary=newspaper&audio=true -``` -The `/summ` endpoint optionally summarizes the article and can also optionally send the article as an audio file.<br/> -The parameters are `url`,`summary` tells the server which summarization method to use. the last parameter `audio` tells the server whether to just send the text result or an audio equivalent.<br/> - -## /wiki -```sh -https://localhost:19019/mila/wiki?term=iommu&summary=newspaper&audio=true -``` -Searches wikipedia for the given `term` parameter. Like other endpoints, can optionally summarize the result and turn it into audio with `summary` and `audio` parameters.<br/> - -## /reqs -```sh -https://localhost:19019/mila/reqs?url=https://www.ietf.org/rfc/rfc2865.txt&sourcetype=text -``` -Extracts the requirements from the contents inside a given url. The `sourcetype` parameter tells the server how to interpret the url contents. currently only `text` and `html` are supported as valid values.<br/> - -## Usage Example - -Using FastAPI now so just check the docs. +To see what endpoints are present and how to use them or interact with them go to `/doc`. Devourer is powered by fastapi. Everything is in its default location.<br/> |