Question 1easymultiple choice
Read the full Building LLM Applications with RAG and Vector Search explanation →1Z0-1127 Building LLM Applications with RAG and Vector Search • Complete Question Bank
Complete 1Z0-1127 Building LLM Applications with RAG and Vector Search question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit.
error log:
{
"timestamp": "2025-03-15T10:30:00Z",
"source": "oci-generative-ai-inference",
"message": "CohereClientException: 429 Too Many Requests",
"details": {
"retryAfter": 60,
"modelId": "cohere.command-r-plus-08-2024"
}
}Refer to the exhibit.
document index mapping:
{
"settings": {
"index": {
"knn": true,
"knn.space_type": "cosinesimil"
}
},
"mappings": {
"properties": {
"content_embedding": {
"type": "knn_vector",
"dimension": 768,
"method": {
"name": "hnsw",
"engine": "faiss",
"space_type": "l2"
}
},
"metadata": {
"type": "object"
}
}
}
}{
"version": "1.0",
"index_patterns": ["*"],
"priority": 20,
"template": {
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.knn": true,
"index.knn.space_type": "l2"
},
"mappings": {
"properties": {
"content_embedding": {
"type": "knn_vector",
"dimension": 1024,
"method": {
"name": "hnsw",
"space_type": "cosinesimil",
"engine": "lucene",
"parameters": {
"ef_construction": 512,
"m": 32
}
}
}
}
}
}
}Error: The total token count (4082) exceeds the model's maximum context length (4096). The input includes 512 tokens for system prompt, 3072 tokens for retrieved documents, and 498 tokens for the user query.
Refer to the exhibit.
```json
{
"modelId": "cohere.command-r-plus-v1:0",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
],
"parameters": {
"temperature": 0.5,
"topP": 0.9
}
}
```Refer to the exhibit. ```sql -- Oracle Database 23ai AI Vector Search index creation CREATE VECTOR INDEX doc_vec_idx ON documents(chunk_embedding) ORGANIZATION NEIGHBOR PARTITIONS DISTANCE COSINE WITH TARGET ACCURACY 95 PARAMETERS (TYPE IVF, NEIGHBOR PARTITIONS 4); ```
{
"policy": "Allow dynamic-group RAGGroup to use generative-ai-embeddings in compartment Production"
}ERROR: OciOpenSearch: IndexNotFoundException[no such index [rag-index]]
Refer to the exhibit.
```json
{
"statements": [
{
"action": ["inspect"],
"resource": "oci-generative-ai-family"
},
{
"action": ["use"],
"resource": "oci-ai-language-family"
}
]
}
```Refer to the exhibit. Architecture diagram description: User Query -> OCI API Gateway -> OCI Functions -> OCI OpenSearch -> OCI GenAI Cohere Command -> Response
{
"settings": {
"index": {
"knn": true,
"knn.algo_param.ef_search": 100
}
},
"mappings": {
"properties": {
"embedding": {
"type": "knn_vector",
"dimension": 768,
"method": {
"name": "hnsw",
"space_type": "cosinesimil",
"engine": "faiss"
}
},
"content": {
"type": "text"
}
}
}
}