Skip to content

Commit dc48c2e

Browse files
Dennis TraubLaren-AWS
authored andcommitted
Remove Java and PHP
1 parent 3743fb3 commit dc48c2e

File tree

16 files changed

+3
-307
lines changed

16 files changed

+3
-307
lines changed

.doc_gen/metadata/bedrock-runtime_metadata.yaml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -765,31 +765,6 @@ bedrock-runtime_InvokeModel_CohereCommandR:
765765
services:
766766
bedrock-runtime: {InvokeModel}
767767

768-
bedrock-runtime_InvokeModel_MetaLlama2:
769-
title: Invoke Meta Llama 2 on &BR; using the Invoke Model API
770-
title_abbrev: "InvokeModel: Llama 2"
771-
synopsis: send a text message to Meta Llama 2, using the Invoke Model API.
772-
category: Meta Llama
773-
languages:
774-
Java:
775-
versions:
776-
- sdk_version: 2
777-
github: javav2/example_code/bedrock-runtime
778-
excerpts:
779-
- description: Use the Invoke Model API to send a text message.
780-
snippet_tags:
781-
- bedrock-runtime.java2.InvokeModel_MetaLlama2
782-
PHP:
783-
versions:
784-
- sdk_version: 3
785-
github: php/example_code/bedrock-runtime
786-
excerpts:
787-
- description: Use the Invoke Model API to send a text message.
788-
snippet_tags:
789-
- php.example_code.bedrock-runtime.service.invokeLlama2
790-
services:
791-
bedrock-runtime: {InvokeModel}
792-
793768
bedrock-runtime_InvokeModel_MetaLlama3:
794769
title: Invoke Meta Llama 3 on &BR; using the Invoke Model API
795770
title_abbrev: "InvokeModel: Llama 3"
@@ -1022,47 +997,6 @@ bedrock-runtime_InvokeModelWithResponseStream_CohereCommandR:
1022997
services:
1023998
bedrock-runtime: {InvokeModel}
1024999

1025-
bedrock-runtime_InvokeModelWithResponseStream_MetaLlama2:
1026-
title: Invoke Meta Llama 2 on &BR; using the Invoke Model API with a response stream
1027-
title_abbrev: "InvokeModelWithResponseStream: Llama 2"
1028-
synopsis: send a text message to Meta Llama 2, using the Invoke Model API, and print the response stream.
1029-
category: Meta Llama
1030-
languages:
1031-
Java:
1032-
versions:
1033-
- sdk_version: 2
1034-
github: javav2/example_code/bedrock-runtime
1035-
excerpts:
1036-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1037-
snippet_tags:
1038-
- bedrock-runtime.java2.InvokeModelWithResponseStream_MetaLlama2
1039-
.NET:
1040-
versions:
1041-
- sdk_version: 3
1042-
github: dotnetv3/Bedrock-runtime
1043-
excerpts:
1044-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1045-
snippet_tags:
1046-
- BedrockRuntime.dotnetv3.InvokeModelWithResponseStream_MetaLlama2
1047-
Python:
1048-
versions:
1049-
- sdk_version: 3
1050-
github: python/example_code/bedrock-runtime
1051-
excerpts:
1052-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1053-
snippet_tags:
1054-
- python.example_code.bedrock-runtime.InvokeModelWithResponseStream_MetaLlama2
1055-
JavaScript:
1056-
versions:
1057-
- sdk_version: 3
1058-
github: javascriptv3/example_code/bedrock-runtime
1059-
excerpts:
1060-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1061-
snippet_tags:
1062-
- javascript.v3.bedrock-runtime.InvokeModelWithResponseStream_Llama2_Quickstart
1063-
services:
1064-
bedrock-runtime: {InvokeModelWithResponseStream}
1065-
10661000
bedrock-runtime_InvokeModelWithResponseStream_MetaLlama3:
10671001
title: Invoke Meta Llama 3 on &BR; using the Invoke Model API with a response stream
10681002
title_abbrev: "InvokeModelWithResponseStream: Llama 3"

dotnetv3/Bedrock-runtime/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ For prerequisites, see the [README](../README.md#Prerequisites) in the `dotnetv3
6060

6161
- [Converse](Models/MetaLlama/Converse/Converse.cs#L4)
6262
- [ConverseStream](Models/MetaLlama/ConverseStream/ConverseStream.cs#L4)
63-
- [InvokeModel: Llama 2](Models/MetaLlama/Llama2_InvokeModel/InvokeModel.cs#L4)
6463
- [InvokeModel: Llama 3](Models/MetaLlama/Llama3_InvokeModel/InvokeModel.cs#L4)
65-
- [InvokeModelWithResponseStream: Llama 2](Models/MetaLlama/Llama2_InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4)
6664
- [InvokeModelWithResponseStream: Llama 3](Models/MetaLlama/Llama3_InvokeModelWithResponseStream/InvokeModelWithResponseStream.cs#L4)
6765

6866
### Mistral AI

gov2/bedrock-runtime/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ functions within the same service.
5757
- [InvokeModel](actions/invoke_model.go#L7)
5858
- [InvokeModelWithResponseStream](actions/invoke_model_with_response_stream.go#L30)
5959

60-
### Meta Llama
61-
62-
- [InvokeModel: Llama 2](actions/invoke_model.go#L7)
63-
6460

6561
<!--custom.examples.start-->
6662
> ⚠ You must request access to a model before you can use it. If you try to use the model (with the API or console) before you have requested access to it, you will receive an error message. For more information, see [Model access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html).

javascriptv3/example_code/bedrock-runtime/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ functions within the same service.
7272

7373
- [Converse](models/metaLlama/converse.js#L4)
7474
- [ConverseStream](models/metaLlama/converseStream.js#L4)
75-
- [InvokeModel: Llama 2](models/metaLlama/llama2/invoke_model_quickstart.js#L4)
7675
- [InvokeModel: Llama 3](models/metaLlama/llama3/invoke_model_quickstart.js#L4)
77-
- [InvokeModelWithResponseStream: Llama 2](models/metaLlama/llama2/invoke_model_with_response_stream_quickstart.js#L4)
7876
- [InvokeModelWithResponseStream: Llama 3](models/metaLlama/llama3/invoke_model_with_response_stream_quickstart.js#L4)
7977

8078
### Mistral AI

javav2/example_code/bedrock-runtime/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav
7373

7474
- [Converse](src/main/java/com/example/bedrockruntime/models/metaLlama/Converse.java#L6)
7575
- [ConverseStream](src/main/java/com/example/bedrockruntime/models/metaLlama/ConverseStream.java#L6)
76-
- [InvokeModel: Llama 2](src/main/java/com/example/bedrockruntime/models/metaLlama/Llama2_InvokeModel.java#L6)
7776
- [InvokeModel: Llama 3](src/main/java/com/example/bedrockruntime/models/metaLlama/Llama3_InvokeModel.java#L6)
78-
- [InvokeModelWithResponseStream: Llama 2](src/main/java/com/example/bedrockruntime/models/metaLlama/Llama2_InvokeModelWithResponseStream.java#L6)
7977
- [InvokeModelWithResponseStream: Llama 3](src/main/java/com/example/bedrockruntime/models/metaLlama/Llama3_InvokeModelWithResponseStream.java#L6)
8078

8179
### Mistral AI

javav2/example_code/bedrock-runtime/src/main/java/com/example/bedrockruntime/models/metaLlama/Llama2_InvokeModel.java

Lines changed: 0 additions & 71 deletions
This file was deleted.

javav2/example_code/bedrock-runtime/src/main/java/com/example/bedrockruntime/models/metaLlama/Llama2_InvokeModelWithResponseStream.java

Lines changed: 0 additions & 89 deletions
This file was deleted.

javav2/example_code/bedrock-runtime/src/test/java/actions/TestConverse.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ void testCohereCommand() {
3030
assertNotNullOrEmpty(result);
3131
}
3232

33-
@Test
34-
void testLlama2() {
35-
String result = com.example.bedrockruntime.models.metaLlama.Converse.converse();
36-
assertNotNullOrEmpty(result);
37-
}
38-
3933
@Test
4034
void testMistral() {
4135
String result = com.example.bedrockruntime.models.mistral.Converse.converse();

javav2/example_code/bedrock-runtime/src/test/java/actions/TestConverseAsync.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ void testCohereCommand() {
3030
assertNotNullOrEmpty(result);
3131
}
3232

33-
@Test
34-
void testLlama2() {
35-
String result = com.example.bedrockruntime.models.metaLlama.ConverseAsync.converseAsync();
36-
assertNotNullOrEmpty(result);
37-
}
38-
3933
@Test
4034
void testMistral() {
4135
String result = com.example.bedrockruntime.models.mistral.ConverseAsync.converseAsync();

javav2/example_code/bedrock-runtime/src/test/java/actions/TestInvokeModel.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ void testCohereCommandR() {
4848
assertNotNullOrEmpty(result);
4949
}
5050

51-
@Test
52-
void testLlama2() {
53-
String result = com.example.bedrockruntime.models.metaLlama.Llama2_InvokeModel.invokeModel();
54-
assertNotNullOrEmpty(result);
55-
}
56-
5751
@Test
5852
void testLlama3() {
5953
String result = com.example.bedrockruntime.models.metaLlama.Llama3_InvokeModel.invokeModel();

0 commit comments

Comments
 (0)