MCPcopy
hub / github.com/pathwaycom/pathway / create_app

Function create_app

integration_tests/rag_evals/test_eval.py:53–60  ·  view source on GitHub ↗
(port: int, config_file: str)

Source from the content-addressed store, hash-verified

51
52
53def create_app(port: int, config_file: str):
54 with open(config_file) as f:
55 config: dict = pw.load_yaml(f)
56
57 print("Config:", config)
58 config.update(port=port)
59 app = App(**config)
60 return app
61
62
63def test_rag_app_accuracy(port: int):

Callers 1

test_rag_app_accuracyFunction · 0.70

Calls 2

AppClass · 0.70
updateMethod · 0.45

Tested by

no test coverage detected