This PR introduces Icosa's combinatorial reasoner (CR as a component to LangFlow, added as a tool. The component allows users to run the CR pipeline on their queries to generate optimized prompts by calling Icosa's API. This includes adding the component code in the backend under tools, adding Icosa's icon to the frontend, and updating the docs. To run CR through the component, users will need an OpenAI API Key as well as username-password authentication from Icosa.
@NadirJ This passes the make lint command. The make unit_tests command intermittently passes or has one failure. The specific test that occasially fails is the following:
src/backend/tests/unit/test_database.py:178 test_read_flows_components_only_paginated
However, running only this test using
pytest src/backend/tests/unit/test_database.py::test_read_flows_components_only_paginated
passes every time. Unsure about why the make unit_tests command has intermittent failures, I have included the error message below.
This PR introduces Icosa's combinatorial reasoner (CR as a component to LangFlow, added as a tool. The component allows users to run the CR pipeline on their queries to generate optimized prompts by calling Icosa's API. This includes adding the component code in the backend under tools, adding Icosa's icon to the frontend, and updating the docs. To run CR through the component, users will need an OpenAI API Key as well as username-password authentication from Icosa.
@NadirJ This passes the
make lint
command. Themake unit_tests
command intermittently passes or has one failure. The specific test that occasially fails is the following:src/backend/tests/unit/test_database.py:178 test_read_flows_components_only_paginated
However, running only this test using
pytest src/backend/tests/unit/test_database.py::test_read_flows_components_only_paginated
passes every time. Unsure about why themake unit_tests
command has intermittent failures, I have included the error message below.