Runner
Python module for running Chat UI Application from a general Python script.
In addition to the main app, an utility function is implemented to run the app just by importing and executing this function to a Python file.
We can implement the runner based on actual implementation of JuViApp
:
run_llmcam
run_llmcam (host='0.0.0.0', port=5001, data_path=None, openai_key=None)
Run the LLMCAM chatbot application
Type | Default | Details | |
---|---|---|---|
host | str | 0.0.0.0 | The host to listen on |
port | int | 5001 | The port to listen on |
data_path | NoneType | None | The path to the data directory |
openai_key | NoneType | None | The OpenAI API key |