local_rqa namespace#
Subpackages#
- local_rqa.evaluation package
- local_rqa.guardrails package
- local_rqa.pipelines package
- local_rqa.qa_llms package
- local_rqa.retrievers package
- local_rqa.schema package
- local_rqa.serve package
- Submodules
- local_rqa.serve.base_model_worker module
- local_rqa.serve.controller module
- local_rqa.serve.gradio_dialogue module
- local_rqa.serve.gradio_rqa module
- local_rqa.serve.gradio_static_server module
- local_rqa.serve.gradio_web_server module
- local_rqa.serve.model_worker module
- local_rqa.serve.test_message module
- Module contents
- local_rqa.text_loaders package
- local_rqa.trainers namespace
- Subpackages
- local_rqa.trainers.qa_llm namespace
- local_rqa.trainers.retriever namespace
- Submodules
- local_rqa.trainers.retriever.arguments module
- local_rqa.trainers.retriever.datasets module
- local_rqa.trainers.retriever.embeddings module
- local_rqa.trainers.retriever.retriever_fid_trainer module
- local_rqa.trainers.retriever.retriever_replug_trainer module
- local_rqa.trainers.retriever.retriever_trainer module
- Submodules
- local_rqa.trainers.dist_utils module
- local_rqa.trainers.utils module
- Subpackages
Submodules#
local_rqa.base module#
local_rqa.constants module#
- class local_rqa.constants.AccelerationFramework(value)#
Bases:
Enum
An enumeration.
- SGLANG = 'sglang::'#
- TGI = 'tgi::'#
- VLLM = 'vllm::'#
- class local_rqa.constants.ErrorCode(value)#
Bases:
IntEnum
https://platform.openai.com/docs/guides/error-codes/api-errors
- CONTEXT_OVERFLOW = 40303#
- CONTROLLER_NO_WORKER = 50005#
- CONTROLLER_WORKER_TIMEOUT = 50006#
- CUDA_OUT_OF_MEMORY = 50002#
- ENGINE_OVERLOADED = 42903#
- GRADIO_REQUEST_ERROR = 50003#
- GRADIO_STREAM_UNKNOWN_ERROR = 50004#
- INCORRECT_AUTH_KEY = 40102#
- INTERNAL_ERROR = 50001#
- INVALID_AUTH_KEY = 40101#
- INVALID_MODEL = 40301#
- NO_PERMISSION = 40103#
- PARAM_OUT_OF_RANGE = 40302#
- QUOTA_EXCEEDED = 42902#
- RATE_LIMIT = 42901#
- VALIDATION_TYPE_ERROR = 40001#