One of the frequently used templates at Relevance is GPT on my files. This Tool enables you to find the answer to a given question in a file.

GPT on my Files

Tool execution

Tools and templates can be

How to use the Tool

Locate the Tool in the template page and click on Use template. You can use the Tool as is or clone it.

Tool inputs and output

The Tool requires two inputs:

  1. A file to look at (Upload files)
  2. A question to answer (Question): Provide the input data and hit Run once, you will see the LLM response in a few seconds similar to what is shown in the image below. GPT on my Files
LLMs are not designed or trained for statistical analysis. Questions like “How many projects were conducted?” or “What was the overall success on the x projects?” are likely to raise the “I could not find the answer” response unless there is a note in the provided information stating the answer.

The output is the answer to the question based on the provided information.

Tool components

If you clone a template, or make a Tool from scratch, you will have access to the Build tab. Build is where one put together different components to build a Tool suitable for their needs.

User inputs

User inputs

  1. File to text: An easy-to-use, one step component, which takes care of all you need when uploading a file and extracting text from it.

  2. Text input: An input text component suitable for short text pieces, such as name, topic, a question.

Tool steps

LLM

Large Language Model (LLM)

A large language model component is all set up to provide you access to GPT (and many other LLMs). In the prompt section, you will provide the required information as well as instructions to what is expected to be done.

A Good Prompt

  1. Provide the context at the top
  2. Be short and precise with your instruction/request from the LLM