No project description provided
Project description
Quick Start with INTELMO
Installation
INTELMO is available on PyPI and can be installed with pip:
pip install intelmo
Basic Configuration
You can use intelmo.create_server()
to create a server.
# example.py
from intelmo import create_server
if __name__ == "__main__":
server = create_server(
name="Example Server",
description="This is an example server.",
tasks=[
{
"name": "Sentiment",
"description": "Show the sentiment of the text",
"task_type": "generation",
# any function that takes article text and returns a string
"task": ...
}
],
)
server.run()
Then you can start the server with:
python example.py
A development server will be started at http://localhost:8080
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
intelmo-1.1.2.tar.gz
(34.2 kB
view hashes)
Built Distribution
intelmo-1.1.2-py3-none-any.whl
(14.4 kB
view hashes)