Back to Llama Index

Contextual LLM Integration for LlamaIndex

llama-index-integrations/llms/llama-index-llms-contextual/README.md

0.14.21626 B
Original Source

Contextual LLM Integration for LlamaIndex

This package provides a Contextual LLM integration for LlamaIndex.

Installation

bash
pip install llama-index-llms-contextual

Usage

python
from llama_index.llms.contextual import Contextual

llm = Contextual(model="contextual-clm", api_key="your_api_key")

response = llm.complete("Explain the importance of Grounded Language Models.")

See Colab Notebook for more examples.