├── .codecov.yml ├── .coveragerc ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .snyk ├── .tekton ├── lightspeed-service-pull-request.yaml └── lightspeed-service-push.yaml ├── .woke.yaml ├── AGENTS.md ├── CLAUDE.md ├── CONTRIBUTING.md ├── Containerfile ├── LICENSE ├── Makefile ├── OWNERS ├── README.md ├── docs ├── architecture_diagram.png ├── architecture_diagram.uml ├── bam_api_key.png ├── component_integration.png ├── config.png ├── config.puml ├── hermetic_build.png ├── llms_classes.png ├── llms_classes.uml ├── llms_packages.png ├── llms_packages.uml ├── openapi.json ├── requirements.png ├── requirements.uml ├── requirements_per_arch.png ├── requirements_per_arch.uml ├── sequence_diagram.png ├── sequence_diagram.uml ├── token_truncation.png ├── token_truncation.uml ├── user_data_flow.png └── user_data_flow.uml ├── eval ├── README.md ├── eval_data.yaml ├── eval_data_short.yaml └── system.yaml ├── examples ├── olsconfig-local-ollama.yaml ├── olsconfig.yaml └── openshift-lightspeed-tls.yaml ├── hooks └── pre-commit ├── logs └── .gitkeep ├── mcp_local └── openshift.py ├── ols ├── __init__.py ├── app │ ├── __init__.py │ ├── endpoints │ │ ├── __init__.py │ │ ├── authorized.py │ │ ├── feedback.py │ │ ├── health.py │ │ ├── ols.py │ │ └── streaming_ols.py │ ├── main.py │ ├── metrics │ │ ├── __init__.py │ │ ├── metrics.py │ │ └── token_counter.py │ ├── models │ │ ├── __init__.py │ │ ├── config.py │ │ └── models.py │ └── routers.py ├── constants.py ├── customize │ ├── __init__.py │ └── ols │ │ ├── __init__.py │ │ ├── keywords.py │ │ ├── metadata.py │ │ ├── prompts.py │ │ └── reranker.py ├── plugins │ └── __init__.py ├── runners │ ├── __init__.py │ ├── quota_scheduler.py │ └── uvicorn.py ├── src │ ├── __init__.py │ ├── auth │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── auth_dependency_interface.py │ │ ├── k8s.py │ │ ├── noop.py │ │ └── noop_with_token.py │ ├── cache │ │ ├── __init__.py │ │ ├── cache.py │ │ ├── cache_error.py │ │ ├── cache_factory.py │ │ ├── in_memory_cache.py │ │ └── postgres_cache.py │ ├── llms │ │ ├── __init__.py │ │ ├── llm_loader.py │ │ └── providers │ │ │ ├── __init__.py │ │ │ ├── azure_openai.py │ │ │ ├── bam.py │ │ │ ├── fake_provider.py │ │ │ ├── openai.py │ │ │ ├── provider.py │ │ │ ├── registry.py │ │ │ ├── rhelai_vllm.py │ │ │ ├── rhoai_vllm.py │ │ │ └── watsonx.py │ ├── prompts │ │ ├── __init__.py │ │ └── prompt_generator.py │ ├── query_helpers │ │ ├── __init__.py │ │ ├── attachment_appender.py │ │ ├── docs_summarizer.py │ │ ├── query_helper.py │ │ └── question_validator.py │ ├── quota │ │ ├── __init__.py │ │ ├── cluster_quota_limiter.py │ │ ├── quota_exceed_error.py │ │ ├── quota_limiter.py │ │ ├── quota_limiter_factory.py │ │ ├── revokable_quota_limiter.py │ │ ├── token_usage_history.py │ │ └── user_quota_limiter.py │ ├── rag_index │ │ ├── __init__.py │ │ └── index_loader.py │ ├── tools │ │ ├── __init__.py │ │ ├── mcp_config_builder.py │ │ └── tools.py │ └── ui │ │ ├── __init__.py │ │ └── gradio_ui.py ├── utils │ ├── __init__.py │ ├── certificates.py │ ├── checks.py │ ├── config.py │ ├── connection_decorator.py │ ├── environments.py │ ├── errors_parsing.py │ ├── logging_configurator.py │ ├── pyroscope.py │ ├── redactor.py │ ├── ssl.py │ ├── suid.py │ ├── tls.py │ └── token_handler.py └── version.py ├── pdm.lock ├── pyproject.toml ├── redhat.repo ├── renovate.json ├── requirements.txt ├── rpms.in.yaml ├── rpms.lock.yaml ├── runner.py ├── scripts ├── build-container.sh ├── codecov.sh ├── evaluation │ ├── README.md │ ├── __init__.py │ ├── driver.py │ ├── eval_data │ │ ├── interview_qna_30_per_title.parquet │ │ ├── ocp_doc_qna-edited.parquet │ │ ├── question_answer_pair.json │ │ └── result │ │ │ ├── README.md │ │ │ ├── model_evaluation_result-answer_relevancy.png │ │ │ ├── model_evaluation_result-answer_similarity_llm.png │ │ │ ├── model_evaluation_result-cos_score.png │ │ │ ├── model_evaluation_result-rougeL_f1.png │ │ │ ├── model_evaluation_result-rougeL_precision.png │ │ │ ├── model_evaluation_result-rougeL_recall.png │ │ │ └── model_evaluation_summary.json │ ├── query_rag.py │ ├── rag_eval.py │ ├── response_eval_flow.png │ ├── response_evaluation.py │ ├── taxonomy_eval.py │ └── utils │ │ ├── __init__.py │ │ ├── constants.py │ │ ├── models.py │ │ ├── plot.py │ │ ├── prompts.py │ │ ├── rag.py │ │ ├── relevancy_score.py │ │ ├── response.py │ │ ├── score.py │ │ └── similarity_score_llm.py ├── generate-certs.sh ├── generate_openapi_schema.py ├── olsconfig.yaml ├── print_ec_failures.py ├── transform_coverage_report.py └── upload_artifact_s3.py ├── tests ├── __init__.py ├── benchmarks │ ├── pytest.ini │ ├── test_attachment_appender.py │ ├── test_config_loader.py │ ├── test_docs_summarizer.py │ ├── test_errors_parsing.py │ ├── test_prompt_generator.py │ ├── test_question_validator.py │ ├── test_redactor.py │ └── test_token_handler.py ├── config │ ├── auth_config.yaml │ ├── config_for_integration_tests.yaml │ ├── config_for_integration_tests_8443.yaml │ ├── config_for_integration_tests_quota_limiters.yaml │ ├── config_without_logging.yaml │ ├── empty_cert.crt │ ├── empty_openai_api_key.yaml │ ├── empty_secret │ │ └── apitoken │ ├── invalid_config.yaml │ ├── key │ ├── kubeconfig │ ├── minimal_config.yaml │ ├── operator_install │ │ ├── imagedigestmirrorset.yaml │ │ ├── olsconfig.crd.azure_openai.yaml │ │ ├── olsconfig.crd.azure_openai_tool_calling.yaml │ │ ├── olsconfig.crd.evaluation.yaml │ │ ├── olsconfig.crd.ollama.yaml │ │ ├── olsconfig.crd.openai.yaml │ │ ├── olsconfig.crd.openai_data_export.yaml │ │ ├── olsconfig.crd.openai_quota.yaml │ │ ├── olsconfig.crd.openai_tool_calling.yaml │ │ ├── olsconfig.crd.rhelai_vllm.yaml │ │ ├── olsconfig.crd.rhoai_vllm.yaml │ │ ├── olsconfig.crd.watsonx.yaml │ │ ├── olsconfig.crd.watsonx_byok1.yaml │ │ ├── olsconfig.crd.watsonx_byok2.yaml │ │ ├── olsconfig.crd.watsonx_tool_calling.yaml │ │ └── route.yaml │ ├── password │ ├── postgres_cert.crt │ ├── postgres_password.txt │ ├── secret │ │ └── apitoken │ ├── secret2 │ │ └── apitoken │ ├── secret_azure_no_client_id │ │ ├── client_secret │ │ └── tenant_id │ ├── secret_azure_no_client_secret │ │ ├── client_id │ │ └── tenant_id │ ├── secret_azure_no_tenant_id │ │ ├── client_id │ │ └── client_secret │ ├── secret_azure_tenant_id_client_id_client_secret │ │ ├── client_id │ │ ├── client_secret │ │ └── tenant_id │ ├── server.crt │ ├── server.key │ ├── system_prompt.txt │ ├── test_app_endpoints.yaml │ ├── valid_config.yaml │ ├── valid_config_postgres.yaml │ ├── valid_config_with_azure_openai.yaml │ ├── valid_config_with_azure_openai_2.yaml │ ├── valid_config_with_azure_openai_api_version.yaml │ ├── valid_config_with_bam.yaml │ ├── valid_config_with_bam_2.yaml │ ├── valid_config_with_query_filter.yaml │ ├── valid_config_with_watsonx.yaml │ ├── valid_config_with_watsonx_2.yaml │ ├── valid_config_without_certificate_directory.yaml │ ├── valid_config_without_mcp.yaml │ ├── valid_config_without_query_filter.yaml │ └── with_openai_api_key.yaml ├── constants.py ├── e2e │ ├── __init__.py │ ├── conftest.py │ ├── evaluation │ │ ├── __init__.py │ │ └── test_evaluation.py │ ├── pytest.ini │ ├── test_api.py │ ├── test_attachments.py │ ├── test_query_endpoint.py │ ├── test_streaming_query_endpoint.py │ ├── test_user_feedback.py │ └── utils │ │ ├── __init__.py │ │ ├── adapt_ols_config.py │ │ ├── client.py │ │ ├── cluster.py │ │ ├── constants.py │ │ ├── data_collector_control.py │ │ ├── decorators.py │ │ ├── metrics.py │ │ ├── ols_installer.py │ │ ├── postgres.py │ │ ├── response.py │ │ ├── retry.py │ │ └── wait_for_ols.py ├── integration │ ├── __init__.py │ ├── conftest.py │ ├── pytest.ini │ ├── random_payload_generator.py │ ├── test_authorized.py │ ├── test_authorized_noop.py │ ├── test_config.py │ ├── test_feedback.py │ ├── test_liveness_readiness.py │ ├── test_metrics.py │ ├── test_ols.py │ ├── test_openapi.py │ ├── test_project_version_consistency.py │ ├── test_runners.py │ └── test_tls_enabled.py ├── mcp_local │ ├── __init__.py │ └── test_openshift.py ├── mock_classes │ ├── __init__.py │ ├── mock_k8s_api.py │ ├── mock_langchain_interface.py │ ├── mock_llama_index.py │ ├── mock_llm_loader.py │ ├── mock_query_engine.py │ ├── mock_retrieved_node.py │ ├── mock_retrievers.py │ ├── mock_summary.py │ ├── mock_tools.py │ └── mock_watsonxllm.py ├── scripts │ ├── must_gather.py │ ├── test-e2e-cluster-periodics.sh │ ├── test-e2e-cluster.sh │ ├── test-evaluation.sh │ └── utils.sh └── unit │ ├── app │ ├── __init__.py │ ├── endpoints │ │ ├── __init__.py │ │ ├── test_authorized.py │ │ ├── test_feedback.py │ │ ├── test_health.py │ │ ├── test_ols.py │ │ └── test_streaming_ols.py │ ├── metrics │ │ ├── __init__.py │ │ └── test_token_counter.py │ ├── models │ │ ├── __init__.py │ │ ├── test_config.py │ │ └── test_models.py │ └── test_routers.py │ ├── auth │ ├── __init__.py │ ├── test_auth.py │ ├── test_k8s.py │ ├── test_noop_auth_dependency.py │ └── test_noop_with_token.py │ ├── cache │ ├── __init__.py │ ├── test_cache_factory.py │ ├── test_in_memory_cache.py │ └── test_postgres_cache.py │ ├── conftest.py │ ├── extra_certs │ ├── __init__.py │ ├── sample_cert_1.crt │ ├── sample_cert_2.crt │ └── test_extra_certs.py │ ├── llms │ ├── __init__.py │ ├── providers │ │ ├── __init__.py │ │ ├── test_azure_openai.py │ │ ├── test_bam.py │ │ ├── test_fake_provider.py │ │ ├── test_openai.py │ │ ├── test_providers.py │ │ ├── test_rhelai_vllm.py │ │ ├── test_rhoai_vllm.py │ │ └── test_watsonx.py │ └── test_llm_loader.py │ ├── plugins │ └── test_plugins.py │ ├── prompts │ ├── __init__.py │ └── test_prompt_generator.py │ ├── pytest.ini │ ├── query_helpers │ ├── __init__.py │ ├── test_attachment_appender.py │ ├── test_docs_summarizer.py │ ├── test_query_helper.py │ └── test_question_validator.py │ ├── quota │ ├── __init__.py │ ├── test_cluster_quota_limiter.py │ ├── test_quota_exceed_error.py │ ├── test_quota_limiter_factory.py │ ├── test_token_usage_history.py │ └── test_user_quota_limiter.py │ ├── rag_index │ ├── __init__.py │ └── test_index_loader.py │ ├── runners │ ├── __init__.py │ ├── test_quota_scheduler_runner.py │ └── test_uvicorn_runner.py │ ├── test_version.py │ ├── tools │ ├── __init__.py │ ├── test_mcp_config_builder.py │ └── test_tools.py │ ├── ui │ ├── __init__.py │ └── test_gradio_ui.py │ └── utils │ ├── __init__.py │ ├── test_config.py │ ├── test_connection_decorator.py │ ├── test_environments.py │ ├── test_errors_parsing.py │ ├── test_logging.py │ ├── test_pyroscope.py │ ├── test_redactor.py │ ├── test_ssl.py │ ├── test_suid.py │ ├── test_tls.py │ └── test_token_handler.py └── ubi.repo /.codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.codecov.yml -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.coveragerc -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.gitignore -------------------------------------------------------------------------------- /.snyk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.snyk -------------------------------------------------------------------------------- /.tekton/lightspeed-service-pull-request.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.tekton/lightspeed-service-pull-request.yaml -------------------------------------------------------------------------------- /.tekton/lightspeed-service-push.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.tekton/lightspeed-service-push.yaml -------------------------------------------------------------------------------- /.woke.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/.woke.yaml -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/AGENTS.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- 1 | AGENTS.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Containerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/Containerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/Makefile -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/OWNERS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/README.md -------------------------------------------------------------------------------- /docs/architecture_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/architecture_diagram.png -------------------------------------------------------------------------------- /docs/architecture_diagram.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/architecture_diagram.uml -------------------------------------------------------------------------------- /docs/bam_api_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/bam_api_key.png -------------------------------------------------------------------------------- /docs/component_integration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/component_integration.png -------------------------------------------------------------------------------- /docs/config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/config.png -------------------------------------------------------------------------------- /docs/config.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/config.puml -------------------------------------------------------------------------------- /docs/hermetic_build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/hermetic_build.png -------------------------------------------------------------------------------- /docs/llms_classes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/llms_classes.png -------------------------------------------------------------------------------- /docs/llms_classes.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/llms_classes.uml -------------------------------------------------------------------------------- /docs/llms_packages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/llms_packages.png -------------------------------------------------------------------------------- /docs/llms_packages.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/llms_packages.uml -------------------------------------------------------------------------------- /docs/openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/openapi.json -------------------------------------------------------------------------------- /docs/requirements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/requirements.png -------------------------------------------------------------------------------- /docs/requirements.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/requirements.uml -------------------------------------------------------------------------------- /docs/requirements_per_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/requirements_per_arch.png -------------------------------------------------------------------------------- /docs/requirements_per_arch.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/requirements_per_arch.uml -------------------------------------------------------------------------------- /docs/sequence_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/sequence_diagram.png -------------------------------------------------------------------------------- /docs/sequence_diagram.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/sequence_diagram.uml -------------------------------------------------------------------------------- /docs/token_truncation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/token_truncation.png -------------------------------------------------------------------------------- /docs/token_truncation.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/token_truncation.uml -------------------------------------------------------------------------------- /docs/user_data_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/user_data_flow.png -------------------------------------------------------------------------------- /docs/user_data_flow.uml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/docs/user_data_flow.uml -------------------------------------------------------------------------------- /eval/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/eval/README.md -------------------------------------------------------------------------------- /eval/eval_data.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/eval/eval_data.yaml -------------------------------------------------------------------------------- /eval/eval_data_short.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/eval/eval_data_short.yaml -------------------------------------------------------------------------------- /eval/system.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/eval/system.yaml -------------------------------------------------------------------------------- /examples/olsconfig-local-ollama.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/examples/olsconfig-local-ollama.yaml -------------------------------------------------------------------------------- /examples/olsconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/examples/olsconfig.yaml -------------------------------------------------------------------------------- /examples/openshift-lightspeed-tls.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/examples/openshift-lightspeed-tls.yaml -------------------------------------------------------------------------------- /hooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/hooks/pre-commit -------------------------------------------------------------------------------- /logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mcp_local/openshift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/mcp_local/openshift.py -------------------------------------------------------------------------------- /ols/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/__init__.py -------------------------------------------------------------------------------- /ols/app/__init__.py: -------------------------------------------------------------------------------- 1 | """REST API service based on FastAPI.""" 2 | -------------------------------------------------------------------------------- /ols/app/endpoints/__init__.py: -------------------------------------------------------------------------------- 1 | """Handlers for all REST API service endpoints.""" 2 | -------------------------------------------------------------------------------- /ols/app/endpoints/authorized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/endpoints/authorized.py -------------------------------------------------------------------------------- /ols/app/endpoints/feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/endpoints/feedback.py -------------------------------------------------------------------------------- /ols/app/endpoints/health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/endpoints/health.py -------------------------------------------------------------------------------- /ols/app/endpoints/ols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/endpoints/ols.py -------------------------------------------------------------------------------- /ols/app/endpoints/streaming_ols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/endpoints/streaming_ols.py -------------------------------------------------------------------------------- /ols/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/main.py -------------------------------------------------------------------------------- /ols/app/metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/metrics/__init__.py -------------------------------------------------------------------------------- /ols/app/metrics/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/metrics/metrics.py -------------------------------------------------------------------------------- /ols/app/metrics/token_counter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/metrics/token_counter.py -------------------------------------------------------------------------------- /ols/app/models/__init__.py: -------------------------------------------------------------------------------- 1 | """Data schemas for payloads send and received via REST API.""" 2 | -------------------------------------------------------------------------------- /ols/app/models/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/models/config.py -------------------------------------------------------------------------------- /ols/app/models/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/models/models.py -------------------------------------------------------------------------------- /ols/app/routers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/app/routers.py -------------------------------------------------------------------------------- /ols/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/constants.py -------------------------------------------------------------------------------- /ols/customize/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/customize/__init__.py -------------------------------------------------------------------------------- /ols/customize/ols/__init__.py: -------------------------------------------------------------------------------- 1 | """Customized prompts/keywords for OpenShift Lightspeed Service (ols).""" 2 | -------------------------------------------------------------------------------- /ols/customize/ols/keywords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/customize/ols/keywords.py -------------------------------------------------------------------------------- /ols/customize/ols/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/customize/ols/metadata.py -------------------------------------------------------------------------------- /ols/customize/ols/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/customize/ols/prompts.py -------------------------------------------------------------------------------- /ols/customize/ols/reranker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/customize/ols/reranker.py -------------------------------------------------------------------------------- /ols/plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/plugins/__init__.py -------------------------------------------------------------------------------- /ols/runners/__init__.py: -------------------------------------------------------------------------------- 1 | """OLS service runners.""" 2 | -------------------------------------------------------------------------------- /ols/runners/quota_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/runners/quota_scheduler.py -------------------------------------------------------------------------------- /ols/runners/uvicorn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/runners/uvicorn.py -------------------------------------------------------------------------------- /ols/src/__init__.py: -------------------------------------------------------------------------------- 1 | """Business logic.""" 2 | -------------------------------------------------------------------------------- /ols/src/auth/__init__.py: -------------------------------------------------------------------------------- 1 | """Various implementations of auth module.""" 2 | -------------------------------------------------------------------------------- /ols/src/auth/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/auth/auth.py -------------------------------------------------------------------------------- /ols/src/auth/auth_dependency_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/auth/auth_dependency_interface.py -------------------------------------------------------------------------------- /ols/src/auth/k8s.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/auth/k8s.py -------------------------------------------------------------------------------- /ols/src/auth/noop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/auth/noop.py -------------------------------------------------------------------------------- /ols/src/auth/noop_with_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/auth/noop_with_token.py -------------------------------------------------------------------------------- /ols/src/cache/__init__.py: -------------------------------------------------------------------------------- 1 | """Various cache implementations.""" 2 | -------------------------------------------------------------------------------- /ols/src/cache/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/cache/cache.py -------------------------------------------------------------------------------- /ols/src/cache/cache_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/cache/cache_error.py -------------------------------------------------------------------------------- /ols/src/cache/cache_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/cache/cache_factory.py -------------------------------------------------------------------------------- /ols/src/cache/in_memory_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/cache/in_memory_cache.py -------------------------------------------------------------------------------- /ols/src/cache/postgres_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/cache/postgres_cache.py -------------------------------------------------------------------------------- /ols/src/llms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/__init__.py -------------------------------------------------------------------------------- /ols/src/llms/llm_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/llm_loader.py -------------------------------------------------------------------------------- /ols/src/llms/providers/__init__.py: -------------------------------------------------------------------------------- 1 | """LLM providers.""" 2 | -------------------------------------------------------------------------------- /ols/src/llms/providers/azure_openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/azure_openai.py -------------------------------------------------------------------------------- /ols/src/llms/providers/bam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/bam.py -------------------------------------------------------------------------------- /ols/src/llms/providers/fake_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/fake_provider.py -------------------------------------------------------------------------------- /ols/src/llms/providers/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/openai.py -------------------------------------------------------------------------------- /ols/src/llms/providers/provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/provider.py -------------------------------------------------------------------------------- /ols/src/llms/providers/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/registry.py -------------------------------------------------------------------------------- /ols/src/llms/providers/rhelai_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/rhelai_vllm.py -------------------------------------------------------------------------------- /ols/src/llms/providers/rhoai_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/rhoai_vllm.py -------------------------------------------------------------------------------- /ols/src/llms/providers/watsonx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/llms/providers/watsonx.py -------------------------------------------------------------------------------- /ols/src/prompts/__init__.py: -------------------------------------------------------------------------------- 1 | """Constants/methods for prompts.""" 2 | -------------------------------------------------------------------------------- /ols/src/prompts/prompt_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/prompts/prompt_generator.py -------------------------------------------------------------------------------- /ols/src/query_helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/query_helpers/__init__.py -------------------------------------------------------------------------------- /ols/src/query_helpers/attachment_appender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/query_helpers/attachment_appender.py -------------------------------------------------------------------------------- /ols/src/query_helpers/docs_summarizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/query_helpers/docs_summarizer.py -------------------------------------------------------------------------------- /ols/src/query_helpers/query_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/query_helpers/query_helper.py -------------------------------------------------------------------------------- /ols/src/query_helpers/question_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/query_helpers/question_validator.py -------------------------------------------------------------------------------- /ols/src/quota/__init__.py: -------------------------------------------------------------------------------- 1 | """Quota limiters.""" 2 | -------------------------------------------------------------------------------- /ols/src/quota/cluster_quota_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/quota/cluster_quota_limiter.py -------------------------------------------------------------------------------- /ols/src/quota/quota_exceed_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/quota/quota_exceed_error.py -------------------------------------------------------------------------------- /ols/src/quota/quota_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/quota/quota_limiter.py -------------------------------------------------------------------------------- /ols/src/quota/quota_limiter_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/quota/quota_limiter_factory.py -------------------------------------------------------------------------------- /ols/src/quota/revokable_quota_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/quota/revokable_quota_limiter.py -------------------------------------------------------------------------------- /ols/src/quota/token_usage_history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/quota/token_usage_history.py -------------------------------------------------------------------------------- /ols/src/quota/user_quota_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/quota/user_quota_limiter.py -------------------------------------------------------------------------------- /ols/src/rag_index/__init__.py: -------------------------------------------------------------------------------- 1 | """Modules related to index.""" 2 | -------------------------------------------------------------------------------- /ols/src/rag_index/index_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/rag_index/index_loader.py -------------------------------------------------------------------------------- /ols/src/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/tools/__init__.py -------------------------------------------------------------------------------- /ols/src/tools/mcp_config_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/tools/mcp_config_builder.py -------------------------------------------------------------------------------- /ols/src/tools/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/tools/tools.py -------------------------------------------------------------------------------- /ols/src/ui/__init__.py: -------------------------------------------------------------------------------- 1 | """Web-based user interface handler.""" 2 | -------------------------------------------------------------------------------- /ols/src/ui/gradio_ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/src/ui/gradio_ui.py -------------------------------------------------------------------------------- /ols/utils/__init__.py: -------------------------------------------------------------------------------- 1 | """Utility classes and functions.""" 2 | -------------------------------------------------------------------------------- /ols/utils/certificates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/certificates.py -------------------------------------------------------------------------------- /ols/utils/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/checks.py -------------------------------------------------------------------------------- /ols/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/config.py -------------------------------------------------------------------------------- /ols/utils/connection_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/connection_decorator.py -------------------------------------------------------------------------------- /ols/utils/environments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/environments.py -------------------------------------------------------------------------------- /ols/utils/errors_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/errors_parsing.py -------------------------------------------------------------------------------- /ols/utils/logging_configurator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/logging_configurator.py -------------------------------------------------------------------------------- /ols/utils/pyroscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/pyroscope.py -------------------------------------------------------------------------------- /ols/utils/redactor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/redactor.py -------------------------------------------------------------------------------- /ols/utils/ssl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/ssl.py -------------------------------------------------------------------------------- /ols/utils/suid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/suid.py -------------------------------------------------------------------------------- /ols/utils/tls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/tls.py -------------------------------------------------------------------------------- /ols/utils/token_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/utils/token_handler.py -------------------------------------------------------------------------------- /ols/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ols/version.py -------------------------------------------------------------------------------- /pdm.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/pdm.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/pyproject.toml -------------------------------------------------------------------------------- /redhat.repo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/redhat.repo -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/renovate.json -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/requirements.txt -------------------------------------------------------------------------------- /rpms.in.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/rpms.in.yaml -------------------------------------------------------------------------------- /rpms.lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/rpms.lock.yaml -------------------------------------------------------------------------------- /runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/runner.py -------------------------------------------------------------------------------- /scripts/build-container.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/build-container.sh -------------------------------------------------------------------------------- /scripts/codecov.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/codecov.sh -------------------------------------------------------------------------------- /scripts/evaluation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/README.md -------------------------------------------------------------------------------- /scripts/evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | """Modules for evaluation.""" 2 | -------------------------------------------------------------------------------- /scripts/evaluation/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/driver.py -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/interview_qna_30_per_title.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/interview_qna_30_per_title.parquet -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/ocp_doc_qna-edited.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/ocp_doc_qna-edited.parquet -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/question_answer_pair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/question_answer_pair.json -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/README.md -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/model_evaluation_result-answer_relevancy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/model_evaluation_result-answer_relevancy.png -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/model_evaluation_result-answer_similarity_llm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/model_evaluation_result-answer_similarity_llm.png -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/model_evaluation_result-cos_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/model_evaluation_result-cos_score.png -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/model_evaluation_result-rougeL_f1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/model_evaluation_result-rougeL_f1.png -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/model_evaluation_result-rougeL_precision.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/model_evaluation_result-rougeL_precision.png -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/model_evaluation_result-rougeL_recall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/model_evaluation_result-rougeL_recall.png -------------------------------------------------------------------------------- /scripts/evaluation/eval_data/result/model_evaluation_summary.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/eval_data/result/model_evaluation_summary.json -------------------------------------------------------------------------------- /scripts/evaluation/query_rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/query_rag.py -------------------------------------------------------------------------------- /scripts/evaluation/rag_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/rag_eval.py -------------------------------------------------------------------------------- /scripts/evaluation/response_eval_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/response_eval_flow.png -------------------------------------------------------------------------------- /scripts/evaluation/response_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/response_evaluation.py -------------------------------------------------------------------------------- /scripts/evaluation/taxonomy_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/taxonomy_eval.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/__init__.py: -------------------------------------------------------------------------------- 1 | """Utility modules for evaluation.""" 2 | -------------------------------------------------------------------------------- /scripts/evaluation/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/constants.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/models.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/plot.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/prompts.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/rag.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/relevancy_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/relevancy_score.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/response.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/score.py -------------------------------------------------------------------------------- /scripts/evaluation/utils/similarity_score_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/evaluation/utils/similarity_score_llm.py -------------------------------------------------------------------------------- /scripts/generate-certs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/generate-certs.sh -------------------------------------------------------------------------------- /scripts/generate_openapi_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/generate_openapi_schema.py -------------------------------------------------------------------------------- /scripts/olsconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/olsconfig.yaml -------------------------------------------------------------------------------- /scripts/print_ec_failures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/print_ec_failures.py -------------------------------------------------------------------------------- /scripts/transform_coverage_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/transform_coverage_report.py -------------------------------------------------------------------------------- /scripts/upload_artifact_s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/scripts/upload_artifact_s3.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | """Tests package.""" 2 | -------------------------------------------------------------------------------- /tests/benchmarks/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/pytest.ini -------------------------------------------------------------------------------- /tests/benchmarks/test_attachment_appender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_attachment_appender.py -------------------------------------------------------------------------------- /tests/benchmarks/test_config_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_config_loader.py -------------------------------------------------------------------------------- /tests/benchmarks/test_docs_summarizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_docs_summarizer.py -------------------------------------------------------------------------------- /tests/benchmarks/test_errors_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_errors_parsing.py -------------------------------------------------------------------------------- /tests/benchmarks/test_prompt_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_prompt_generator.py -------------------------------------------------------------------------------- /tests/benchmarks/test_question_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_question_validator.py -------------------------------------------------------------------------------- /tests/benchmarks/test_redactor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_redactor.py -------------------------------------------------------------------------------- /tests/benchmarks/test_token_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/benchmarks/test_token_handler.py -------------------------------------------------------------------------------- /tests/config/auth_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/auth_config.yaml -------------------------------------------------------------------------------- /tests/config/config_for_integration_tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/config_for_integration_tests.yaml -------------------------------------------------------------------------------- /tests/config/config_for_integration_tests_8443.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/config_for_integration_tests_8443.yaml -------------------------------------------------------------------------------- /tests/config/config_for_integration_tests_quota_limiters.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/config_for_integration_tests_quota_limiters.yaml -------------------------------------------------------------------------------- /tests/config/config_without_logging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/config_without_logging.yaml -------------------------------------------------------------------------------- /tests/config/empty_cert.crt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/config/empty_openai_api_key.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/empty_openai_api_key.yaml -------------------------------------------------------------------------------- /tests/config/empty_secret/apitoken: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/config/invalid_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/invalid_config.yaml -------------------------------------------------------------------------------- /tests/config/key: -------------------------------------------------------------------------------- 1 | * this is key * 2 | -------------------------------------------------------------------------------- /tests/config/kubeconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/kubeconfig -------------------------------------------------------------------------------- /tests/config/minimal_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/minimal_config.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/imagedigestmirrorset.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/imagedigestmirrorset.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.azure_openai.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.azure_openai.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.azure_openai_tool_calling.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.azure_openai_tool_calling.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.evaluation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.evaluation.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.ollama.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.ollama.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.openai.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.openai.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.openai_data_export.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.openai_data_export.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.openai_quota.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.openai_quota.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.openai_tool_calling.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.openai_tool_calling.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.rhelai_vllm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.rhelai_vllm.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.rhoai_vllm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.rhoai_vllm.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.watsonx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.watsonx.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.watsonx_byok1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.watsonx_byok1.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.watsonx_byok2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.watsonx_byok2.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/olsconfig.crd.watsonx_tool_calling.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/olsconfig.crd.watsonx_tool_calling.yaml -------------------------------------------------------------------------------- /tests/config/operator_install/route.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/operator_install/route.yaml -------------------------------------------------------------------------------- /tests/config/password: -------------------------------------------------------------------------------- 1 | * this is password * 2 | -------------------------------------------------------------------------------- /tests/config/postgres_cert.crt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/config/postgres_password.txt: -------------------------------------------------------------------------------- 1 | postgres_password 2 | -------------------------------------------------------------------------------- /tests/config/secret/apitoken: -------------------------------------------------------------------------------- 1 | secret_key 2 | -------------------------------------------------------------------------------- /tests/config/secret2/apitoken: -------------------------------------------------------------------------------- 1 | secret_key_2 2 | -------------------------------------------------------------------------------- /tests/config/secret_azure_no_client_id/client_secret: -------------------------------------------------------------------------------- 1 | client secret 2 | -------------------------------------------------------------------------------- /tests/config/secret_azure_no_client_id/tenant_id: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/secret_azure_no_client_id/tenant_id -------------------------------------------------------------------------------- /tests/config/secret_azure_no_client_secret/client_id: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/secret_azure_no_client_secret/client_id -------------------------------------------------------------------------------- /tests/config/secret_azure_no_client_secret/tenant_id: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/secret_azure_no_client_secret/tenant_id -------------------------------------------------------------------------------- /tests/config/secret_azure_no_tenant_id/client_id: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/secret_azure_no_tenant_id/client_id -------------------------------------------------------------------------------- /tests/config/secret_azure_no_tenant_id/client_secret: -------------------------------------------------------------------------------- 1 | client secret 2 | -------------------------------------------------------------------------------- /tests/config/secret_azure_tenant_id_client_id_client_secret/client_id: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/secret_azure_tenant_id_client_id_client_secret/client_id -------------------------------------------------------------------------------- /tests/config/secret_azure_tenant_id_client_id_client_secret/client_secret: -------------------------------------------------------------------------------- 1 | client secret 2 | -------------------------------------------------------------------------------- /tests/config/secret_azure_tenant_id_client_id_client_secret/tenant_id: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/secret_azure_tenant_id_client_id_client_secret/tenant_id -------------------------------------------------------------------------------- /tests/config/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/server.crt -------------------------------------------------------------------------------- /tests/config/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/server.key -------------------------------------------------------------------------------- /tests/config/system_prompt.txt: -------------------------------------------------------------------------------- 1 | This is test system prompt! 2 | -------------------------------------------------------------------------------- /tests/config/test_app_endpoints.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/test_app_endpoints.yaml -------------------------------------------------------------------------------- /tests/config/valid_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_postgres.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_postgres.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_azure_openai.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_azure_openai.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_azure_openai_2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_azure_openai_2.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_azure_openai_api_version.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_azure_openai_api_version.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_bam.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_bam.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_bam_2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_bam_2.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_query_filter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_query_filter.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_watsonx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_watsonx.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_with_watsonx_2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_with_watsonx_2.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_without_certificate_directory.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_without_certificate_directory.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_without_mcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_without_mcp.yaml -------------------------------------------------------------------------------- /tests/config/valid_config_without_query_filter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/valid_config_without_query_filter.yaml -------------------------------------------------------------------------------- /tests/config/with_openai_api_key.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/config/with_openai_api_key.yaml -------------------------------------------------------------------------------- /tests/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/constants.py -------------------------------------------------------------------------------- /tests/e2e/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/__init__.py -------------------------------------------------------------------------------- /tests/e2e/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/conftest.py -------------------------------------------------------------------------------- /tests/e2e/evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | """Evaluation tests for models supported by OLS service.""" 2 | -------------------------------------------------------------------------------- /tests/e2e/evaluation/test_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/evaluation/test_evaluation.py -------------------------------------------------------------------------------- /tests/e2e/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/pytest.ini -------------------------------------------------------------------------------- /tests/e2e/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/test_api.py -------------------------------------------------------------------------------- /tests/e2e/test_attachments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/test_attachments.py -------------------------------------------------------------------------------- /tests/e2e/test_query_endpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/test_query_endpoint.py -------------------------------------------------------------------------------- /tests/e2e/test_streaming_query_endpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/test_streaming_query_endpoint.py -------------------------------------------------------------------------------- /tests/e2e/test_user_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/test_user_feedback.py -------------------------------------------------------------------------------- /tests/e2e/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/__init__.py -------------------------------------------------------------------------------- /tests/e2e/utils/adapt_ols_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/adapt_ols_config.py -------------------------------------------------------------------------------- /tests/e2e/utils/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/client.py -------------------------------------------------------------------------------- /tests/e2e/utils/cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/cluster.py -------------------------------------------------------------------------------- /tests/e2e/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/constants.py -------------------------------------------------------------------------------- /tests/e2e/utils/data_collector_control.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/data_collector_control.py -------------------------------------------------------------------------------- /tests/e2e/utils/decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/decorators.py -------------------------------------------------------------------------------- /tests/e2e/utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/metrics.py -------------------------------------------------------------------------------- /tests/e2e/utils/ols_installer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/ols_installer.py -------------------------------------------------------------------------------- /tests/e2e/utils/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/postgres.py -------------------------------------------------------------------------------- /tests/e2e/utils/response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/response.py -------------------------------------------------------------------------------- /tests/e2e/utils/retry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/retry.py -------------------------------------------------------------------------------- /tests/e2e/utils/wait_for_ols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/e2e/utils/wait_for_ols.py -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | """Integration tests.""" 2 | -------------------------------------------------------------------------------- /tests/integration/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/conftest.py -------------------------------------------------------------------------------- /tests/integration/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/pytest.ini -------------------------------------------------------------------------------- /tests/integration/random_payload_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/random_payload_generator.py -------------------------------------------------------------------------------- /tests/integration/test_authorized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_authorized.py -------------------------------------------------------------------------------- /tests/integration/test_authorized_noop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_authorized_noop.py -------------------------------------------------------------------------------- /tests/integration/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_config.py -------------------------------------------------------------------------------- /tests/integration/test_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_feedback.py -------------------------------------------------------------------------------- /tests/integration/test_liveness_readiness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_liveness_readiness.py -------------------------------------------------------------------------------- /tests/integration/test_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_metrics.py -------------------------------------------------------------------------------- /tests/integration/test_ols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_ols.py -------------------------------------------------------------------------------- /tests/integration/test_openapi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_openapi.py -------------------------------------------------------------------------------- /tests/integration/test_project_version_consistency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_project_version_consistency.py -------------------------------------------------------------------------------- /tests/integration/test_runners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_runners.py -------------------------------------------------------------------------------- /tests/integration/test_tls_enabled.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/integration/test_tls_enabled.py -------------------------------------------------------------------------------- /tests/mcp_local/__init__.py: -------------------------------------------------------------------------------- 1 | """Init of mcp_local tests.""" 2 | -------------------------------------------------------------------------------- /tests/mcp_local/test_openshift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mcp_local/test_openshift.py -------------------------------------------------------------------------------- /tests/mock_classes/__init__.py: -------------------------------------------------------------------------------- 1 | """Mocks that are used in unit tests.""" 2 | -------------------------------------------------------------------------------- /tests/mock_classes/mock_k8s_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_k8s_api.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_langchain_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_langchain_interface.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_llama_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_llama_index.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_llm_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_llm_loader.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_query_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_query_engine.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_retrieved_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_retrieved_node.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_retrievers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_retrievers.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_summary.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_tools.py -------------------------------------------------------------------------------- /tests/mock_classes/mock_watsonxllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/mock_classes/mock_watsonxllm.py -------------------------------------------------------------------------------- /tests/scripts/must_gather.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/scripts/must_gather.py -------------------------------------------------------------------------------- /tests/scripts/test-e2e-cluster-periodics.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/scripts/test-e2e-cluster-periodics.sh -------------------------------------------------------------------------------- /tests/scripts/test-e2e-cluster.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/scripts/test-e2e-cluster.sh -------------------------------------------------------------------------------- /tests/scripts/test-evaluation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/scripts/test-evaluation.sh -------------------------------------------------------------------------------- /tests/scripts/utils.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/scripts/utils.sh -------------------------------------------------------------------------------- /tests/unit/app/__init__.py: -------------------------------------------------------------------------------- 1 | """Init of tests/unit/app.""" 2 | -------------------------------------------------------------------------------- /tests/unit/app/endpoints/__init__.py: -------------------------------------------------------------------------------- 1 | """Init of tests/unit/app/endpoints.""" 2 | -------------------------------------------------------------------------------- /tests/unit/app/endpoints/test_authorized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/endpoints/test_authorized.py -------------------------------------------------------------------------------- /tests/unit/app/endpoints/test_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/endpoints/test_feedback.py -------------------------------------------------------------------------------- /tests/unit/app/endpoints/test_health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/endpoints/test_health.py -------------------------------------------------------------------------------- /tests/unit/app/endpoints/test_ols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/endpoints/test_ols.py -------------------------------------------------------------------------------- /tests/unit/app/endpoints/test_streaming_ols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/endpoints/test_streaming_ols.py -------------------------------------------------------------------------------- /tests/unit/app/metrics/__init__.py: -------------------------------------------------------------------------------- 1 | """Init of tests/unit/app/metrics.""" 2 | -------------------------------------------------------------------------------- /tests/unit/app/metrics/test_token_counter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/metrics/test_token_counter.py -------------------------------------------------------------------------------- /tests/unit/app/models/__init__.py: -------------------------------------------------------------------------------- 1 | """Init of tests/unit/app/models.""" 2 | -------------------------------------------------------------------------------- /tests/unit/app/models/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/models/test_config.py -------------------------------------------------------------------------------- /tests/unit/app/models/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/models/test_models.py -------------------------------------------------------------------------------- /tests/unit/app/test_routers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/app/test_routers.py -------------------------------------------------------------------------------- /tests/unit/auth/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for auth. dependency.""" 2 | -------------------------------------------------------------------------------- /tests/unit/auth/test_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/auth/test_auth.py -------------------------------------------------------------------------------- /tests/unit/auth/test_k8s.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/auth/test_k8s.py -------------------------------------------------------------------------------- /tests/unit/auth/test_noop_auth_dependency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/auth/test_noop_auth_dependency.py -------------------------------------------------------------------------------- /tests/unit/auth/test_noop_with_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/auth/test_noop_with_token.py -------------------------------------------------------------------------------- /tests/unit/cache/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/cache/__init__.py -------------------------------------------------------------------------------- /tests/unit/cache/test_cache_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/cache/test_cache_factory.py -------------------------------------------------------------------------------- /tests/unit/cache/test_in_memory_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/cache/test_in_memory_cache.py -------------------------------------------------------------------------------- /tests/unit/cache/test_postgres_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/cache/test_postgres_cache.py -------------------------------------------------------------------------------- /tests/unit/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/conftest.py -------------------------------------------------------------------------------- /tests/unit/extra_certs/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for extra certs handling.""" 2 | -------------------------------------------------------------------------------- /tests/unit/extra_certs/sample_cert_1.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/extra_certs/sample_cert_1.crt -------------------------------------------------------------------------------- /tests/unit/extra_certs/sample_cert_2.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/extra_certs/sample_cert_2.crt -------------------------------------------------------------------------------- /tests/unit/extra_certs/test_extra_certs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/extra_certs/test_extra_certs.py -------------------------------------------------------------------------------- /tests/unit/llms/__init__.py: -------------------------------------------------------------------------------- 1 | """Test cases for LLMProvider registry.""" 2 | -------------------------------------------------------------------------------- /tests/unit/llms/providers/__init__.py: -------------------------------------------------------------------------------- 1 | """Test cases for LLM providers.""" 2 | -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_azure_openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_azure_openai.py -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_bam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_bam.py -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_fake_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_fake_provider.py -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_openai.py -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_providers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_providers.py -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_rhelai_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_rhelai_vllm.py -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_rhoai_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_rhoai_vllm.py -------------------------------------------------------------------------------- /tests/unit/llms/providers/test_watsonx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/providers/test_watsonx.py -------------------------------------------------------------------------------- /tests/unit/llms/test_llm_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/llms/test_llm_loader.py -------------------------------------------------------------------------------- /tests/unit/plugins/test_plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/plugins/test_plugins.py -------------------------------------------------------------------------------- /tests/unit/prompts/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for prompt generator.""" 2 | -------------------------------------------------------------------------------- /tests/unit/prompts/test_prompt_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/prompts/test_prompt_generator.py -------------------------------------------------------------------------------- /tests/unit/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/pytest.ini -------------------------------------------------------------------------------- /tests/unit/query_helpers/__init__.py: -------------------------------------------------------------------------------- 1 | """Test cases for query helpers classes.""" 2 | -------------------------------------------------------------------------------- /tests/unit/query_helpers/test_attachment_appender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/query_helpers/test_attachment_appender.py -------------------------------------------------------------------------------- /tests/unit/query_helpers/test_docs_summarizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/query_helpers/test_docs_summarizer.py -------------------------------------------------------------------------------- /tests/unit/query_helpers/test_query_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/query_helpers/test_query_helper.py -------------------------------------------------------------------------------- /tests/unit/query_helpers/test_question_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/query_helpers/test_question_validator.py -------------------------------------------------------------------------------- /tests/unit/quota/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for quota limiters.""" 2 | -------------------------------------------------------------------------------- /tests/unit/quota/test_cluster_quota_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/quota/test_cluster_quota_limiter.py -------------------------------------------------------------------------------- /tests/unit/quota/test_quota_exceed_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/quota/test_quota_exceed_error.py -------------------------------------------------------------------------------- /tests/unit/quota/test_quota_limiter_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/quota/test_quota_limiter_factory.py -------------------------------------------------------------------------------- /tests/unit/quota/test_token_usage_history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/quota/test_token_usage_history.py -------------------------------------------------------------------------------- /tests/unit/quota/test_user_quota_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/quota/test_user_quota_limiter.py -------------------------------------------------------------------------------- /tests/unit/rag_index/__init__.py: -------------------------------------------------------------------------------- 1 | """Test cases for rag index related modules.""" 2 | -------------------------------------------------------------------------------- /tests/unit/rag_index/test_index_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/rag_index/test_index_loader.py -------------------------------------------------------------------------------- /tests/unit/runners/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for runners.""" 2 | -------------------------------------------------------------------------------- /tests/unit/runners/test_quota_scheduler_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/runners/test_quota_scheduler_runner.py -------------------------------------------------------------------------------- /tests/unit/runners/test_uvicorn_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/runners/test_uvicorn_runner.py -------------------------------------------------------------------------------- /tests/unit/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/test_version.py -------------------------------------------------------------------------------- /tests/unit/tools/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests for tools.""" 2 | -------------------------------------------------------------------------------- /tests/unit/tools/test_mcp_config_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/tools/test_mcp_config_builder.py -------------------------------------------------------------------------------- /tests/unit/tools/test_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/tools/test_tools.py -------------------------------------------------------------------------------- /tests/unit/ui/__init__.py: -------------------------------------------------------------------------------- 1 | """Test cases GradioUI functionality.""" 2 | -------------------------------------------------------------------------------- /tests/unit/ui/test_gradio_ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/ui/test_gradio_ui.py -------------------------------------------------------------------------------- /tests/unit/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/__init__.py -------------------------------------------------------------------------------- /tests/unit/utils/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_config.py -------------------------------------------------------------------------------- /tests/unit/utils/test_connection_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_connection_decorator.py -------------------------------------------------------------------------------- /tests/unit/utils/test_environments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_environments.py -------------------------------------------------------------------------------- /tests/unit/utils/test_errors_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_errors_parsing.py -------------------------------------------------------------------------------- /tests/unit/utils/test_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_logging.py -------------------------------------------------------------------------------- /tests/unit/utils/test_pyroscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_pyroscope.py -------------------------------------------------------------------------------- /tests/unit/utils/test_redactor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_redactor.py -------------------------------------------------------------------------------- /tests/unit/utils/test_ssl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_ssl.py -------------------------------------------------------------------------------- /tests/unit/utils/test_suid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_suid.py -------------------------------------------------------------------------------- /tests/unit/utils/test_tls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_tls.py -------------------------------------------------------------------------------- /tests/unit/utils/test_token_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/tests/unit/utils/test_token_handler.py -------------------------------------------------------------------------------- /ubi.repo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/lightspeed-service/HEAD/ubi.repo --------------------------------------------------------------------------------