graph2mat.tools.cli.request
Functions
|
Shows the models available in the server. |
|
Predict the matrix for a given geometry. |
- graph2mat.tools.cli.request.avail_models(host: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7ff418a37950>] = 'localhost', port: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ff418a379d0>] = 56000, url: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7ff418a37b10>] = None)[source]
Shows the models available in the server.
- graph2mat.tools.cli.request.predict(geometry: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7ff418a37c90>], output: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7ff418a37cd0>], model: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7ff418a37d90>], local: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7ff418a37e50>] = False, host: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7ff418a37f10>] = 'localhost', port: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ff418a37fd0>] = 56000, url: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7ff418a440d0>] = None)[source]
Predict the matrix for a given geometry.