> For the complete documentation index, see [llms.txt](https://propscreen.gitbook.io/propscreen/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://propscreen.gitbook.io/propscreen/project-considerations/propscreens-llm-implementation.md).

# PropScreen's LLM Implementation

## Overview

An alternative architecture has been proposed where instead of a series of checks, PropScreen would  instead itself be a language model that has been given the context of the organizational sensitive information and has been tasked with reading the responses of the organization's LLM and determining whether or not the responses contain organizational sensitive information. PropScreen's LLM would not directly interact with the LLM user, but make a determination on the existence of organization sensitive information a the Company LLM's response. The determination would then dictate the action that PropScreen takes in the [first use case](/propscreen/introduction/solution-overview/use-cases.md#sensitive-information-interdiction).&#x20;

<figure><img src="/files/cFtxcqejbIQdUGzhQ4E2" alt=""><figcaption><p>High Level Architecture of the LLM Based Approach to PropScreen</p></figcaption></figure>

## Benefits

### Speed

This approach would subject the organization's LLM responses to a single check instead of a series of three checks. While still in speculation, it is likely that the single check that the PropScreen model would perform would be faster that the sum of the NER model, regex, and two checks against databases that PropScreen currently utilizes.

### Wider Breadth

A language model scanning for organization sensitive information being disclosed inside of responses could be more dynamic in its detection of sensitive information. The primary reason being is that a model would be able to detect organizational data that has been misformatted or obfuscated in some way.  For example, if client IDs are considered sensitive information and one such ID is "ZB-743223", a hashed check would fail against a response that contains "ZB -743 223" - a model has the possibility of identifying this correctly as the client ID "ZB-743223" and blocking it.&#x20;

## Considerations

### Access to Sensitive Data

This approach would require PropScreen to have access to the organization's sensitive information in the clear text. While this is not prohibitive for the solution, the PropScreen's model knowing organizational sensitive information should be considered when determining the tolerable levels of risk for this type of implementation.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://propscreen.gitbook.io/propscreen/project-considerations/propscreens-llm-implementation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
