Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use Abliteration as the LLM in LlamaIndex pipelines via the OpenAILike adapter.
OpenAILike
api_base="https://api.abliteration.ai/v1"
ak_...
pip install llama-index llama-index-llms-openai-like
from llama_index.llms.openai_like import OpenAILike llm = OpenAILike( model="abliterated-model", api_base="https://api.abliteration.ai/v1", api_key=os.environ["ABLIT_KEY"], is_chat_model=True, ) print(llm.complete("Hello").text)