Crate langchain_rust

Source

Re-exports§

pub use url;

Modules§

agent
chain
document_loaders
embedding
language_models
llm
memory
output_parsers
prompt
schemas
semantic_router
text_splitter
tools
vectorstore

Macros§

add_documents
fmt_message
fmt_message is a utility macro used to create a MessageOrTemplate::Message variant.
fmt_placeholder
fmt_placeholder is a utility macro used to create a MessageOrTemplate::MessagesPlaceholder variant.
fmt_template
fmt_template is a utility macro used to create a MessageOrTemplate::Template variant.
message_formatter
Example
prompt_args
prompt_args! is a utility macro used for creating a std::collections::HashMap<String, serde_json::Value>. This HashMap can then be passed as arguments to a function or method.
sequential_chain
similarity_search
template_fstring
template_fstring is a utility macro that creates a new PromptTemplate with FString as the template format.
template_jinja2
template_jinja2 is a utility macro that creates a new PromptTemplate with Jinja2 as the template format.