Loading...
Skip to main content

Overview

OpenAI's GPTs are a fast, easy way to build personalized GPTs on top of OpenAI. It's easy to integrate your GPT with a Fixie-managed corpus. This gives you the ability to quickly and easily extend the knowledge base of your GPT well beyond the limits supported by OpenAI by default. Fixie Corpuses support crawling web sites, PDFs, Microsoft Word documents, and many more. There is no limit to the size of a Fixie corpus.

Integration Steps

First, you'll need to make note of your Fixie Corpus ID. The Corpus ID can be found on the Corpus details page:

Fixie Corpus Example

Next, you'll need to add an Action to your GPT on the configure screen. GPT Actions are configured via an OpenAPI spec. This tells OpenAI how to call out to the Fixie service. You'll need to copy and paste the following spec. Note that you need to change the <corpus_id> and the <topic> in the description field. OpenAI will use the description text to decide when to call out to Fixie for additional information.

{
"openapi": "3.1.0",
"info": {
"title": "Fixie API",
"description": "API to the Fixie AI service.",
"version": "v0.0.1"
},
"servers": [
{
"url": "https://api.fixie.ai"
}
],
"paths": {
"/api/v1/corpora/<corpus_id>/query": {
"post": {
"description": "Queries a corpus of documents about <topic>, returning the most relevant chunks of those documents.",
"operationId": "Query corpus",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query to issue"
}
}
}
}
}
},
"deprecated": false,
"security": [
{
"apiKey": []
}
],
"x-openai-isConsequential": true
}
}
},
"components": {
"schemas": {},
"securitySchemes": {
"apiKey": {
"type": "apiKey"
}
}
}
}

Lastly, you'll need to set up Authentication. Choose an Authentication Type of API Key, filling in your Fixie API key that can be found in your Fixie Profile. Lastly, change the Auth Type to Bearer.

That's it! To make sure it's working, click the "Test" button next to the Query corpus action located in the "Available Actions" list. If you have issues, find us on Discord or email us at hello@fixie.ai.