├── .github ├── CONTRIBUTING.md ├── FUNDING.yml ├── SECURITY.md ├── pull_request_template.md └── workflows │ ├── formatting.yml │ ├── phpstan.yml │ └── tests.yml ├── .gitignore ├── LICENSE ├── README.md ├── Taskfile.yml ├── assets └── bedrock-banner.webp ├── bin └── git-hooks │ └── formatting ├── composer.json ├── phpstan.neon.dist ├── phpunit.xml.dist ├── rector.php ├── src ├── Bedrock.php ├── BedrockServiceProvider.php ├── Contracts │ ├── BedrockEmbeddingsHandler.php │ ├── BedrockStructuredHandler.php │ └── BedrockTextHandler.php ├── Enums │ ├── BedrockSchema.php │ └── Mimes.php ├── Rectors │ └── ReorderMethodsRector.php └── Schemas │ ├── Anthropic │ ├── AnthropicStructuredHandler.php │ ├── AnthropicTextHandler.php │ ├── Concerns │ │ ├── ExtractsText.php │ │ └── ExtractsToolCalls.php │ └── Maps │ │ ├── FinishReasonMap.php │ │ ├── ImageMapper.php │ │ ├── MessageMap.php │ │ ├── ToolChoiceMap.php │ │ └── ToolMap.php │ ├── Cohere │ └── CohereEmbeddingsHandler.php │ └── Converse │ ├── Concerns │ ├── ExtractsText.php │ └── ExtractsToolCalls.php │ ├── ConverseStructuredHandler.php │ ├── ConverseTextHandler.php │ └── Maps │ ├── DocumentMapper.php │ ├── FinishReasonMap.php │ ├── ImageMapper.php │ ├── MessageMap.php │ ├── ToolChoiceMap.php │ └── ToolMap.php ├── testbench.yaml ├── tests ├── ArchTest.php ├── BedrockServiceProviderTest.php ├── Fixtures │ ├── FixtureResponse.php │ ├── anthropic │ │ ├── calculate-cache-usage-1.json │ │ ├── generate-text-with-a-prompt-1.json │ │ ├── generate-text-with-base64-image-1.json │ │ ├── generate-text-with-image-1.json │ │ ├── generate-text-with-multiple-tools-1.json │ │ ├── generate-text-with-multiple-tools-2.json │ │ ├── generate-text-with-multiple-tools-3.json │ │ ├── generate-text-with-required-tool-call-1.json │ │ ├── generate-text-with-system-prompt-1.json │ │ ├── structured-1.json │ │ ├── structured-with-multiple-tools-1.json │ │ ├── structured-with-multiple-tools-2.json │ │ └── structured-with-multiple-tools-3.json │ ├── cohere │ │ ├── embeddings-from-multiple-inputs-1.json │ │ ├── generate-embeddings-from-file-1.json │ │ └── generate-embeddings-from-input-1.json │ ├── converse │ │ ├── generate-text-handles-required-tool-call-1.json │ │ ├── generate-text-handles-required-tool-call-2.json │ │ ├── generate-text-handles-tool-calls-1.json │ │ ├── generate-text-handles-tool-calls-2.json │ │ ├── generate-text-makes-required-tool-call-1.json │ │ ├── generate-text-with-a-prompt-1.json │ │ ├── generate-text-with-image-1.json │ │ ├── generate-text-with-multiple-tool-calls-1.json │ │ ├── generate-text-with-multiple-tool-calls-2.json │ │ ├── generate-text-with-multiple-tool-calls-3.json │ │ ├── generate-text-with-reasoning-content-1.json │ │ ├── generate-text-with-required-tool-call-1.json │ │ ├── generate-text-with-system-prompt-1.json │ │ ├── query-a-pdf-document-1.json │ │ ├── query-a-txt-document-1.json │ │ ├── structured-1.json │ │ └── with-converse-options-1.json │ ├── document.docx │ ├── document.md │ ├── document.pdf │ └── test-image.png ├── Pest.php ├── Schemas │ ├── Anthropic │ │ ├── AnthropicStructuredHandlerTest.php │ │ ├── AnthropicTextHandlerTest.php │ │ └── Maps │ │ │ ├── MessageMapTest.php │ │ │ └── ToolMapTest.php │ ├── Cohere │ │ └── CohereEmbeddingsTest.php │ └── Converse │ │ ├── ConverseStructuredHandlerTest.php │ │ ├── ConverseTextHandlerTest.php │ │ └── Maps │ │ ├── MessageMapTest.php │ │ ├── ToolChoiceMapTest.php │ │ └── ToolMapTest.php └── TestCase.php ├── whisky.json └── workbench ├── app ├── Models │ ├── .gitkeep │ └── User.php └── Providers │ └── WorkbenchServiceProvider.php ├── bootstrap ├── app.php └── providers.php ├── database ├── factories │ ├── .gitkeep │ └── UserFactory.php ├── migrations │ └── .gitkeep └── seeders │ └── DatabaseSeeder.php ├── resources └── views │ └── .gitkeep └── routes ├── console.php └── web.php /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: sixlive 4 | -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/.github/SECURITY.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/formatting.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/.github/workflows/formatting.yml -------------------------------------------------------------------------------- /.github/workflows/phpstan.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/.github/workflows/phpstan.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/README.md -------------------------------------------------------------------------------- /Taskfile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/Taskfile.yml -------------------------------------------------------------------------------- /assets/bedrock-banner.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/assets/bedrock-banner.webp -------------------------------------------------------------------------------- /bin/git-hooks/formatting: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/bin/git-hooks/formatting -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/composer.json -------------------------------------------------------------------------------- /phpstan.neon.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/phpstan.neon.dist -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /rector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/rector.php -------------------------------------------------------------------------------- /src/Bedrock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Bedrock.php -------------------------------------------------------------------------------- /src/BedrockServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/BedrockServiceProvider.php -------------------------------------------------------------------------------- /src/Contracts/BedrockEmbeddingsHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Contracts/BedrockEmbeddingsHandler.php -------------------------------------------------------------------------------- /src/Contracts/BedrockStructuredHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Contracts/BedrockStructuredHandler.php -------------------------------------------------------------------------------- /src/Contracts/BedrockTextHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Contracts/BedrockTextHandler.php -------------------------------------------------------------------------------- /src/Enums/BedrockSchema.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Enums/BedrockSchema.php -------------------------------------------------------------------------------- /src/Enums/Mimes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Enums/Mimes.php -------------------------------------------------------------------------------- /src/Rectors/ReorderMethodsRector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Rectors/ReorderMethodsRector.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/AnthropicStructuredHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/AnthropicStructuredHandler.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/AnthropicTextHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/AnthropicTextHandler.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/Concerns/ExtractsText.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/Concerns/ExtractsText.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/Concerns/ExtractsToolCalls.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/Concerns/ExtractsToolCalls.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/Maps/FinishReasonMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/Maps/FinishReasonMap.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/Maps/ImageMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/Maps/ImageMapper.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/Maps/MessageMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/Maps/MessageMap.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/Maps/ToolChoiceMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/Maps/ToolChoiceMap.php -------------------------------------------------------------------------------- /src/Schemas/Anthropic/Maps/ToolMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Anthropic/Maps/ToolMap.php -------------------------------------------------------------------------------- /src/Schemas/Cohere/CohereEmbeddingsHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Cohere/CohereEmbeddingsHandler.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Concerns/ExtractsText.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Concerns/ExtractsText.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Concerns/ExtractsToolCalls.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Concerns/ExtractsToolCalls.php -------------------------------------------------------------------------------- /src/Schemas/Converse/ConverseStructuredHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/ConverseStructuredHandler.php -------------------------------------------------------------------------------- /src/Schemas/Converse/ConverseTextHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/ConverseTextHandler.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Maps/DocumentMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Maps/DocumentMapper.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Maps/FinishReasonMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Maps/FinishReasonMap.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Maps/ImageMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Maps/ImageMapper.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Maps/MessageMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Maps/MessageMap.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Maps/ToolChoiceMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Maps/ToolChoiceMap.php -------------------------------------------------------------------------------- /src/Schemas/Converse/Maps/ToolMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/src/Schemas/Converse/Maps/ToolMap.php -------------------------------------------------------------------------------- /testbench.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/testbench.yaml -------------------------------------------------------------------------------- /tests/ArchTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/ArchTest.php -------------------------------------------------------------------------------- /tests/BedrockServiceProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/BedrockServiceProviderTest.php -------------------------------------------------------------------------------- /tests/Fixtures/FixtureResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/FixtureResponse.php -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/calculate-cache-usage-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/calculate-cache-usage-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-a-prompt-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-a-prompt-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-base64-image-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-base64-image-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-image-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-image-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-multiple-tools-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-multiple-tools-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-multiple-tools-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-multiple-tools-2.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-multiple-tools-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-multiple-tools-3.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-required-tool-call-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-required-tool-call-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/generate-text-with-system-prompt-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/generate-text-with-system-prompt-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/structured-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/structured-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/structured-with-multiple-tools-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/structured-with-multiple-tools-1.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/structured-with-multiple-tools-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/structured-with-multiple-tools-2.json -------------------------------------------------------------------------------- /tests/Fixtures/anthropic/structured-with-multiple-tools-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/anthropic/structured-with-multiple-tools-3.json -------------------------------------------------------------------------------- /tests/Fixtures/cohere/embeddings-from-multiple-inputs-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/cohere/embeddings-from-multiple-inputs-1.json -------------------------------------------------------------------------------- /tests/Fixtures/cohere/generate-embeddings-from-file-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/cohere/generate-embeddings-from-file-1.json -------------------------------------------------------------------------------- /tests/Fixtures/cohere/generate-embeddings-from-input-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/cohere/generate-embeddings-from-input-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-handles-required-tool-call-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-handles-required-tool-call-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-handles-required-tool-call-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-handles-required-tool-call-2.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-handles-tool-calls-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-handles-tool-calls-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-handles-tool-calls-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-handles-tool-calls-2.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-makes-required-tool-call-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-makes-required-tool-call-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-a-prompt-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-a-prompt-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-image-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-image-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-multiple-tool-calls-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-multiple-tool-calls-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-multiple-tool-calls-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-multiple-tool-calls-2.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-multiple-tool-calls-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-multiple-tool-calls-3.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-reasoning-content-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-reasoning-content-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-required-tool-call-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-required-tool-call-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/generate-text-with-system-prompt-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/generate-text-with-system-prompt-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/query-a-pdf-document-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/query-a-pdf-document-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/query-a-txt-document-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/query-a-txt-document-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/structured-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/converse/structured-1.json -------------------------------------------------------------------------------- /tests/Fixtures/converse/with-converse-options-1.json: -------------------------------------------------------------------------------- 1 | {"Message":"Unexpected value type in payload"} -------------------------------------------------------------------------------- /tests/Fixtures/document.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/document.docx -------------------------------------------------------------------------------- /tests/Fixtures/document.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/document.md -------------------------------------------------------------------------------- /tests/Fixtures/document.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/document.pdf -------------------------------------------------------------------------------- /tests/Fixtures/test-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Fixtures/test-image.png -------------------------------------------------------------------------------- /tests/Pest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Pest.php -------------------------------------------------------------------------------- /tests/Schemas/Anthropic/AnthropicStructuredHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Anthropic/AnthropicStructuredHandlerTest.php -------------------------------------------------------------------------------- /tests/Schemas/Anthropic/AnthropicTextHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Anthropic/AnthropicTextHandlerTest.php -------------------------------------------------------------------------------- /tests/Schemas/Anthropic/Maps/MessageMapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Anthropic/Maps/MessageMapTest.php -------------------------------------------------------------------------------- /tests/Schemas/Anthropic/Maps/ToolMapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Anthropic/Maps/ToolMapTest.php -------------------------------------------------------------------------------- /tests/Schemas/Cohere/CohereEmbeddingsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Cohere/CohereEmbeddingsTest.php -------------------------------------------------------------------------------- /tests/Schemas/Converse/ConverseStructuredHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Converse/ConverseStructuredHandlerTest.php -------------------------------------------------------------------------------- /tests/Schemas/Converse/ConverseTextHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Converse/ConverseTextHandlerTest.php -------------------------------------------------------------------------------- /tests/Schemas/Converse/Maps/MessageMapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Converse/Maps/MessageMapTest.php -------------------------------------------------------------------------------- /tests/Schemas/Converse/Maps/ToolChoiceMapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Converse/Maps/ToolChoiceMapTest.php -------------------------------------------------------------------------------- /tests/Schemas/Converse/Maps/ToolMapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/Schemas/Converse/Maps/ToolMapTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /whisky.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/whisky.json -------------------------------------------------------------------------------- /workbench/app/Models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /workbench/app/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/app/Models/User.php -------------------------------------------------------------------------------- /workbench/app/Providers/WorkbenchServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/app/Providers/WorkbenchServiceProvider.php -------------------------------------------------------------------------------- /workbench/bootstrap/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/bootstrap/app.php -------------------------------------------------------------------------------- /workbench/bootstrap/providers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/bootstrap/providers.php -------------------------------------------------------------------------------- /workbench/database/factories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /workbench/database/factories/UserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/database/factories/UserFactory.php -------------------------------------------------------------------------------- /workbench/database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /workbench/database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/database/seeders/DatabaseSeeder.php -------------------------------------------------------------------------------- /workbench/resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /workbench/routes/console.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/routes/console.php -------------------------------------------------------------------------------- /workbench/routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prism-php/bedrock/HEAD/workbench/routes/web.php --------------------------------------------------------------------------------