Return a map of constructor argument names to secret ids.
eg. {“openai_api_key”: “OPENAI_API_KEY”}
property lc_serializable: bool¶
Return whether or not the class is serializable.
Examples using PromptTemplate¶
Zapier Natural Language Actions API
Context
Argilla
Comet
Aim
Weights & Biases
Rebuff
MLflow
Flyte
Vectara Text Generation
Natural Language APIs
Predibase
Evaluating an OpenAPI Chain
Question Answering
Pairwise String Comparison
Criteria Evaluation
HTTP request chain
QA over Documents
Retrieve from vector stores directly
Improve document indexing with HyDE
Structure answers with OpenAI functions
Elasticsearch database
Bash chain
Multi-agent authoritarian speaker selection
Agent Debates with Tools
MultiQueryRetriever
WebResearchRetriever
Lost in the middle: The problem with long contexts
How to create a custom Memory class
How to add memory to a Multi-Input Chain
Conversation Knowledge Graph Memory
How to add Memory to an LLMChain
How to use multiple memory classes in the same chain
How to customize conversational memory
Logging to file
Retry parser
Datetime parser
Pydantic (JSON) parser
Select by maximal marginal relevance (MMR)
Select by n-gram overlap
Prompt Pipelining
Template Formats
Connecting to a Feature Store
Router
Transformation
Custom chain
Async API
Retrieval QA using OpenAI functions
Vector store-augmented text generation
Hypothetical Document Embeddings