├── .env.example ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── 01_bug_report.md │ ├── 02_feature_request.md │ ├── 03_documentation_update.md │ └── config.yaml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── documentation.yml │ ├── e2e-test.yml │ ├── main.yml │ └── python-publish.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── documentation ├── .nojekyll ├── Makefile ├── make.bat └── source │ ├── 404.rst │ ├── _static │ └── custom.css │ ├── _templates │ ├── custom_landing_page.html │ ├── page.html │ └── versioning.html │ ├── changelog.rst │ ├── conf.py │ ├── extensions.rst │ ├── faq.rst │ ├── getting_started.rst │ ├── index.rst │ ├── v2_migration_guide.rst │ └── v3_migration_guide.rst ├── examples ├── __init__.py ├── deployment │ ├── __init__.py │ ├── deployed_models.py │ └── deployment.py ├── extensions │ ├── __init__.py │ ├── huggingface │ │ ├── __init__.py │ │ └── huggingface_agent.py │ ├── langchain │ │ ├── __init__.py │ │ ├── langchain_agent.py │ │ ├── langchain_chat_generate.py │ │ ├── langchain_chat_stream.py │ │ ├── langchain_embeddings.py │ │ ├── langchain_generate.py │ │ ├── langchain_generate_with_template.py │ │ ├── langchain_qa.py │ │ ├── langchain_serialization.py │ │ └── langchain_sql_agent.py │ ├── llama_index │ │ ├── __init__.py │ │ ├── llama_index_embedding.py │ │ └── llama_index_llm.py │ ├── lm_eval │ │ ├── __init__.py │ │ ├── lm_eval_cli.py │ │ └── lm_eval_model.py │ └── localserver │ │ ├── __init__.py │ │ ├── local_client.py │ │ └── local_server.py ├── extra │ ├── __init__.py │ ├── custom_api_client.py │ ├── error_handling.py │ ├── logging_example.py │ ├── parallel_processing.py │ ├── service_metadata.py │ ├── service_overriding.py │ ├── shutdown_handling.py │ └── vector_database │ │ ├── __init__.py │ │ └── chroma_db │ │ ├── __init__.py │ │ └── chroma_db_embedding.py ├── file │ ├── __init__.py │ └── file.py ├── folder │ ├── __init__.py │ └── folder.py ├── model │ ├── __init__.py │ └── model.py ├── prompt │ ├── __init__.py │ └── prompt.py ├── request │ ├── __init__.py │ ├── request.py │ └── request_feedback.py ├── system_prompt │ ├── __init__.py │ └── system_prompt.py ├── tag │ ├── __init__.py │ └── tag.py ├── task │ ├── __init__.py │ └── task.py ├── text │ ├── __init__.py │ ├── chat.py │ ├── compare_parameters.py │ ├── embedding.py │ ├── experimental │ │ ├── __init__.py │ │ ├── classification.py │ │ ├── rerank.py │ │ └── sentence_similarity.py │ ├── generation.py │ ├── generation_streaming.py │ ├── moderation.py │ ├── simple_generation.py │ └── tokenization.py ├── tune │ ├── __init__.py │ └── tune.py └── user │ ├── __init__.py │ └── user.py ├── external └── sphinx_multiversion │ ├── README.md │ ├── setup.py │ └── sphinx_multiversion │ ├── __init__.py │ ├── __main__.py │ ├── git.py │ ├── main.py │ └── sphinx.py ├── poetry.lock ├── pyproject.toml ├── scripts ├── _common │ ├── __init__.py │ ├── logger.py │ └── py.typed ├── check_markers.sh ├── docs_changelog_generator │ ├── __init__.py │ ├── authors_by_name.yaml │ ├── config.py │ ├── generate_changelog.py │ ├── gitchangelog_config.py │ ├── mustache_rst.tpl │ ├── parse_releases.py │ ├── py.typed │ ├── release_changelog.py │ └── utils.py ├── docs_examples_generator │ ├── __init__.py │ ├── config.py │ ├── main.py │ ├── py.typed │ └── utils.py ├── docs_fix_schema_private.sh ├── docs_root_redirect.py ├── rewrite_casettes.sh └── types_generator │ ├── __init__.py │ ├── assets │ └── codegen │ │ └── templates │ │ └── BaseModel.jinja2 │ ├── config.py │ ├── extractor.py │ ├── formatter.py │ ├── main.py │ ├── py.typed │ ├── schema_aliases.yaml │ ├── schema_transformer.py │ └── utils.py ├── src └── genai │ ├── __init__.py │ ├── _types.py │ ├── _utils │ ├── __init__.py │ ├── api_client.py │ ├── async_executor.py │ ├── asyncio_future.py │ ├── deprecation.py │ ├── general.py │ ├── http_client │ │ ├── __init__.py │ │ ├── httpx_client.py │ │ ├── rate_limit_transport.py │ │ └── retry_transport.py │ ├── limiters │ │ ├── adjustable_semaphor.py │ │ ├── base_limiter.py │ │ ├── container_limiter.py │ │ ├── dummy_limiter.py │ │ ├── external_limiter.py │ │ ├── local_limiter.py │ │ └── shared_limiter.py │ ├── queues │ │ ├── flushable_queue.py │ │ └── ordered_queue.py │ ├── responses.py │ ├── service │ │ ├── __init__.py │ │ ├── base_service.py │ │ └── metadata.py │ ├── shared_instance.py │ ├── shared_loop.py │ ├── shared_options.py │ └── validators.py │ ├── _version.py │ ├── client.py │ ├── credentials.py │ ├── deployment │ ├── __init__.py │ └── deployment_service.py │ ├── exceptions.py │ ├── extensions │ ├── __init__.py │ ├── _common │ │ ├── __init__.py │ │ └── utils.py │ ├── huggingface │ │ ├── __init__.py │ │ └── agent.py │ ├── langchain │ │ ├── __init__.py │ │ ├── chat_llm.py │ │ ├── embeddings.py │ │ ├── llm.py │ │ ├── template.py │ │ └── utils.py │ ├── llama_index │ │ ├── __init__.py │ │ ├── embeddings.py │ │ └── llm.py │ ├── lm_eval │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── model.py │ └── localserver │ │ ├── __init__.py │ │ ├── local_api_server.py │ │ ├── local_base_model.py │ │ └── schema.py │ ├── file │ ├── __init__.py │ └── file_service.py │ ├── folder │ ├── __init__.py │ └── folder_service.py │ ├── model │ ├── __init__.py │ └── model_service.py │ ├── prompt │ ├── __init__.py │ └── prompt_service.py │ ├── py.typed │ ├── request │ ├── __init__.py │ ├── feedback │ │ ├── __init__.py │ │ └── feedback_service.py │ └── request_service.py │ ├── schema │ ├── __init__.py │ ├── _api.py │ ├── _api_removed_schemas.py │ ├── _endpoints.py │ └── _extensions.py │ ├── system_prompt │ ├── __init__.py │ └── system_prompt_service.py │ ├── tag │ ├── __init__.py │ └── tag_service.py │ ├── task │ ├── __init__.py │ └── task_service.py │ ├── text │ ├── __init__.py │ ├── chat │ │ ├── __init__.py │ │ └── chat_generation_service.py │ ├── embedding │ │ ├── __init__.py │ │ ├── embedding_service.py │ │ └── limit │ │ │ ├── __init__.py │ │ │ └── limit_service.py │ ├── experimental │ │ ├── __init__.py │ │ ├── classification │ │ │ ├── __init__.py │ │ │ └── classification_service.py │ │ ├── experimental_service.py │ │ ├── rerank │ │ │ ├── __init__.py │ │ │ └── rerank_service.py │ │ └── sentence_similarity │ │ │ ├── __init__.py │ │ │ └── sentence_similarity_service.py │ ├── generation │ │ ├── __init__.py │ │ ├── _generation_utils.py │ │ ├── generation_service.py │ │ └── limits │ │ │ ├── __init__.py │ │ │ └── limit_service.py │ ├── moderation │ │ ├── __init__.py │ │ └── moderation_service.py │ ├── text_service.py │ └── tokenization │ │ ├── __init__.py │ │ └── tokenization_service.py │ ├── tune │ ├── __init__.py │ └── tune_service.py │ ├── user │ ├── __init__.py │ └── user_service.py │ └── utils.py └── tests ├── __init__.py ├── conftest.py ├── e2e ├── __init__.py └── test_examples.py ├── helpers.py ├── integration ├── __init__.py ├── deployment │ ├── __init__.py │ ├── cassettes │ │ └── test_deployment_service │ │ │ └── TestDeploymentService.test_create_retrieve_delete_deployment.yaml │ ├── datasets │ │ └── test_fine_tune_train.jsonl │ └── test_deployment_service.py ├── extensions │ ├── __init__.py │ ├── cassettes │ │ ├── test_huggingface_agent │ │ │ └── TestHuggingfaceAgent.test_agent.yaml │ │ ├── test_langchain │ │ │ ├── TestLangChain.test_async_langchain_interface.yaml │ │ │ ├── TestLangChain.test_langchain_interface.yaml │ │ │ └── TestLangChain.test_langchain_stream.yaml │ │ ├── test_langchain_chat │ │ │ ├── TestLangChainChat.test_async_generate.yaml │ │ │ ├── TestLangChainChat.test_generate.yaml │ │ │ └── TestLangChainChat.test_stream.yaml │ │ ├── test_langchain_embeddings │ │ │ ├── TestLangChainEmbeddings.test_async_embedding.yaml │ │ │ └── TestLangChainEmbeddings.test_embedding.yaml │ │ ├── test_llama_index │ │ │ ├── TestLlamaIndex.test_async_llama_index_interface.yaml │ │ │ ├── TestLlamaIndex.test_llama_index_chat.yaml │ │ │ ├── TestLlamaIndex.test_llama_index_complete.yaml │ │ │ ├── TestLlamaIndex.test_llama_index_complete_stream.yaml │ │ │ └── TestLlamaIndex.test_llama_index_stream_chat.yaml │ │ ├── test_llama_index_embeddings │ │ │ ├── TestLlamaIndexEmbeddings.test_async_embedding.yaml │ │ │ └── TestLlamaIndexEmbeddings.test_embedding.yaml │ │ └── test_lm_eval │ │ │ ├── TestLMEval.test_generate_until.yaml │ │ │ ├── TestLMEval.test_loglikelihood.yaml │ │ │ └── TestLMEval.test_loglikelihood_raises_for_invalid_tokenization.yaml │ ├── test_huggingface_agent.py │ ├── test_langchain.py │ ├── test_langchain_chat.py │ ├── test_langchain_embeddings.py │ ├── test_llama_index.py │ ├── test_llama_index_embeddings.py │ ├── test_lm_eval.py │ └── test_localserver.py ├── file │ ├── __init__.py │ ├── cassettes │ │ └── test_file_service │ │ │ └── TestFileService.test_create_retrieve_delete_file.yaml │ └── test_file_service.py ├── folder │ ├── __init__.py │ ├── cassettes │ │ └── test_folder_service │ │ │ └── TestFolderService.test_create_delete_folder.yaml │ └── test_folder_service.py ├── model │ ├── __init__.py │ ├── cassettes │ │ └── test_model_service │ │ │ ├── TestModelService.test_list_models.yaml │ │ │ └── TestModelService.test_retrieve_model.yaml │ └── test_model_service.py ├── prompt │ ├── __init__.py │ ├── cassettes │ │ └── test_prompt_service │ │ │ └── TestPromptService.test_create_delete_prompt.yaml │ └── test_prompt_service.py ├── request │ ├── __init__.py │ ├── cassettes │ │ ├── test_feedback_service │ │ │ └── TestFeedbackService.test_create_update_retrieve.yaml │ │ └── test_request_service │ │ │ ├── TestRequestService.test_create_retrieve_delete_chat_record.yaml │ │ │ └── TestRequestService.test_create_retrieve_delete_record.yaml │ ├── test_feedback_service.py │ └── test_request_service.py ├── system_prompt │ ├── __init__.py │ ├── cassettes │ │ ├── test_prompt_service │ │ │ └── TestSystemPromptService.test_create_delete_system_prompt.yaml │ │ └── test_system_prompt_service │ │ │ └── TestSystemPromptService.test_create_delete_system_prompt.yaml │ └── test_system_prompt_service.py ├── tag │ ├── __init__.py │ ├── cassettes │ │ └── test_tag_service │ │ │ └── TestTagService.test_list_tags.yaml │ └── test_tag_service.py ├── task │ ├── __init__.py │ ├── cassettes │ │ └── test_task_service │ │ │ └── TestTaskService.test_list_tasks.yaml │ └── test_task_service.py ├── text │ ├── __init__.py │ ├── cassettes │ │ ├── test_chat_service │ │ │ ├── TestChatService.test_create_history.yaml │ │ │ └── TestChatService.test_create_stream.yaml │ │ ├── test_embedding_service │ │ │ └── TestEmbeddingService.test_create_embedding.yaml │ │ ├── test_feedback_service │ │ │ └── TestFeedbackService.test_create_update_retrieve.yaml │ │ ├── test_generation_service │ │ │ ├── TestGenerationService.test_compare.yaml │ │ │ ├── TestGenerationService.test_create.yaml │ │ │ └── TestGenerationService.test_create_stream.yaml │ │ ├── test_limit_service │ │ │ ├── TestLimitService.test_aretrieve.yaml │ │ │ └── TestLimitService.test_retrieve.yaml │ │ ├── test_moderation_service │ │ │ └── TestModerationService.test_create_moderation.yaml │ │ └── test_tokenization_service │ │ │ ├── TestTokenizationService.test_create_tokenization_multiple_inputs.yaml │ │ │ └── TestTokenizationService.test_create_tokenization_single_input.yaml │ ├── test_chat_service.py │ ├── test_embedding_service.py │ ├── test_generation_service.py │ ├── test_limit_service.py │ ├── test_moderation_service.py │ └── test_tokenization_service.py ├── tune │ ├── __init__.py │ ├── cassettes │ │ └── test_tune_service │ │ │ ├── TestTuneService.test_create_retrieve_delete_tune.yaml │ │ │ └── TestTuneService.test_tune_types.yaml │ ├── datasets │ │ └── neurips_impact_statement_risks │ │ │ ├── LICENSE │ │ │ ├── test_tune_train.json │ │ │ └── test_tune_validate.json │ └── test_tune_service.py └── user │ ├── __init__.py │ ├── cassettes │ └── test_user_service │ │ └── TestUserService.test_update_user.yaml │ └── test_user_service.py └── unit ├── __init__.py ├── docs_examples_generator ├── __init__.py ├── assets │ ├── invalid_case │ │ ├── __init__.py │ │ └── input │ │ │ ├── __init__.py │ │ │ └── hello_world.py │ └── valid_case │ │ ├── __init__.py │ │ ├── input │ │ ├── __init__.py │ │ ├── _private.py │ │ ├── hello_world.py │ │ └── nested │ │ │ ├── __init__.py │ │ │ ├── blacklisted.py │ │ │ └── hello_world_nested.py │ │ └── output │ │ ├── valid_module.hello_world.rst │ │ ├── valid_module.nested.hello_world_nested.rst │ │ ├── valid_module.nested.rst │ │ └── valid_module.rst └── test_docs_examples_generator.py ├── test_api_client.py ├── test_client.py ├── test_credentials.py ├── test_imports.py ├── test_version.py ├── types_generator ├── __init__.py └── test_transform_schema.py └── utils ├── __init__.py ├── limiters ├── __init__.py └── test_adjustable_semaphor.py ├── service ├── __init__.py └── test_service_metadata.py ├── test_async_executor.py └── test_base_service.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.env.example -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/01_bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/ISSUE_TEMPLATE/01_bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/02_feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/ISSUE_TEMPLATE/02_feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/03_documentation_update.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/ISSUE_TEMPLATE/03_documentation_update.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/ISSUE_TEMPLATE/config.yaml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/documentation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/workflows/documentation.yml -------------------------------------------------------------------------------- /.github/workflows/e2e-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/workflows/e2e-test.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/README.md -------------------------------------------------------------------------------- /documentation/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /documentation/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/Makefile -------------------------------------------------------------------------------- /documentation/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/make.bat -------------------------------------------------------------------------------- /documentation/source/404.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/404.rst -------------------------------------------------------------------------------- /documentation/source/_static/custom.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;600&display=swap'); 2 | -------------------------------------------------------------------------------- /documentation/source/_templates/custom_landing_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/_templates/custom_landing_page.html -------------------------------------------------------------------------------- /documentation/source/_templates/page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/_templates/page.html -------------------------------------------------------------------------------- /documentation/source/_templates/versioning.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/_templates/versioning.html -------------------------------------------------------------------------------- /documentation/source/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/changelog.rst -------------------------------------------------------------------------------- /documentation/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/conf.py -------------------------------------------------------------------------------- /documentation/source/extensions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/extensions.rst -------------------------------------------------------------------------------- /documentation/source/faq.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/faq.rst -------------------------------------------------------------------------------- /documentation/source/getting_started.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/getting_started.rst -------------------------------------------------------------------------------- /documentation/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/index.rst -------------------------------------------------------------------------------- /documentation/source/v2_migration_guide.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/v2_migration_guide.rst -------------------------------------------------------------------------------- /documentation/source/v3_migration_guide.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/documentation/source/v3_migration_guide.rst -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/__init__.py -------------------------------------------------------------------------------- /examples/deployment/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Deployment 3 | """ 4 | -------------------------------------------------------------------------------- /examples/deployment/deployed_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/deployment/deployed_models.py -------------------------------------------------------------------------------- /examples/deployment/deployment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/deployment/deployment.py -------------------------------------------------------------------------------- /examples/extensions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/__init__.py -------------------------------------------------------------------------------- /examples/extensions/huggingface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/huggingface/__init__.py -------------------------------------------------------------------------------- /examples/extensions/huggingface/huggingface_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/huggingface/huggingface_agent.py -------------------------------------------------------------------------------- /examples/extensions/langchain/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/__init__.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_agent.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_chat_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_chat_generate.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_chat_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_chat_stream.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_embeddings.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_generate.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_generate_with_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_generate_with_template.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_qa.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_serialization.py -------------------------------------------------------------------------------- /examples/extensions/langchain/langchain_sql_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/langchain/langchain_sql_agent.py -------------------------------------------------------------------------------- /examples/extensions/llama_index/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/llama_index/__init__.py -------------------------------------------------------------------------------- /examples/extensions/llama_index/llama_index_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/llama_index/llama_index_embedding.py -------------------------------------------------------------------------------- /examples/extensions/llama_index/llama_index_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/llama_index/llama_index_llm.py -------------------------------------------------------------------------------- /examples/extensions/lm_eval/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/lm_eval/__init__.py -------------------------------------------------------------------------------- /examples/extensions/lm_eval/lm_eval_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/lm_eval/lm_eval_cli.py -------------------------------------------------------------------------------- /examples/extensions/lm_eval/lm_eval_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/lm_eval/lm_eval_model.py -------------------------------------------------------------------------------- /examples/extensions/localserver/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/localserver/__init__.py -------------------------------------------------------------------------------- /examples/extensions/localserver/local_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/localserver/local_client.py -------------------------------------------------------------------------------- /examples/extensions/localserver/local_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extensions/localserver/local_server.py -------------------------------------------------------------------------------- /examples/extra/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/__init__.py -------------------------------------------------------------------------------- /examples/extra/custom_api_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/custom_api_client.py -------------------------------------------------------------------------------- /examples/extra/error_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/error_handling.py -------------------------------------------------------------------------------- /examples/extra/logging_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/logging_example.py -------------------------------------------------------------------------------- /examples/extra/parallel_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/parallel_processing.py -------------------------------------------------------------------------------- /examples/extra/service_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/service_metadata.py -------------------------------------------------------------------------------- /examples/extra/service_overriding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/service_overriding.py -------------------------------------------------------------------------------- /examples/extra/shutdown_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/shutdown_handling.py -------------------------------------------------------------------------------- /examples/extra/vector_database/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Vector Databases 3 | """ 4 | -------------------------------------------------------------------------------- /examples/extra/vector_database/chroma_db/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Chroma DB 3 | """ 4 | -------------------------------------------------------------------------------- /examples/extra/vector_database/chroma_db/chroma_db_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/extra/vector_database/chroma_db/chroma_db_embedding.py -------------------------------------------------------------------------------- /examples/file/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Files 3 | """ 4 | -------------------------------------------------------------------------------- /examples/file/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/file/file.py -------------------------------------------------------------------------------- /examples/folder/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Folders 3 | """ 4 | -------------------------------------------------------------------------------- /examples/folder/folder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/folder/folder.py -------------------------------------------------------------------------------- /examples/model/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Models 3 | """ 4 | -------------------------------------------------------------------------------- /examples/model/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/model/model.py -------------------------------------------------------------------------------- /examples/prompt/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Prompts 3 | """ 4 | -------------------------------------------------------------------------------- /examples/prompt/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/prompt/prompt.py -------------------------------------------------------------------------------- /examples/request/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Requests 3 | """ 4 | -------------------------------------------------------------------------------- /examples/request/request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/request/request.py -------------------------------------------------------------------------------- /examples/request/request_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/request/request_feedback.py -------------------------------------------------------------------------------- /examples/system_prompt/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | System Prompts 3 | """ 4 | -------------------------------------------------------------------------------- /examples/system_prompt/system_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/system_prompt/system_prompt.py -------------------------------------------------------------------------------- /examples/tag/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Tags 3 | """ 4 | -------------------------------------------------------------------------------- /examples/tag/tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/tag/tag.py -------------------------------------------------------------------------------- /examples/task/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Tasks 3 | """ 4 | -------------------------------------------------------------------------------- /examples/task/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/task/task.py -------------------------------------------------------------------------------- /examples/text/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/__init__.py -------------------------------------------------------------------------------- /examples/text/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/chat.py -------------------------------------------------------------------------------- /examples/text/compare_parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/compare_parameters.py -------------------------------------------------------------------------------- /examples/text/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/embedding.py -------------------------------------------------------------------------------- /examples/text/experimental/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/experimental/__init__.py -------------------------------------------------------------------------------- /examples/text/experimental/classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/experimental/classification.py -------------------------------------------------------------------------------- /examples/text/experimental/rerank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/experimental/rerank.py -------------------------------------------------------------------------------- /examples/text/experimental/sentence_similarity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/experimental/sentence_similarity.py -------------------------------------------------------------------------------- /examples/text/generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/generation.py -------------------------------------------------------------------------------- /examples/text/generation_streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/generation_streaming.py -------------------------------------------------------------------------------- /examples/text/moderation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/moderation.py -------------------------------------------------------------------------------- /examples/text/simple_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/simple_generation.py -------------------------------------------------------------------------------- /examples/text/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/text/tokenization.py -------------------------------------------------------------------------------- /examples/tune/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Tunes 3 | """ 4 | -------------------------------------------------------------------------------- /examples/tune/tune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/tune/tune.py -------------------------------------------------------------------------------- /examples/user/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Users 3 | """ 4 | -------------------------------------------------------------------------------- /examples/user/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/examples/user/user.py -------------------------------------------------------------------------------- /external/sphinx_multiversion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/external/sphinx_multiversion/README.md -------------------------------------------------------------------------------- /external/sphinx_multiversion/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/external/sphinx_multiversion/setup.py -------------------------------------------------------------------------------- /external/sphinx_multiversion/sphinx_multiversion/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/external/sphinx_multiversion/sphinx_multiversion/__init__.py -------------------------------------------------------------------------------- /external/sphinx_multiversion/sphinx_multiversion/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/external/sphinx_multiversion/sphinx_multiversion/__main__.py -------------------------------------------------------------------------------- /external/sphinx_multiversion/sphinx_multiversion/git.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/external/sphinx_multiversion/sphinx_multiversion/git.py -------------------------------------------------------------------------------- /external/sphinx_multiversion/sphinx_multiversion/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/external/sphinx_multiversion/sphinx_multiversion/main.py -------------------------------------------------------------------------------- /external/sphinx_multiversion/sphinx_multiversion/sphinx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/external/sphinx_multiversion/sphinx_multiversion/sphinx.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/_common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/_common/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/_common/logger.py -------------------------------------------------------------------------------- /scripts/_common/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/check_markers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/check_markers.sh -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/authors_by_name.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/authors_by_name.yaml -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/config.py -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/generate_changelog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/generate_changelog.py -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/gitchangelog_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/gitchangelog_config.py -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/mustache_rst.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/mustache_rst.tpl -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/parse_releases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/parse_releases.py -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/release_changelog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/release_changelog.py -------------------------------------------------------------------------------- /scripts/docs_changelog_generator/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_changelog_generator/utils.py -------------------------------------------------------------------------------- /scripts/docs_examples_generator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/docs_examples_generator/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_examples_generator/config.py -------------------------------------------------------------------------------- /scripts/docs_examples_generator/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_examples_generator/main.py -------------------------------------------------------------------------------- /scripts/docs_examples_generator/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/docs_examples_generator/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_examples_generator/utils.py -------------------------------------------------------------------------------- /scripts/docs_fix_schema_private.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_fix_schema_private.sh -------------------------------------------------------------------------------- /scripts/docs_root_redirect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/docs_root_redirect.py -------------------------------------------------------------------------------- /scripts/rewrite_casettes.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/rewrite_casettes.sh -------------------------------------------------------------------------------- /scripts/types_generator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/types_generator/assets/codegen/templates/BaseModel.jinja2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/assets/codegen/templates/BaseModel.jinja2 -------------------------------------------------------------------------------- /scripts/types_generator/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/config.py -------------------------------------------------------------------------------- /scripts/types_generator/extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/extractor.py -------------------------------------------------------------------------------- /scripts/types_generator/formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/formatter.py -------------------------------------------------------------------------------- /scripts/types_generator/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/main.py -------------------------------------------------------------------------------- /scripts/types_generator/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/types_generator/schema_aliases.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/schema_aliases.yaml -------------------------------------------------------------------------------- /scripts/types_generator/schema_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/schema_transformer.py -------------------------------------------------------------------------------- /scripts/types_generator/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/scripts/types_generator/utils.py -------------------------------------------------------------------------------- /src/genai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/__init__.py -------------------------------------------------------------------------------- /src/genai/_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_types.py -------------------------------------------------------------------------------- /src/genai/_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/genai/_utils/api_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/api_client.py -------------------------------------------------------------------------------- /src/genai/_utils/async_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/async_executor.py -------------------------------------------------------------------------------- /src/genai/_utils/asyncio_future.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/asyncio_future.py -------------------------------------------------------------------------------- /src/genai/_utils/deprecation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/deprecation.py -------------------------------------------------------------------------------- /src/genai/_utils/general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/general.py -------------------------------------------------------------------------------- /src/genai/_utils/http_client/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/genai/_utils/http_client/httpx_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/http_client/httpx_client.py -------------------------------------------------------------------------------- /src/genai/_utils/http_client/rate_limit_transport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/http_client/rate_limit_transport.py -------------------------------------------------------------------------------- /src/genai/_utils/http_client/retry_transport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/http_client/retry_transport.py -------------------------------------------------------------------------------- /src/genai/_utils/limiters/adjustable_semaphor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/limiters/adjustable_semaphor.py -------------------------------------------------------------------------------- /src/genai/_utils/limiters/base_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/limiters/base_limiter.py -------------------------------------------------------------------------------- /src/genai/_utils/limiters/container_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/limiters/container_limiter.py -------------------------------------------------------------------------------- /src/genai/_utils/limiters/dummy_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/limiters/dummy_limiter.py -------------------------------------------------------------------------------- /src/genai/_utils/limiters/external_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/limiters/external_limiter.py -------------------------------------------------------------------------------- /src/genai/_utils/limiters/local_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/limiters/local_limiter.py -------------------------------------------------------------------------------- /src/genai/_utils/limiters/shared_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/limiters/shared_limiter.py -------------------------------------------------------------------------------- /src/genai/_utils/queues/flushable_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/queues/flushable_queue.py -------------------------------------------------------------------------------- /src/genai/_utils/queues/ordered_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/queues/ordered_queue.py -------------------------------------------------------------------------------- /src/genai/_utils/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/responses.py -------------------------------------------------------------------------------- /src/genai/_utils/service/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/service/__init__.py -------------------------------------------------------------------------------- /src/genai/_utils/service/base_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/service/base_service.py -------------------------------------------------------------------------------- /src/genai/_utils/service/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/service/metadata.py -------------------------------------------------------------------------------- /src/genai/_utils/shared_instance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/shared_instance.py -------------------------------------------------------------------------------- /src/genai/_utils/shared_loop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/shared_loop.py -------------------------------------------------------------------------------- /src/genai/_utils/shared_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/shared_options.py -------------------------------------------------------------------------------- /src/genai/_utils/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_utils/validators.py -------------------------------------------------------------------------------- /src/genai/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/_version.py -------------------------------------------------------------------------------- /src/genai/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/client.py -------------------------------------------------------------------------------- /src/genai/credentials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/credentials.py -------------------------------------------------------------------------------- /src/genai/deployment/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/deployment/__init__.py -------------------------------------------------------------------------------- /src/genai/deployment/deployment_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/deployment/deployment_service.py -------------------------------------------------------------------------------- /src/genai/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/exceptions.py -------------------------------------------------------------------------------- /src/genai/extensions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/__init__.py -------------------------------------------------------------------------------- /src/genai/extensions/_common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/genai/extensions/_common/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/_common/utils.py -------------------------------------------------------------------------------- /src/genai/extensions/huggingface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/huggingface/__init__.py -------------------------------------------------------------------------------- /src/genai/extensions/huggingface/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/huggingface/agent.py -------------------------------------------------------------------------------- /src/genai/extensions/langchain/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/langchain/__init__.py -------------------------------------------------------------------------------- /src/genai/extensions/langchain/chat_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/langchain/chat_llm.py -------------------------------------------------------------------------------- /src/genai/extensions/langchain/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/langchain/embeddings.py -------------------------------------------------------------------------------- /src/genai/extensions/langchain/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/langchain/llm.py -------------------------------------------------------------------------------- /src/genai/extensions/langchain/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/langchain/template.py -------------------------------------------------------------------------------- /src/genai/extensions/langchain/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/langchain/utils.py -------------------------------------------------------------------------------- /src/genai/extensions/llama_index/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/llama_index/__init__.py -------------------------------------------------------------------------------- /src/genai/extensions/llama_index/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/llama_index/embeddings.py -------------------------------------------------------------------------------- /src/genai/extensions/llama_index/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/llama_index/llm.py -------------------------------------------------------------------------------- /src/genai/extensions/lm_eval/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/genai/extensions/lm_eval/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/lm_eval/__main__.py -------------------------------------------------------------------------------- /src/genai/extensions/lm_eval/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/lm_eval/model.py -------------------------------------------------------------------------------- /src/genai/extensions/localserver/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/localserver/__init__.py -------------------------------------------------------------------------------- /src/genai/extensions/localserver/local_api_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/localserver/local_api_server.py -------------------------------------------------------------------------------- /src/genai/extensions/localserver/local_base_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/localserver/local_base_model.py -------------------------------------------------------------------------------- /src/genai/extensions/localserver/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/extensions/localserver/schema.py -------------------------------------------------------------------------------- /src/genai/file/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/file/__init__.py -------------------------------------------------------------------------------- /src/genai/file/file_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/file/file_service.py -------------------------------------------------------------------------------- /src/genai/folder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/folder/__init__.py -------------------------------------------------------------------------------- /src/genai/folder/folder_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/folder/folder_service.py -------------------------------------------------------------------------------- /src/genai/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/model/__init__.py -------------------------------------------------------------------------------- /src/genai/model/model_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/model/model_service.py -------------------------------------------------------------------------------- /src/genai/prompt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/prompt/__init__.py -------------------------------------------------------------------------------- /src/genai/prompt/prompt_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/prompt/prompt_service.py -------------------------------------------------------------------------------- /src/genai/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/genai/request/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/request/__init__.py -------------------------------------------------------------------------------- /src/genai/request/feedback/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/request/feedback/__init__.py -------------------------------------------------------------------------------- /src/genai/request/feedback/feedback_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/request/feedback/feedback_service.py -------------------------------------------------------------------------------- /src/genai/request/request_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/request/request_service.py -------------------------------------------------------------------------------- /src/genai/schema/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/schema/__init__.py -------------------------------------------------------------------------------- /src/genai/schema/_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/schema/_api.py -------------------------------------------------------------------------------- /src/genai/schema/_api_removed_schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/schema/_api_removed_schemas.py -------------------------------------------------------------------------------- /src/genai/schema/_endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/schema/_endpoints.py -------------------------------------------------------------------------------- /src/genai/schema/_extensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/schema/_extensions.py -------------------------------------------------------------------------------- /src/genai/system_prompt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/system_prompt/__init__.py -------------------------------------------------------------------------------- /src/genai/system_prompt/system_prompt_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/system_prompt/system_prompt_service.py -------------------------------------------------------------------------------- /src/genai/tag/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/tag/__init__.py -------------------------------------------------------------------------------- /src/genai/tag/tag_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/tag/tag_service.py -------------------------------------------------------------------------------- /src/genai/task/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/task/__init__.py -------------------------------------------------------------------------------- /src/genai/task/task_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/task/task_service.py -------------------------------------------------------------------------------- /src/genai/text/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/__init__.py -------------------------------------------------------------------------------- /src/genai/text/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/chat/__init__.py -------------------------------------------------------------------------------- /src/genai/text/chat/chat_generation_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/chat/chat_generation_service.py -------------------------------------------------------------------------------- /src/genai/text/embedding/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/embedding/__init__.py -------------------------------------------------------------------------------- /src/genai/text/embedding/embedding_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/embedding/embedding_service.py -------------------------------------------------------------------------------- /src/genai/text/embedding/limit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/embedding/limit/__init__.py -------------------------------------------------------------------------------- /src/genai/text/embedding/limit/limit_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/embedding/limit/limit_service.py -------------------------------------------------------------------------------- /src/genai/text/experimental/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/genai/text/experimental/classification/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/experimental/classification/__init__.py -------------------------------------------------------------------------------- /src/genai/text/experimental/classification/classification_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/experimental/classification/classification_service.py -------------------------------------------------------------------------------- /src/genai/text/experimental/experimental_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/experimental/experimental_service.py -------------------------------------------------------------------------------- /src/genai/text/experimental/rerank/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/experimental/rerank/__init__.py -------------------------------------------------------------------------------- /src/genai/text/experimental/rerank/rerank_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/experimental/rerank/rerank_service.py -------------------------------------------------------------------------------- /src/genai/text/experimental/sentence_similarity/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/experimental/sentence_similarity/__init__.py -------------------------------------------------------------------------------- /src/genai/text/experimental/sentence_similarity/sentence_similarity_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/experimental/sentence_similarity/sentence_similarity_service.py -------------------------------------------------------------------------------- /src/genai/text/generation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/generation/__init__.py -------------------------------------------------------------------------------- /src/genai/text/generation/_generation_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/generation/_generation_utils.py -------------------------------------------------------------------------------- /src/genai/text/generation/generation_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/generation/generation_service.py -------------------------------------------------------------------------------- /src/genai/text/generation/limits/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/generation/limits/__init__.py -------------------------------------------------------------------------------- /src/genai/text/generation/limits/limit_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/generation/limits/limit_service.py -------------------------------------------------------------------------------- /src/genai/text/moderation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/moderation/__init__.py -------------------------------------------------------------------------------- /src/genai/text/moderation/moderation_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/moderation/moderation_service.py -------------------------------------------------------------------------------- /src/genai/text/text_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/text_service.py -------------------------------------------------------------------------------- /src/genai/text/tokenization/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/tokenization/__init__.py -------------------------------------------------------------------------------- /src/genai/text/tokenization/tokenization_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/text/tokenization/tokenization_service.py -------------------------------------------------------------------------------- /src/genai/tune/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/tune/__init__.py -------------------------------------------------------------------------------- /src/genai/tune/tune_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/tune/tune_service.py -------------------------------------------------------------------------------- /src/genai/user/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/user/__init__.py -------------------------------------------------------------------------------- /src/genai/user/user_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/user/user_service.py -------------------------------------------------------------------------------- /src/genai/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/src/genai/utils.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/e2e/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/e2e/__init__.py -------------------------------------------------------------------------------- /tests/e2e/test_examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/e2e/test_examples.py -------------------------------------------------------------------------------- /tests/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/helpers.py -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/deployment/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/deployment/cassettes/test_deployment_service/TestDeploymentService.test_create_retrieve_delete_deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/deployment/cassettes/test_deployment_service/TestDeploymentService.test_create_retrieve_delete_deployment.yaml -------------------------------------------------------------------------------- /tests/integration/deployment/datasets/test_fine_tune_train.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/deployment/datasets/test_fine_tune_train.jsonl -------------------------------------------------------------------------------- /tests/integration/deployment/test_deployment_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/deployment/test_deployment_service.py -------------------------------------------------------------------------------- /tests/integration/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_huggingface_agent/TestHuggingfaceAgent.test_agent.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_huggingface_agent/TestHuggingfaceAgent.test_agent.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain/TestLangChain.test_async_langchain_interface.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain/TestLangChain.test_async_langchain_interface.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain/TestLangChain.test_langchain_interface.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain/TestLangChain.test_langchain_interface.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain/TestLangChain.test_langchain_stream.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain/TestLangChain.test_langchain_stream.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain_chat/TestLangChainChat.test_async_generate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain_chat/TestLangChainChat.test_async_generate.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain_chat/TestLangChainChat.test_generate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain_chat/TestLangChainChat.test_generate.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain_chat/TestLangChainChat.test_stream.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain_chat/TestLangChainChat.test_stream.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain_embeddings/TestLangChainEmbeddings.test_async_embedding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain_embeddings/TestLangChainEmbeddings.test_async_embedding.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_langchain_embeddings/TestLangChainEmbeddings.test_embedding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_langchain_embeddings/TestLangChainEmbeddings.test_embedding.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_async_llama_index_interface.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_async_llama_index_interface.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_chat.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_chat.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_complete.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_complete.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_complete_stream.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_complete_stream.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_stream_chat.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_llama_index/TestLlamaIndex.test_llama_index_stream_chat.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_llama_index_embeddings/TestLlamaIndexEmbeddings.test_async_embedding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_llama_index_embeddings/TestLlamaIndexEmbeddings.test_async_embedding.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_llama_index_embeddings/TestLlamaIndexEmbeddings.test_embedding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_llama_index_embeddings/TestLlamaIndexEmbeddings.test_embedding.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_lm_eval/TestLMEval.test_generate_until.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_lm_eval/TestLMEval.test_generate_until.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_lm_eval/TestLMEval.test_loglikelihood.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_lm_eval/TestLMEval.test_loglikelihood.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/cassettes/test_lm_eval/TestLMEval.test_loglikelihood_raises_for_invalid_tokenization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/cassettes/test_lm_eval/TestLMEval.test_loglikelihood_raises_for_invalid_tokenization.yaml -------------------------------------------------------------------------------- /tests/integration/extensions/test_huggingface_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_huggingface_agent.py -------------------------------------------------------------------------------- /tests/integration/extensions/test_langchain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_langchain.py -------------------------------------------------------------------------------- /tests/integration/extensions/test_langchain_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_langchain_chat.py -------------------------------------------------------------------------------- /tests/integration/extensions/test_langchain_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_langchain_embeddings.py -------------------------------------------------------------------------------- /tests/integration/extensions/test_llama_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_llama_index.py -------------------------------------------------------------------------------- /tests/integration/extensions/test_llama_index_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_llama_index_embeddings.py -------------------------------------------------------------------------------- /tests/integration/extensions/test_lm_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_lm_eval.py -------------------------------------------------------------------------------- /tests/integration/extensions/test_localserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/extensions/test_localserver.py -------------------------------------------------------------------------------- /tests/integration/file/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/file/cassettes/test_file_service/TestFileService.test_create_retrieve_delete_file.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/file/cassettes/test_file_service/TestFileService.test_create_retrieve_delete_file.yaml -------------------------------------------------------------------------------- /tests/integration/file/test_file_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/file/test_file_service.py -------------------------------------------------------------------------------- /tests/integration/folder/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/folder/cassettes/test_folder_service/TestFolderService.test_create_delete_folder.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/folder/cassettes/test_folder_service/TestFolderService.test_create_delete_folder.yaml -------------------------------------------------------------------------------- /tests/integration/folder/test_folder_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/folder/test_folder_service.py -------------------------------------------------------------------------------- /tests/integration/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/model/cassettes/test_model_service/TestModelService.test_list_models.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/model/cassettes/test_model_service/TestModelService.test_list_models.yaml -------------------------------------------------------------------------------- /tests/integration/model/cassettes/test_model_service/TestModelService.test_retrieve_model.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/model/cassettes/test_model_service/TestModelService.test_retrieve_model.yaml -------------------------------------------------------------------------------- /tests/integration/model/test_model_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/model/test_model_service.py -------------------------------------------------------------------------------- /tests/integration/prompt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/prompt/cassettes/test_prompt_service/TestPromptService.test_create_delete_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/prompt/cassettes/test_prompt_service/TestPromptService.test_create_delete_prompt.yaml -------------------------------------------------------------------------------- /tests/integration/prompt/test_prompt_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/prompt/test_prompt_service.py -------------------------------------------------------------------------------- /tests/integration/request/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/request/cassettes/test_feedback_service/TestFeedbackService.test_create_update_retrieve.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/request/cassettes/test_feedback_service/TestFeedbackService.test_create_update_retrieve.yaml -------------------------------------------------------------------------------- /tests/integration/request/cassettes/test_request_service/TestRequestService.test_create_retrieve_delete_chat_record.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/request/cassettes/test_request_service/TestRequestService.test_create_retrieve_delete_chat_record.yaml -------------------------------------------------------------------------------- /tests/integration/request/cassettes/test_request_service/TestRequestService.test_create_retrieve_delete_record.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/request/cassettes/test_request_service/TestRequestService.test_create_retrieve_delete_record.yaml -------------------------------------------------------------------------------- /tests/integration/request/test_feedback_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/request/test_feedback_service.py -------------------------------------------------------------------------------- /tests/integration/request/test_request_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/request/test_request_service.py -------------------------------------------------------------------------------- /tests/integration/system_prompt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/system_prompt/cassettes/test_prompt_service/TestSystemPromptService.test_create_delete_system_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/system_prompt/cassettes/test_prompt_service/TestSystemPromptService.test_create_delete_system_prompt.yaml -------------------------------------------------------------------------------- /tests/integration/system_prompt/cassettes/test_system_prompt_service/TestSystemPromptService.test_create_delete_system_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/system_prompt/cassettes/test_system_prompt_service/TestSystemPromptService.test_create_delete_system_prompt.yaml -------------------------------------------------------------------------------- /tests/integration/system_prompt/test_system_prompt_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/system_prompt/test_system_prompt_service.py -------------------------------------------------------------------------------- /tests/integration/tag/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/tag/cassettes/test_tag_service/TestTagService.test_list_tags.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tag/cassettes/test_tag_service/TestTagService.test_list_tags.yaml -------------------------------------------------------------------------------- /tests/integration/tag/test_tag_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tag/test_tag_service.py -------------------------------------------------------------------------------- /tests/integration/task/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/task/cassettes/test_task_service/TestTaskService.test_list_tasks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/task/cassettes/test_task_service/TestTaskService.test_list_tasks.yaml -------------------------------------------------------------------------------- /tests/integration/task/test_task_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/task/test_task_service.py -------------------------------------------------------------------------------- /tests/integration/text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_chat_service/TestChatService.test_create_history.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_chat_service/TestChatService.test_create_history.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_chat_service/TestChatService.test_create_stream.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_chat_service/TestChatService.test_create_stream.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_embedding_service/TestEmbeddingService.test_create_embedding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_embedding_service/TestEmbeddingService.test_create_embedding.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_feedback_service/TestFeedbackService.test_create_update_retrieve.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_feedback_service/TestFeedbackService.test_create_update_retrieve.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_generation_service/TestGenerationService.test_compare.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_generation_service/TestGenerationService.test_compare.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_generation_service/TestGenerationService.test_create.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_generation_service/TestGenerationService.test_create.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_generation_service/TestGenerationService.test_create_stream.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_generation_service/TestGenerationService.test_create_stream.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_limit_service/TestLimitService.test_aretrieve.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_limit_service/TestLimitService.test_aretrieve.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_limit_service/TestLimitService.test_retrieve.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_limit_service/TestLimitService.test_retrieve.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_moderation_service/TestModerationService.test_create_moderation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_moderation_service/TestModerationService.test_create_moderation.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_tokenization_service/TestTokenizationService.test_create_tokenization_multiple_inputs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_tokenization_service/TestTokenizationService.test_create_tokenization_multiple_inputs.yaml -------------------------------------------------------------------------------- /tests/integration/text/cassettes/test_tokenization_service/TestTokenizationService.test_create_tokenization_single_input.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/cassettes/test_tokenization_service/TestTokenizationService.test_create_tokenization_single_input.yaml -------------------------------------------------------------------------------- /tests/integration/text/test_chat_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/test_chat_service.py -------------------------------------------------------------------------------- /tests/integration/text/test_embedding_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/test_embedding_service.py -------------------------------------------------------------------------------- /tests/integration/text/test_generation_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/test_generation_service.py -------------------------------------------------------------------------------- /tests/integration/text/test_limit_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/test_limit_service.py -------------------------------------------------------------------------------- /tests/integration/text/test_moderation_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/test_moderation_service.py -------------------------------------------------------------------------------- /tests/integration/text/test_tokenization_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/text/test_tokenization_service.py -------------------------------------------------------------------------------- /tests/integration/tune/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/tune/cassettes/test_tune_service/TestTuneService.test_create_retrieve_delete_tune.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tune/cassettes/test_tune_service/TestTuneService.test_create_retrieve_delete_tune.yaml -------------------------------------------------------------------------------- /tests/integration/tune/cassettes/test_tune_service/TestTuneService.test_tune_types.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tune/cassettes/test_tune_service/TestTuneService.test_tune_types.yaml -------------------------------------------------------------------------------- /tests/integration/tune/datasets/neurips_impact_statement_risks/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tune/datasets/neurips_impact_statement_risks/LICENSE -------------------------------------------------------------------------------- /tests/integration/tune/datasets/neurips_impact_statement_risks/test_tune_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tune/datasets/neurips_impact_statement_risks/test_tune_train.json -------------------------------------------------------------------------------- /tests/integration/tune/datasets/neurips_impact_statement_risks/test_tune_validate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tune/datasets/neurips_impact_statement_risks/test_tune_validate.json -------------------------------------------------------------------------------- /tests/integration/tune/test_tune_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/tune/test_tune_service.py -------------------------------------------------------------------------------- /tests/integration/user/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/user/cassettes/test_user_service/TestUserService.test_update_user.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/user/cassettes/test_user_service/TestUserService.test_update_user.yaml -------------------------------------------------------------------------------- /tests/integration/user/test_user_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/integration/user/test_user_service.py -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/invalid_case/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/invalid_case/input/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/invalid_case/input/hello_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/invalid_case/input/hello_world.py -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/input/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file should be ignored during generation. 3 | """ 4 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/input/_private.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file should be ignored during generation. 3 | """ 4 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/input/hello_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/valid_case/input/hello_world.py -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/input/nested/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Nested Module 3 | """ 4 | -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/input/nested/blacklisted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/valid_case/input/nested/blacklisted.py -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/input/nested/hello_world_nested.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/valid_case/input/nested/hello_world_nested.py -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.hello_world.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.hello_world.rst -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.nested.hello_world_nested.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.nested.hello_world_nested.rst -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.nested.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.nested.rst -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/assets/valid_case/output/valid_module.rst -------------------------------------------------------------------------------- /tests/unit/docs_examples_generator/test_docs_examples_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/docs_examples_generator/test_docs_examples_generator.py -------------------------------------------------------------------------------- /tests/unit/test_api_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/test_api_client.py -------------------------------------------------------------------------------- /tests/unit/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/test_client.py -------------------------------------------------------------------------------- /tests/unit/test_credentials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/test_credentials.py -------------------------------------------------------------------------------- /tests/unit/test_imports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/test_imports.py -------------------------------------------------------------------------------- /tests/unit/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/test_version.py -------------------------------------------------------------------------------- /tests/unit/types_generator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/types_generator/test_transform_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/types_generator/test_transform_schema.py -------------------------------------------------------------------------------- /tests/unit/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/utils/limiters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/utils/limiters/test_adjustable_semaphor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/utils/limiters/test_adjustable_semaphor.py -------------------------------------------------------------------------------- /tests/unit/utils/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/utils/service/test_service_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/utils/service/test_service_metadata.py -------------------------------------------------------------------------------- /tests/unit/utils/test_async_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/utils/test_async_executor.py -------------------------------------------------------------------------------- /tests/unit/utils/test_base_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-generative-ai/HEAD/tests/unit/utils/test_base_service.py --------------------------------------------------------------------------------