Langchain developers can leverage OctoAI LLM and embedding endpoints to easily access efficient compute across a wide selection of LLMs.
Introduction
LangChain provides a framework to easily build LLM-powered apps. Developers using LangChain can now utilize OctoAI LLMs and Embedding endpoints to access efficient, fast, and reliable compute.
Using OctoAI’s LLMs and LangChain
To use OctoAI LLMs with LangChain, first obtain an OctoAI API Token. Then paste your API token in the code example below:
Next, run the following Python script:
It should produce the following output:
Learn with our demo apps
Get started today by following along with one of our demo apps: