Foundation Models¶
Warning
Warning! Supported only for IBM watsonx.ai for IBM Cloud and IBM watsonx.ai software with IBM Cloud Pak® for Data 4.8 and later.
Modules¶
- Embeddings
- Models
- Modules
- ModelInference
ModelInference
ModelInference.aclose_persistent_connection()
ModelInference.agenerate()
ModelInference.chat()
ModelInference.chat_stream()
ModelInference.close_persistent_connection()
ModelInference.generate()
ModelInference.generate_text()
ModelInference.generate_text_stream()
ModelInference.get_details()
ModelInference.get_identifying_params()
ModelInference.set_api_client()
ModelInference.to_langchain()
ModelInference.tokenize()
- Enums
- Model
ModelInference
for Deployments
- ModelInference
- Modules
- Tuning
- Prompt Template Manager
- Extensions
- LangChain
- LlamaIndex
- RAG
- Chunkers
- Retrievers
- Vector Stores
- VectorStore
VectorStore
VectorStore.add_documents()
VectorStore.add_documents_async()
VectorStore.as_langchain_retriever()
VectorStore.clear()
VectorStore.count()
VectorStore.delete()
VectorStore.from_dict()
VectorStore.get_client()
VectorStore.search()
VectorStore.set_embeddings()
VectorStore.to_dict()
VectorStore.window_search()
- BaseVectorStore
BaseVectorStore
BaseVectorStore.add_documents()
BaseVectorStore.add_documents_async()
BaseVectorStore.as_langchain_retriever()
BaseVectorStore.clear()
BaseVectorStore.count()
BaseVectorStore.delete()
BaseVectorStore.get_client()
BaseVectorStore.search()
BaseVectorStore.set_embeddings()
BaseVectorStore.window_search()
- VectorStoreConnector
- VectorStoreDataSourceType
- LangChainVectorStoreAdapter
LangChainVectorStoreAdapter
LangChainVectorStoreAdapter.add_documents()
LangChainVectorStoreAdapter.add_documents_async()
LangChainVectorStoreAdapter.as_langchain_retriever()
LangChainVectorStoreAdapter.clear()
LangChainVectorStoreAdapter.count()
LangChainVectorStoreAdapter.delete()
LangChainVectorStoreAdapter.get_client()
LangChainVectorStoreAdapter.search()
LangChainVectorStoreAdapter.set_embeddings()
LangChainVectorStoreAdapter.window_search()
- VectorStore
- Helpers
FoundationModelsManager
FoundationModelsManager.get_chat_model_specs()
FoundationModelsManager.get_custom_model_specs()
FoundationModelsManager.get_embeddings_model_specs()
FoundationModelsManager.get_model_lifecycle()
FoundationModelsManager.get_model_specs()
FoundationModelsManager.get_model_specs_with_fine_tuning_support()
FoundationModelsManager.get_model_specs_with_prompt_tuning_support()
FoundationModelsManager.get_rerank_model_specs()
get_model_specs()
get_model_lifecycle()
get_model_specs_with_prompt_tuning_support()
get_supported_tasks()
- Custom models
- Text Extractions
- Parameter Scheme
BaseSchema
- Chat Parameters
TextChatParameters
TextChatParameters.frequency_penalty
TextChatParameters.logprobs
TextChatParameters.max_tokens
TextChatParameters.n
TextChatParameters.presence_penalty
TextChatParameters.response_format
TextChatParameters.temperature
TextChatParameters.time_limit
TextChatParameters.top_logprobs
TextChatParameters.top_p
TextChatResponseFormat
TextChatResponseFormatType
- Generate Parameters
TextGenParameters
TextGenParameters.decoding_method
TextGenParameters.include_stop_sequence
TextGenParameters.length_penalty
TextGenParameters.max_new_tokens
TextGenParameters.min_new_tokens
TextGenParameters.prompt_variables
TextGenParameters.random_seed
TextGenParameters.repetition_penalty
TextGenParameters.return_options
TextGenParameters.stop_sequences
TextGenParameters.temperature
TextGenParameters.time_limit
TextGenParameters.top_k
TextGenParameters.top_p
TextGenParameters.truncate_input_tokens
ReturnOptionProperties
TextGenLengthPenalty
TextGenDecodingMethod
- Rerank Parameters
- Rerank