-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
a727ca8
commit 7fd61d0
Showing
73 changed files
with
1,680 additions
and
2,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 9 additions & 8 deletions
17
...es/migrate/from-mintlify/src/__test__/fixtures/octoai/integrations/overview.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
--- | ||
title: "Integrations" | ||
title: "All OctoAI Integrations" | ||
sidebarTitle: "All" | ||
description: "Browse OctoAI's partner integrations to help you build your custom solution." | ||
--- | ||
|
||
<CardGroup cols={3}> | ||
<Card title="LangChain" icon="square-1"> | ||
<CardGroup cols={2}> | ||
<Card title="LangChain" icon="square-1" href="/integrations/langchain"> | ||
LangChain provides a framework to easily construct LLM-powered apps. Langchain developers can leverage OctoAI LLM and embedding endpoints to easily access efficient compute across a wide selection of LLMs. | ||
</Card> | ||
<Card title="Unstructured.io" icon="square-2"> | ||
<Card title="Unstructured.io" icon="square-2" href="/integrations/unstructured"> | ||
Unstructured provides components to very easily embed text documents lke PDFs, HTML, Word Docs, and more. The OctoAIEmbedingEncoder is available, so documents parsed with Unstructured can easily be embedded with the OctoAI embeddings endpoint. | ||
</Card> | ||
<Card title="Pinecone (Canopy)" icon="square-3"> | ||
Pinecone provides storage and retrieval infrastructure needed ror building and running AI apps. This integration allows a developer using Canopy to choose from the best LLMs on OctoAI. | ||
<Card title="Pinecone (Canopy)" icon="square-3" href="/integrations/pinecone"> | ||
Pinecone provides storage and retrieval infrastructure needed for building and running AI apps. This integration allows a developer using Canopy to choose from the best LLMs on OctoAI. | ||
</Card> | ||
<Card title="OpenRouter" icon="square-4"> | ||
<Card title="OpenRouter" icon="square-4" href="/integrations/openrouter"> | ||
OpenRouter has a unified interface for using various LLMs, allowing users to find and compare models for their needs. The OpenRouter API users can leverage OctoAI's best in class LLM endpoints. | ||
</Card> | ||
<Card title="LlamaIndex" icon="square-5"> | ||
<Card title="LlamaIndex" icon="square-5" href="/integrations/llamaindex"> | ||
LlamaIndex aids in the management of interactions between your LLMs and private data. A developer building AI apps can now access highly optimized LLMs and Embeddings models on OctoAI. | ||
</Card> | ||
</CardGroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
.../from-mintlify/src/__test__/fixtures/octoai/python-sdk/python-sdk-reference.mdx
This file was deleted.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
...rom-mintlify/src/__test__/fixtures/octoai/python-sdk/upgrading-from-old-sdk.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: "Upgrading from the octoai-sdk" | ||
sidebarTitle: "Upgrading from octoai-sdk" | ||
--- | ||
|
||
### Uninstall octoai-sdk | ||
|
||
```bash | ||
pip uninstall octoai-sdk | ||
pip install octoai | ||
``` | ||
|
||
### Upgrading your code | ||
|
||
The various OctoAI APIs are now accessable from a single client: | ||
|
||
```python | ||
from octoai.client import OctoAI | ||
|
||
client = OctoAI() | ||
|
||
# The various APIs are now accessible from the client | ||
client.text_gen | ||
|
||
client.image_gen | ||
|
||
client.fine_tuning | ||
|
||
client.asset_library | ||
``` | ||
|
||
### Image Generation API changes | ||
|
||
In the `octoai.image_gen` API instead of specifying which | ||
engine to use, use the corresponding `generate_*` method. | ||
|
||
### Text Generation API changes | ||
|
||
The text generation models with `octoai.text_gen` API are now specified with a `str` model name instead of an `enum`. | ||
|
||
Streaming requests are made with the corresponding `octoai.text_gen.*_stream` method. | ||
|
||
### Asset Library (Asset Orchestrator) API changes | ||
|
||
The Asset Orchestrator has been renamed to Asset Library and can be accessed via `octoai.asset_library`. Assets can be created with the `octoai.asset_lirbary.create_from_file`. | ||
|
||
### `octoai.service` API changes | ||
|
||
The `octoai.service` API has been removed. You can make inferences to compute service endpoints via `OctoAI` client: | ||
|
||
```python | ||
from octoai.client import OctoAI | ||
|
||
client = OctoAI() | ||
|
||
# octoai.infer() | ||
``` | ||
|
||
However you will need to continue to use the older `octoai-sdk` for the full `octoai.service` API which includes service authoring. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
195 changes: 0 additions & 195 deletions
195
...tlify/src/__test__/fixtures/octoai/typescript-sdk/typescript-sdk-inferences.mdx
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...ntlify/src/__test__/fixtures/octoai/typescript-sdk/typescript-sdk-reference.mdx
This file was deleted.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
...mintlify/src/__test__/fixtures/octoai/typescript-sdk/upgrading-from-old-sdk.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: "Upgrading from @octoai/client" | ||
sidebarTitle: "Upgrading from @octoai/client" | ||
--- | ||
|
||
### Uninstall octoai-sdk | ||
|
||
```bash | ||
npm uninstall @octoai/client | ||
npm install @octoai/sdk | ||
``` | ||
|
||
### Upgrading your code | ||
|
||
The various OctoAI APIs are now accessable from a single client: | ||
|
||
```typescript | ||
import { OctoAIClient } from '@octoai/sdk'; | ||
|
||
const client = new OctoAIClient(); | ||
|
||
// The various APIs are now accessible from the client | ||
client.textGen | ||
|
||
client.imageGen | ||
|
||
client.fineTuning | ||
|
||
client.assetLibrary | ||
``` | ||
|
||
### Image Generation API changes | ||
|
||
In the `client.imageGen` API instead of specifying which | ||
engine to use, use the corresponding `generate_*` method. | ||
|
||
### Text Generation API changes | ||
|
||
The text generation models with `client.textGen` API are now specified with a `string` model name instead of an `enum`. | ||
|
||
Streaming requests are made with the corresponding `client.textGen.*_stream` method. | ||
|
||
### Asset Library (Asset Orchestrator) API changes | ||
|
||
The Asset Orchestrator has been renamed to Asset Library and can be accessed via `client.assetLibrary`. Assets can be created with the `client.assetLibrary.upload()` method. | ||
|
||
### Compute Inferencing API changes | ||
|
||
The `infer()` method is not yet available in this sdk. You will need to continue to use the older `@octoai/client` for full inferencing support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
...igrate/from-mintlify/src/__test__/outputs/octoai/fern/integrations/overview.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
--- | ||
title: Integrations | ||
title: All OctoAI Integrations | ||
subtitle: Browse OctoAI's partner integrations to help you build your custom solution. | ||
slug: integrations/overview | ||
--- | ||
|
||
|
||
<CardGroup cols={3}> | ||
<Card title="LangChain" icon="square-1"> | ||
<CardGroup cols={2}> | ||
<Card title="LangChain" icon="square-1" href="langchain.mdx"> | ||
LangChain provides a framework to easily construct LLM-powered apps. Langchain developers can leverage OctoAI LLM and embedding endpoints to easily access efficient compute across a wide selection of LLMs. | ||
</Card> | ||
<Card title="Unstructured.io" icon="square-2"> | ||
<Card title="Unstructured.io" icon="square-2" href="unstructured.mdx"> | ||
Unstructured provides components to very easily embed text documents lke PDFs, HTML, Word Docs, and more. The OctoAIEmbedingEncoder is available, so documents parsed with Unstructured can easily be embedded with the OctoAI embeddings endpoint. | ||
</Card> | ||
<Card title="Pinecone (Canopy)" icon="square-3"> | ||
Pinecone provides storage and retrieval infrastructure needed ror building and running AI apps. This integration allows a developer using Canopy to choose from the best LLMs on OctoAI. | ||
<Card title="Pinecone (Canopy)" icon="square-3" href="pinecone.mdx"> | ||
Pinecone provides storage and retrieval infrastructure needed for building and running AI apps. This integration allows a developer using Canopy to choose from the best LLMs on OctoAI. | ||
</Card> | ||
<Card title="OpenRouter" icon="square-4"> | ||
<Card title="OpenRouter" icon="square-4" href="openrouter.mdx"> | ||
OpenRouter has a unified interface for using various LLMs, allowing users to find and compare models for their needs. The OpenRouter API users can leverage OctoAI's best in class LLM endpoints. | ||
</Card> | ||
<Card title="LlamaIndex" icon="square-5"> | ||
<Card title="LlamaIndex" icon="square-5" href="llamaindex.mdx"> | ||
LlamaIndex aids in the management of interactions between your LLMs and private data. A developer building AI apps can now access highly optimized LLMs and Embeddings models on OctoAI. | ||
</Card> | ||
</CardGroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.