# August 20: Support for medical entities, Anthropic prompt caching, bug fixes

### New Features

* :bulb: Graphlit now supports the extraction of medical-related entities: MedicalStudy, MedicalCondition, MedicalGuideline, MedicalDrug, MedicalDrugClass, MedicalIndication, MedicalContraindication, MedicalTest, MedicalDevice, MedicalTherapy, and MedicalProcedure.
* :bulb: Graphlit now supports medical-related entities in GraphRAG, and via API for queries and mutations.
* Added support for [Anthropic prompt caching](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching#how-prompt-caching-works). When using Anthropic Sonnet 3.5 or Haiku 3, Anthropic will now cache the entity extraction and LLM document preparation system prompts, which saves on token cost and increases performance.

### Bugs Fixed

* GPLA-3104: Should default search type to VECTOR, when performing entity similarity filter.
* GPLA-3112: Empty PDF fails entity extraction.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://changelog.graphlit.dev/august-2024/august-20-support-for-medical-entities-anthropic-prompt-caching-bug-fixes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
