Skip to main content
POST
Here’s a link to a replit showing how to create an app: https://replit.com/@krrishdholakia/BerriAPIQuizlet?v=1

Query

string
Pass in your email, this will map the app you create to your account.
string
You can either send a single data source: a single file (.pdf, .zip, .pptx, .docx, .txt) or a website/API URL.
Or multiple data sources: a list of strings or website URLs.
Additionally, you can also send in metadata for each data source.
string
The app configuration you sent to /create_template is now stored as a template. This is it’s unique id. Use it to automatically spin up chatGPT apps with that exact configuration.
string
Optional - use this to help specify how you want your output to be. This will override the prompt you set in your template if this field is set eg. You are an AI customer support bot for Substack blog posts
string
OpenAI Plugin Parameter Use this Parameter to set the name for your plugin ex. resume knowledge
string
OpenAI Plugin Parameter Use this Parameter to set a model description for your plugin ex. Plugin for querying data about Ishaan’s resume

Response

string
This will return an api endpoint which you can use to query your app.
string
This will return a website endpoint which you can use for quick prototyping.
string
This will return the instance_id, which you can specify when calling api.berri.ai/query
string
OpenAI Plugin Field: This is the auto created openapi.yaml file for your berri More info here: https://platform.openai.com/docs/plugins/examples
string
OpenAI Plugin Field: This is the auto created ai-plugin.json file for your berri More info here: https://platform.openai.com/docs/plugins/examples