Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pages/docs/configuration/librechat_yaml/ai_endpoints/apipie.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ description: Example configuration for APIpie

# [APIpie](https://apipie.ai/)

> **APIpie API key:** [apipie.ai/dashboard/profile/api-keys](https://apipie.ai/dashboard/profile/api-keys)
> **APIpie API key:** [apipie.ai/profile/api-keys](https://apipie.ai/profile/api-keys)

**Notes:**

- **Known:** icon provided, fetching list of models is recommended as API token rates and pricing used for token credit balances when models are fetched.

- **Known issue:**
- Fetching list of models is not supported.
- Your success may vary with conversation titling
- Stream isn't currently supported (but is planned as of April 24, 2024)

<Callout type="tip" title="Fetch and order the models" collapsible>
This python script can fetch and order the llm models for you. The output will be saved in models.txt, formated in a way that should make it easier for you to include in the yaml config.
Expand All @@ -30,8 +28,9 @@ def fetch_and_order_models():
# headers as per request example
headers = {"Accept": "application/json"}

# request parameters
params = {"type": "llm"}
# request parameters
params = {"type": "llm"}
# see https://apipie.ai/docs/Features/Models for more options, {"subtype": "chatx"} may provide a better short list

# make request
response = requests.get(url, headers=headers, params=params)
Expand Down Expand Up @@ -75,13 +74,14 @@ if __name__ == "__main__":
"mistral-tiny",
"mixtral-8x22b",
]
fetch: false
fetch: true
# this will fecth the entire models table including image & voice see script above for filtering

titleConvo: true
titleModel: "claude-3-haiku"
summarize: false
summaryModel: "claude-3-haiku"
dropParams: ["stream"]
modelDisplayLabel: "APIpie"
```

![image](https://github.com/danny-avila/LibreChat/assets/32828263/b6a21524-b309-4a51-8b88-c280fb330af4)
![image](https://github.com/danny-avila/LibreChat/assets/32828263/b6a21524-b309-4a51-8b88-c280fb330af4)