The API
Because one of the key benefits of large language models is the ability to extract information from unstructured data (such as text), SID does not attempt to impose a specific data model on you. Instead, most of the API is centered around text chunks, which are simply strings of text with some metadata attached to them. These are intended to be fed into a language model, which will then produce the final output. Chunks are created by retrieving text from the various data sources that a user has configured. Read on for more details on how this works.Query Endpoint
The main endpoint of the API is the/query
endpoint.
Given a query string,
it retrieves text chunks whose content is relevant to the query.
These can then be used to generate the final, personalized, output.
Where does the data actually come from?
Currently, SID exposes data from the following sources:- Google Drive
- Notion
- Gmail