LLMSmith
latest
Contents:
Installation
Examples
Retrieval Augmented Generation (RAG)
A naive RAG function
Advanced RAG with pre-processing and reranking
Function Calling Agents
OpenAI Function Calling Agent
Gemini Function Calling Agent
Modules
llmsmith package
Subpackages
Agent
Job
Reranker
Task
Module contents
LLMSmith
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
W
A
add_task() (llmsmith.job.job.ConcurrentJob method)
(llmsmith.job.job.SequentialJob method)
add_task_input() (llmsmith.job.base.JobMemory method)
add_task_output() (llmsmith.job.base.JobMemory method)
args (llmsmith.task.models.FunctionCall attribute)
B
BaseChromaDBTask (class in llmsmith.task.retrieval.vector.chromadb)
BaseCohereChat (class in llmsmith.task.textgen.cohere)
BaseGeminiChat (class in llmsmith.task.textgen.gemini)
BaseGroqChat (class in llmsmith.task.textgen.groq)
BaseOpenAIChat (class in llmsmith.task.textgen.openai)
BasePgVectorTask (class in llmsmith.task.retrieval.vector.pgvector)
BasePineconeTask (class in llmsmith.task.retrieval.vector.pinecone)
BaseQdrantTask (class in llmsmith.task.retrieval.vector.qdrant)
C
chat() (llmsmith.task.textgen.cohere.BaseCohereChat method)
(llmsmith.task.textgen.gemini.BaseGeminiChat method)
(llmsmith.task.textgen.groq.BaseGroqChat method)
(llmsmith.task.textgen.openai.BaseOpenAIChat method)
ChatResponse (class in llmsmith.task.models)
ChromaDBQueryOptions (class in llmsmith.task.retrieval.vector.options.chromadb)
ChromaDBRetriever (class in llmsmith.task.retrieval.vector.chromadb)
ClaudeTextGenOptions (class in llmsmith.task.textgen.options.claude)
ClaudeTextGenTask (class in llmsmith.task.textgen.claude)
CohereFunctionAgent (class in llmsmith.agent.function.cohere)
CohereReranker (class in llmsmith.reranker.cohere)
CohereRerankerOptions (class in llmsmith.reranker.options.cohere)
CohereTextGenOptions (class in llmsmith.task.textgen.options.cohere)
CohereTextGenTask (class in llmsmith.task.textgen.cohere)
CohereTool (class in llmsmith.agent.tool.cohere)
ConcurrentJob (class in llmsmith.job.job)
connectors (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
consistency (llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
content (llmsmith.task.models.TaskInput attribute)
(llmsmith.task.models.TaskOutput attribute)
conversation_id (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
create() (llmsmith.agent.function.openai.OpenAIFunctionAgent class method)
D
default_doc_processor() (in module llmsmith.task.retrieval.vector.base)
description (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
distance_function (llmsmith.task.retrieval.vector.options.pgvector.PgVectorQueryOptions attribute)
documents (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
E
execute() (llmsmith.agent.function.cohere.CohereFunctionAgent method)
(llmsmith.agent.function.gemini.GeminiFunctionAgent method)
(llmsmith.agent.function.groq.GroqFunctionAgent method)
(llmsmith.agent.function.openai.OpenAIFunctionAgent method)
(llmsmith.task.base.Task method)
(llmsmith.task.retrieval.vector.chromadb.BaseChromaDBTask method)
(llmsmith.task.retrieval.vector.chromadb.ChromaDBRetriever method)
(llmsmith.task.retrieval.vector.pgvector.BasePgVectorTask method)
(llmsmith.task.retrieval.vector.pgvector.PgVectorRetriever method)
(llmsmith.task.retrieval.vector.pinecone.BasePineconeTask method)
(llmsmith.task.retrieval.vector.pinecone.PineconeRetriever method)
(llmsmith.task.retrieval.vector.qdrant.BaseQdrantTask method)
(llmsmith.task.retrieval.vector.qdrant.QdrantRetriever method)
(llmsmith.task.textgen.claude.ClaudeTextGenTask method)
(llmsmith.task.textgen.cohere.CohereTextGenTask method)
(llmsmith.task.textgen.gemini.GeminiTextGenTask method)
(llmsmith.task.textgen.groq.GroqTextGenTask method)
(llmsmith.task.textgen.openai.OpenAITextGenTask method)
extra_body (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
extra_headers (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
extra_query (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
F
filter (llmsmith.task.retrieval.vector.options.pinecone.PineconeQueryOptions attribute)
frequency_penalty (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
function_calls (llmsmith.task.models.ChatResponse attribute)
FunctionCall (class in llmsmith.task.models)
G
GeminiFunctionAgent (class in llmsmith.agent.function.gemini)
GeminiTextGenOptions (class in llmsmith.task.textgen.options.gemini)
GeminiTextGenTask (class in llmsmith.task.textgen.gemini)
GeminiTool (class in llmsmith.agent.tool.gemini)
generation_config (llmsmith.task.textgen.options.gemini.GeminiTextGenOptions attribute)
get_task_input() (llmsmith.job.base.JobMemory method)
get_task_output() (llmsmith.job.base.JobMemory method)
GroqFunctionAgent (class in llmsmith.agent.function.groq)
GroqTextGenOptions (class in llmsmith.task.textgen.options.groq)
GroqTextGenTask (class in llmsmith.task.textgen.groq)
GroqTool (class in llmsmith.agent.tool.groq)
I
id (llmsmith.task.models.FunctionCall attribute)
include_values (llmsmith.task.retrieval.vector.options.pinecone.PineconeQueryOptions attribute)
J
Job (class in llmsmith.job.base)
JobMemory (class in llmsmith.job.base)
K
k (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
L
limit (llmsmith.task.retrieval.vector.options.pgvector.PgVectorQueryOptions attribute)
(llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
llmsmith
module
llmsmith.agent
module
llmsmith.agent.errors
module
llmsmith.agent.function
module
llmsmith.agent.function.cohere
module
llmsmith.agent.function.gemini
module
llmsmith.agent.function.groq
module
llmsmith.agent.function.openai
module
llmsmith.agent.function.options
module
llmsmith.agent.function.options.openai
module
llmsmith.agent.tool
module
llmsmith.agent.tool.cohere
module
llmsmith.agent.tool.gemini
module
llmsmith.agent.tool.groq
module
llmsmith.agent.tool.openai
module
llmsmith.job
module
llmsmith.job.base
module
llmsmith.job.job
module
llmsmith.reranker
module
llmsmith.reranker.base
module
llmsmith.reranker.cohere
module
llmsmith.reranker.options
module
llmsmith.reranker.options.cohere
module
llmsmith.task
module
llmsmith.task.base
module
llmsmith.task.models
module
llmsmith.task.retrieval
module
llmsmith.task.retrieval.vector
module
llmsmith.task.retrieval.vector.base
module
llmsmith.task.retrieval.vector.chromadb
module
llmsmith.task.retrieval.vector.options
module
llmsmith.task.retrieval.vector.options.chromadb
module
llmsmith.task.retrieval.vector.options.pgvector
module
llmsmith.task.retrieval.vector.options.pinecone
module
llmsmith.task.retrieval.vector.options.qdrant
module
llmsmith.task.retrieval.vector.pgvector
module
llmsmith.task.retrieval.vector.pinecone
module
llmsmith.task.retrieval.vector.qdrant
module
llmsmith.task.textgen
module
llmsmith.task.textgen.claude
module
llmsmith.task.textgen.cohere
module
llmsmith.task.textgen.errors
module
llmsmith.task.textgen.gemini
module
llmsmith.task.textgen.groq
module
llmsmith.task.textgen.openai
module
llmsmith.task.textgen.options
module
llmsmith.task.textgen.options.claude
module
llmsmith.task.textgen.options.cohere
module
llmsmith.task.textgen.options.gemini
module
llmsmith.task.textgen.options.groq
module
llmsmith.task.textgen.options.openai
module
logit_bias (llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
logprobs (llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
M
max_chunks_per_doc (llmsmith.reranker.options.cohere.CohereRerankerOptions attribute)
max_input_tokens (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
max_tokens (llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
(llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
MaxTurnsReachedException
metadata (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
model (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.reranker.options.cohere.CohereRerankerOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
(llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
module
llmsmith
llmsmith.agent
llmsmith.agent.errors
llmsmith.agent.function
llmsmith.agent.function.cohere
llmsmith.agent.function.gemini
llmsmith.agent.function.groq
llmsmith.agent.function.openai
llmsmith.agent.function.options
llmsmith.agent.function.options.openai
llmsmith.agent.tool
llmsmith.agent.tool.cohere
llmsmith.agent.tool.gemini
llmsmith.agent.tool.groq
llmsmith.agent.tool.openai
llmsmith.job
llmsmith.job.base
llmsmith.job.job
llmsmith.reranker
llmsmith.reranker.base
llmsmith.reranker.cohere
llmsmith.reranker.options
llmsmith.reranker.options.cohere
llmsmith.task
llmsmith.task.base
llmsmith.task.models
llmsmith.task.retrieval
llmsmith.task.retrieval.vector
llmsmith.task.retrieval.vector.base
llmsmith.task.retrieval.vector.chromadb
llmsmith.task.retrieval.vector.options
llmsmith.task.retrieval.vector.options.chromadb
llmsmith.task.retrieval.vector.options.pgvector
llmsmith.task.retrieval.vector.options.pinecone
llmsmith.task.retrieval.vector.options.qdrant
llmsmith.task.retrieval.vector.pgvector
llmsmith.task.retrieval.vector.pinecone
llmsmith.task.retrieval.vector.qdrant
llmsmith.task.textgen
llmsmith.task.textgen.claude
llmsmith.task.textgen.cohere
llmsmith.task.textgen.errors
llmsmith.task.textgen.gemini
llmsmith.task.textgen.groq
llmsmith.task.textgen.openai
llmsmith.task.textgen.options
llmsmith.task.textgen.options.claude
llmsmith.task.textgen.options.cohere
llmsmith.task.textgen.options.gemini
llmsmith.task.textgen.options.groq
llmsmith.task.textgen.options.openai
N
n_results (llmsmith.task.retrieval.vector.options.chromadb.ChromaDBQueryOptions attribute)
name (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.models.FunctionCall attribute)
name() (llmsmith.task.base.Task method)
namespace (llmsmith.task.retrieval.vector.options.pinecone.PineconeQueryOptions attribute)
O
offset (llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
OpenAIAssistantOptions (class in llmsmith.agent.function.options.openai)
OpenAIAssistantTool (class in llmsmith.agent.tool.openai)
OpenAIChatTool (class in llmsmith.agent.tool.openai)
OpenAIFunctionAgent (class in llmsmith.agent.function.openai)
OpenAITextGenOptions (class in llmsmith.task.textgen.options.openai)
OpenAITextGenTask (class in llmsmith.task.textgen.openai)
P
p (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
PgVectorQueryOptions (class in llmsmith.task.retrieval.vector.options.pgvector)
PgVectorRetriever (class in llmsmith.task.retrieval.vector.pgvector)
PineconeQueryOptions (class in llmsmith.task.retrieval.vector.options.pinecone)
PineconeRetriever (class in llmsmith.task.retrieval.vector.pinecone)
presence_penalty (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
prompt_truncation (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
PromptBlockedException
Q
QdrantQueryOptions (class in llmsmith.task.retrieval.vector.options.qdrant)
QdrantRetriever (class in llmsmith.task.retrieval.vector.qdrant)
query_filter (llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
R
rank_fields (llmsmith.reranker.options.cohere.CohereRerankerOptions attribute)
raw_output (llmsmith.task.models.ChatResponse attribute)
(llmsmith.task.models.TaskOutput attribute)
raw_prompting (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
request_options (llmsmith.reranker.options.cohere.CohereRerankerOptions attribute)
(llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.gemini.GeminiTextGenOptions attribute)
rerank() (llmsmith.reranker.base.Reranker method)
(llmsmith.reranker.cohere.CohereReranker method)
Reranker (class in llmsmith.reranker.base)
response_format (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
return_documents (llmsmith.reranker.options.cohere.CohereRerankerOptions attribute)
run() (llmsmith.job.base.Job method)
(llmsmith.job.job.ConcurrentJob method)
(llmsmith.job.job.SequentialJob method)
S
safety_settings (llmsmith.task.textgen.options.gemini.GeminiTextGenOptions attribute)
score_threshold (llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
search_params (llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
search_queries_only (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
seed (llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
SequentialJob (class in llmsmith.job.job)
shard_key_selector (llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
sparse_vector (llmsmith.task.retrieval.vector.options.pinecone.PineconeQueryOptions attribute)
stop (llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
stop_sequences (llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
(llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
system (llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
system_prompt (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
T
Task (class in llmsmith.task.base)
task_input() (llmsmith.job.base.Job method)
task_output() (llmsmith.job.base.Job method)
TaskInput (class in llmsmith.task.models)
TaskOutput (class in llmsmith.task.models)
temperature (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
(llmsmith.task.textgen.options.cohere.CohereTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
text (llmsmith.task.models.ChatResponse attribute)
TextGenException
TextGenFailedException
timeout (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
tool_choice (llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
tool_resources (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
top_k (llmsmith.task.retrieval.vector.options.pinecone.PineconeQueryOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
top_logprobs (llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
top_n (llmsmith.reranker.options.cohere.CohereRerankerOptions attribute)
top_p (llmsmith.agent.function.options.openai.OpenAIAssistantOptions attribute)
(llmsmith.task.textgen.options.claude.ClaudeTextGenOptions attribute)
(llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
U
user (llmsmith.task.textgen.options.groq.GroqTextGenOptions attribute)
(llmsmith.task.textgen.options.openai.OpenAITextGenOptions attribute)
W
where (llmsmith.task.retrieval.vector.options.chromadb.ChromaDBQueryOptions attribute)
(llmsmith.task.retrieval.vector.options.pgvector.PgVectorQueryOptions attribute)
where_document (llmsmith.task.retrieval.vector.options.chromadb.ChromaDBQueryOptions attribute)
with_vectors (llmsmith.task.retrieval.vector.options.qdrant.QdrantQueryOptions attribute)