hunk.code_window:         resp = json.loads(response.get("body").read().decode("utf-8"))
           identifiers = PROVIDER_SPECIFIC_IDENTIFIERS.get(provider, None)
           if identifiers is None:
               raise ValueError("Provider not supported")
           return resp.get(identifiers.get("embeddings"))
       def _get_query_embedding(self, query: str) -> Embedding:
           return self._get_embedding(query, "query")
       def _get_text_embedding(self, text: str) -> Embedding:
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         return identifiers["get_embeddings_func"](resp)
  
hunk.file_path: llama_index/embeddings/bedrock.py
hunk.type: replace
file: """FLARE schema."""
  
  from dataclasses import dataclass
  
  
  @dataclass
  class QueryTask:
      """Query task."""
  
      query_str: str
      start_idx: int
      end_idx: int
  