EmbeddingServer
#
Bases: object
run(port, host=None)
#
start(port, host=None)
#
Start the embedding server in the background and return a handle.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
port
|
int
|
Port to listen on. |
required |
host
|
str
|
Host interface to bind to. Defaults to None. |
None
|
Returns:
| Type | Description |
|---|---|
RunningEmbeddingServer
|
handle to stop the server. |