genai.extensions package#
Module containing extensions (integrations) for other well known libraries.
Subpackages#
- genai.extensions.huggingface package
- genai.extensions.langchain package
LangChainChatInterface
LangChainChatInterface.client
LangChainChatInterface.conversation_id
LangChainChatInterface.get_num_tokens()
LangChainChatInterface.get_num_tokens_from_messages()
LangChainChatInterface.get_token_ids()
LangChainChatInterface.is_lc_serializable()
LangChainChatInterface.lc_secrets
LangChainChatInterface.load_from_file()
LangChainChatInterface.model_id
LangChainChatInterface.moderations
LangChainChatInterface.parameters
LangChainChatInterface.parent_id
LangChainChatInterface.prompt_id
LangChainChatInterface.prompt_template_id
LangChainChatInterface.streaming
LangChainChatInterface.trim_method
LangChainChatInterface.use_conversation_parameters
LangChainChatInterface.validate_data_models()
LangChainEmbeddingsInterface
LangChainEmbeddingsInterface.client
LangChainEmbeddingsInterface.execution_options
LangChainEmbeddingsInterface.model_id
LangChainEmbeddingsInterface.parameters
LangChainEmbeddingsInterface.aembed_documents()
LangChainEmbeddingsInterface.aembed_query()
LangChainEmbeddingsInterface.embed_documents()
LangChainEmbeddingsInterface.embed_query()
LangChainInterface
LangChainInterface.client
LangChainInterface.data
LangChainInterface.execution_options
LangChainInterface.get_num_tokens()
LangChainInterface.get_num_tokens_from_messages()
LangChainInterface.get_token_ids()
LangChainInterface.is_lc_serializable()
LangChainInterface.lc_secrets
LangChainInterface.load_from_file()
LangChainInterface.model_id
LangChainInterface.moderations
LangChainInterface.parameters
LangChainInterface.prompt_id
LangChainInterface.streaming
from_langchain_template()
to_langchain_template()
- Submodules
- genai.extensions.llama_index package
IBMGenAILlamaIndex
IBMGenAILlamaIndex.__init__()
IBMGenAILlamaIndex.achat()
IBMGenAILlamaIndex.acomplete()
IBMGenAILlamaIndex.astream_chat()
IBMGenAILlamaIndex.astream_complete()
IBMGenAILlamaIndex.chat()
IBMGenAILlamaIndex.class_name()
IBMGenAILlamaIndex.client
IBMGenAILlamaIndex.complete()
IBMGenAILlamaIndex.conversation_id
IBMGenAILlamaIndex.data
IBMGenAILlamaIndex.metadata
IBMGenAILlamaIndex.model_id
IBMGenAILlamaIndex.moderations
IBMGenAILlamaIndex.parameters
IBMGenAILlamaIndex.parent_id
IBMGenAILlamaIndex.prompt_id
IBMGenAILlamaIndex.prompt_template_id
IBMGenAILlamaIndex.stream_chat()
IBMGenAILlamaIndex.stream_complete()
IBMGenAILlamaIndex.trim_method
IBMGenAILlamaIndex.use_conversation_parameters
IBMGenAILlamaIndexEmbedding
- Submodules
- genai.extensions.localserver package