GPT on my files
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.
Tool execution
Tools and templates can be
-
tested on individually provided inputs:
-
set to fetch the data from a dataset and apply the analysis on the whole dataset:
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:
- A file to look at (Upload files)
- 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.
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
-
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.
-
Text input: An input text component suitable for short text pieces, such as name, topic, a question.
Tool steps
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.
- Provide the context at the top
- Be short and precise with your instruction/request from the LLM