ChainFury
Contents
Using ChainFury (Hardcore)
Examples
Vector Database (β Beta)
(RAG) Q/A with ChainFury
Image Generation using Stability APIs
Self Hosted
Installing ChainFury
Privately Storing Data
Python APIs
Agent File
chainfury CLI
chainfury.base
chainfury.client
chainfury utilities
Integrations
chainfury Components
Components List
Research
Fury Agents Manifesto
Server
chainfury_server.api package
chainfury_server.engines package
ChainFury
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
Y
_
__call__() (chainfury.agent.AIAction method)
(chainfury.agent.Memory method)
(chainfury.base.Chain method)
(chainfury.base.Model method)
(chainfury.base.Node method)
(chainfury.client.Subway method)
(chainfury_server.engines.fury.FuryThoughts method)
A
add_default_templates() (in module chainfury_server.database)
add_default_user() (in module chainfury_server.database)
adjacency_list_to_edge_map() (in module chainfury.base)
AI (chainfury.base.NodeType attribute)
ai_actions_registry (in module chainfury.agent)
AIAction (class in chainfury.agent)
AIActionsRegistry (class in chainfury.agent)
all() (chainfury_server.database.ChatBotTypes method)
ApiAction (class in chainfury.types)
ApiAction.FnModel (class in chainfury.types)
ApiAction.OutputModel (class in chainfury.types)
ApiActionUpdateRequest (class in chainfury.types)
ApiAuth (class in chainfury.types)
ApiChain (class in chainfury.types)
ApiChangePassword (class in chainfury.types)
ApiCreateChainRequest (class in chainfury.types)
ApiListChainsResponse (class in chainfury.types)
ApiPromptBody (class in chainfury.types)
ApiPromptFeedback (class in chainfury.types)
ApiResponse (class in chainfury.types)
ApiSignUp (class in chainfury.types)
B
batched() (in module chainfury.utils)
C
call_api_requests() (in module chainfury.components.functional)
CF_BLOB_AWS_CLOUD_FRONT() (chainfury.utils.CFEnv method)
CF_BLOB_BUCKET() (chainfury.utils.CFEnv method)
CF_BLOB_ENGINE() (chainfury.utils.CFEnv method)
CF_BLOB_PREFIX() (chainfury.utils.CFEnv method)
CF_BLOB_STORAGE() (chainfury.utils.CFEnv method)
cf_data (chainfury.types.FENode attribute)
CF_FOLDER() (chainfury.utils.CFEnv method)
cf_id (chainfury.types.FENode attribute)
CF_LOG_LEVEL() (chainfury.utils.CFEnv method)
CF_MAX_WORKER_ID_LEN() (chainfury_server.utils.Env method)
CF_TOKEN() (chainfury.components.const.Env method)
(chainfury.utils.CFEnv method)
CF_URL() (chainfury.components.const.Env method)
(chainfury.utils.CFEnv method)
CFEnv (class in chainfury.utils)
CFPromptResult (class in chainfury.types)
CFS_DATABASE() (chainfury_server.utils.Env method)
CFS_MAX_NODE_ID_LEN() (chainfury_server.utils.Env method)
Chain (class in chainfury.base)
chainfury
module
chainfury.agent
module
chainfury.base
module
chainfury.cli
module
chainfury.client
module
chainfury.components.ai_actions
module
chainfury.components.const
module
chainfury.components.functional
module
chainfury.components.openai
module
chainfury.components.qdrant
module
chainfury.components.serper
module
chainfury.components.stability
module
chainfury.components.tune
module
chainfury.types
module
chainfury.utils
module
chainfury.version
module
chainfury_server
module
chainfury_server.api
module
chainfury_server.api.chains
module
chainfury_server.api.prompts
module
chainfury_server.api.user
module
chainfury_server.database
module
chainfury_server.engines
module
chainfury_server.engines.fury
module
chainfury_server.engines.registry
module
chainfury_server.server
module
chainfury_server.utils
module
chainfury_server.version
module
ChainLog (class in chainfury_server.database)
change_password() (in module chainfury_server.api.user)
chat_history (chainfury.types.ApiPromptBody attribute)
ChatBot (class in chainfury_server.database)
chatbot_id (chainfury_server.database.Prompt attribute)
chatbots (chainfury.types.ApiListChainsResponse attribute)
ChatBotTypes (class in chainfury_server.database)
ChatNBX (class in chainfury.components.tune)
chatnbx() (in module chainfury.components.tune)
ChatNBX.Message (class in chainfury.components.tune)
CHATNBX_KEY() (chainfury.components.const.Env method)
ComponentMissingError
content (chainfury.components.openai.OpenAIChat.Message attribute)
(chainfury.components.tune.ChatNBX.Message attribute)
create_chain() (in module chainfury_server.api.chains)
create_prompt() (in module chainfury_server.engines.fury)
created_at (chainfury.types.ApiChain attribute)
(chainfury_server.database.ChainLog attribute)
(chainfury_server.database.ChatBot attribute)
(chainfury_server.database.Prompt attribute)
created_by (chainfury_server.database.ChatBot attribute)
D
dag (chainfury.types.ApiChain attribute)
(chainfury.types.ApiCreateChainRequest attribute)
(chainfury_server.database.ChatBot attribute)
(chainfury_server.database.Template attribute)
Dag (class in chainfury.types)
data (chainfury.types.ApiPromptBody attribute)
(chainfury.types.FENode attribute)
(chainfury_server.database.ChainLog attribute)
DB_REGISTER (chainfury.agent.AIActionsRegistry attribute)
db_session() (in module chainfury_server.database)
delete_chain() (in module chainfury_server.api.chains)
delete_prompt() (in module chainfury_server.api.prompts)
deleted_at (chainfury_server.database.ChatBot attribute)
description (chainfury.components.openai.OpenAIChat.Function attribute)
(chainfury.types.ApiAction attribute)
(chainfury.types.ApiActionUpdateRequest attribute)
(chainfury.types.ApiChain attribute)
(chainfury.types.ApiCreateChainRequest attribute)
(chainfury_server.database.ChatBot attribute)
(chainfury_server.database.Template attribute)
disable_indexing() (in module chainfury.components.qdrant)
DoNotRetryException
dragging (chainfury.types.FENode attribute)
E
Edge (class in chainfury.base)
(class in chainfury.types)
edge_array_to_adjacency_list() (in module chainfury.base)
edges (chainfury.types.Dag attribute)
email (chainfury.types.ApiSignUp attribute)
(chainfury_server.database.User attribute)
enable_indexing() (in module chainfury.components.qdrant)
engine (chainfury.types.ApiChain attribute)
(chainfury.types.ApiCreateChainRequest attribute)
(chainfury_server.database.ChatBot attribute)
engine_name (chainfury_server.engines.fury.FuryEngine property)
(chainfury_server.engines.registry.EngineInterface property)
EngineInterface (class in chainfury_server.engines.registry)
EngineRegistry (class in chainfury_server.engines.registry)
Env (class in chainfury.components.const)
(class in chainfury_server.utils)
exponential_backoff() (in module chainfury.utils)
extract_jinja_indices() (in module chainfury.base)
F
fastapi_db_session() (in module chainfury_server.database)
FENode (class in chainfury.types)
FENode.CFData (class in chainfury.types)
FENode.Position (class in chainfury.types)
fields_model (chainfury.agent.Memory attribute)
fn (chainfury.types.ApiAction attribute)
(chainfury.types.ApiAction.FnModel attribute)
(chainfury.types.ApiActionUpdateRequest attribute)
folder() (in module chainfury.utils)
(in module chainfury_server.utils)
frequency_penalty (chainfury.components.openai.OpenAIChat attribute)
from_dag() (chainfury.base.Chain class method)
from_dict() (chainfury.agent.AIAction class method)
(chainfury.agent.Memory class method)
(chainfury.base.Chain class method)
(chainfury.base.Edge class method)
(chainfury.base.Node class method)
(chainfury.base.Var class method)
from_id() (chainfury.base.Chain class method)
from_json() (chainfury.base.Chain class method)
(chainfury.base.Node class method)
(in module chainfury.utils)
FUNC (chainfury.agent.AIAction attribute)
func_to_return_vars() (in module chainfury.base)
func_to_vars() (in module chainfury.base)
function_call (chainfury.components.openai.OpenAIChat.Function attribute)
(chainfury.components.openai.OpenAIChat.Message attribute)
(chainfury.components.tune.ChatNBX.Message attribute)
functions (chainfury.components.openai.OpenAIChat attribute)
FURY (chainfury_server.database.ChatBotTypes attribute)
FuryEngine (class in chainfury_server.engines.fury)
FuryThoughts (class in chainfury_server.engines.fury)
G
get() (chainfury.agent.AIActionsRegistry method)
(chainfury.agent.ModelRegistry method)
(chainfury.agent.ProgramaticActionsRegistry method)
(chainfury_server.engines.registry.EngineRegistry method)
get_blob() (in module chainfury.utils)
get_chain() (in module chainfury_server.api.chains)
get_chain_metrics() (in module chainfury_server.api.chains)
get_client() (in module chainfury.client)
get_count_for_model() (chainfury.agent.ModelRegistry method)
get_count_for_nodes() (chainfury.agent.AIActionsRegistry method)
(chainfury.agent.ProgramaticActionsRegistry method)
get_files_in_folder() (in module chainfury.utils)
get_local_session() (in module chainfury_server.database)
get_logger() (in module chainfury.utils)
get_models() (chainfury.agent.ModelRegistry method)
get_nodes() (chainfury.agent.AIActionsRegistry method)
(chainfury.agent.MemoryRegistry method)
(chainfury.agent.ProgramaticActionsRegistry method)
get_now_datetime() (chainfury.utils.SimplerTimes method)
get_now_float() (chainfury.utils.SimplerTimes method)
get_now_human() (chainfury.utils.SimplerTimes method)
get_now_i64() (chainfury.utils.SimplerTimes method)
get_now_str() (chainfury.utils.SimplerTimes method)
get_prompt() (in module chainfury_server.api.prompts)
get_random_alphanumeric_string() (in module chainfury_server.database)
get_random_number() (in module chainfury_server.database)
get_read() (chainfury.agent.MemoryRegistry method)
get_tags() (chainfury.agent.AIActionsRegistry method)
(chainfury.agent.ModelRegistry method)
(chainfury.agent.ProgramaticActionsRegistry method)
get_user_from_jwt() (in module chainfury_server.database)
get_value_by_keys() (in module chainfury.base)
get_write() (chainfury.agent.MemoryRegistry method)
gpt_rating (chainfury_server.database.Prompt attribute)
H
HAPPY (chainfury_server.database.PromptRating attribute)
has() (chainfury.agent.ModelRegistry method)
has_field() (chainfury.base.Node method)
height (chainfury.types.FENode attribute)
hello_world() (in module chainfury.components.ai_actions)
help() (in module chainfury.cli)
I
i64_to_datetime() (chainfury.utils.SimplerTimes method)
id (chainfury.types.ApiChain attribute)
(chainfury.types.Edge attribute)
(chainfury.types.FENode attribute)
(chainfury.types.FENode.CFData attribute)
(chainfury_server.database.ChainLog attribute)
(chainfury_server.database.ChatBot attribute)
(chainfury_server.database.Prompt attribute)
(chainfury_server.database.Template attribute)
(chainfury_server.database.User attribute)
input_prompt (chainfury_server.database.Prompt attribute)
J
jinja_schema_to_vars() (in module chainfury.base)
joinp() (in module chainfury.utils)
(in module chainfury_server.utils)
json_translator() (in module chainfury.components.functional)
JTYPE (chainfury.agent.AIAction attribute)
jtype_to_vars() (in module chainfury.base)
JWT_SECRET() (chainfury_server.utils.Env method)
JWTPayload (class in chainfury_server.database)
L
LANGFLOW (chainfury_server.database.ChatBotTypes attribute)
list_chains() (in module chainfury_server.api.chains)
list_prompts() (in module chainfury_server.api.prompts)
loc (chainfury.types.ApiAction.OutputModel attribute)
logger (in module chainfury.utils)
login() (in module chainfury_server.api.user)
logit_bias (chainfury.components.openai.OpenAIChat attribute)
M
main() (in module chainfury.cli)
(in module chainfury_server.server)
main_in (chainfury.types.Dag attribute)
main_out (chainfury.types.Dag attribute)
max_tokens (chainfury.components.openai.OpenAIChat attribute)
(chainfury.components.tune.ChatNBX attribute)
MEMORY (chainfury.base.NodeType attribute)
Memory (class in chainfury.agent)
memory_registry (in module chainfury.agent)
MemoryRegistry (class in chainfury.agent)
message (chainfury.types.ApiResponse attribute)
(chainfury_server.database.ChainLog attribute)
messages (chainfury.components.openai.OpenAIChat attribute)
(chainfury.components.tune.ChatNBX attribute)
meta (chainfury_server.database.ChatBot attribute)
(chainfury_server.database.Prompt attribute)
(chainfury_server.database.Template attribute)
(chainfury_server.database.User attribute)
model (chainfury.components.openai.OpenAIChat attribute)
(chainfury.components.tune.ChatNBX attribute)
Model (class in chainfury.base)
model_id (chainfury.types.ApiAction.FnModel attribute)
model_params (chainfury.types.ApiAction.FnModel attribute)
model_registry (in module chainfury.agent)
ModelRegistry (class in chainfury.agent)
module
chainfury
chainfury.agent
chainfury.base
chainfury.cli
chainfury.client
chainfury.components.ai_actions
chainfury.components.const
chainfury.components.functional
chainfury.components.openai
chainfury.components.qdrant
chainfury.components.serper
chainfury.components.stability
chainfury.components.tune
chainfury.types
chainfury.utils
chainfury.version
chainfury_server
chainfury_server.api
chainfury_server.api.chains
chainfury_server.api.prompts
chainfury_server.api.user
chainfury_server.database
chainfury_server.engines
chainfury_server.engines.fury
chainfury_server.engines.registry
chainfury_server.server
chainfury_server.utils
chainfury_server.version
N
n (chainfury.components.openai.OpenAIChat attribute)
name (chainfury.components.openai.OpenAIChat.Function attribute)
(chainfury.components.openai.OpenAIChat.Message attribute)
(chainfury.components.tune.ChatNBX.Message attribute)
(chainfury.types.ApiAction attribute)
(chainfury.types.ApiAction.OutputModel attribute)
(chainfury.types.ApiActionUpdateRequest attribute)
(chainfury.types.ApiChain attribute)
(chainfury.types.ApiCreateChainRequest attribute)
(chainfury_server.database.ChatBot attribute)
(chainfury_server.database.Template attribute)
NBX_DEPLOY_KEY() (chainfury.components.const.Env method)
NBX_DEPLOY_URL() (chainfury.components.const.Env method)
NEUTRAL (chainfury_server.database.PromptRating attribute)
new_message (chainfury.types.ApiPromptBody attribute)
new_password (chainfury.types.ApiChangePassword attribute)
node (chainfury.types.FENode.CFData attribute)
Node (class in chainfury.base)
node_id (chainfury_server.database.ChainLog attribute)
nodes (chainfury.types.Dag attribute)
NodeType (class in chainfury.base)
NotDAGError
num_tokens (chainfury_server.database.Prompt attribute)
O
old_password (chainfury.types.ApiChangePassword attribute)
openai_chat() (in module chainfury.components.openai)
openai_completion() (in module chainfury.components.openai)
openai_embedding() (in module chainfury.components.openai)
OPENAI_TOKEN() (chainfury.components.const.Env method)
OpenAIChat (class in chainfury.components.openai)
OpenAIChat.Function (class in chainfury.components.openai)
OpenAIChat.Message (class in chainfury.components.openai)
outputs (chainfury.types.ApiAction attribute)
(chainfury.types.ApiActionUpdateRequest attribute)
P
parameters (chainfury.components.openai.OpenAIChat.Function attribute)
password (chainfury.types.ApiAuth attribute)
(chainfury.types.ApiSignUp attribute)
(chainfury_server.database.User attribute)
PINECONE_API_KEY() (chainfury.components.const.Env method)
PINECONE_ENV() (chainfury.components.const.Env method)
position (chainfury.types.FENode attribute)
position_absolute (chainfury.types.FENode attribute)
presence_penalty (chainfury.components.openai.OpenAIChat attribute)
PROGRAMATIC (chainfury.base.NodeType attribute)
programatic_actions_registry (in module chainfury.agent)
ProgramaticActionsRegistry (class in chainfury.agent)
Prompt (class in chainfury_server.database)
prompt_feedback() (in module chainfury_server.api.prompts)
prompt_id (chainfury.types.CFPromptResult attribute)
(chainfury_server.database.ChainLog attribute)
PromptRating (class in chainfury_server.database)
put_value_by_keys() (in module chainfury.base)
pyannotation_to_json_schema() (in module chainfury.base)
Q
QDRANT_API_KEY() (chainfury.components.const.Env method)
QDRANT_API_URL() (chainfury.components.const.Env method)
qdrant_read() (in module chainfury.components.qdrant)
qdrant_write() (in module chainfury.components.qdrant)
R
recreate_collection() (in module chainfury.components.qdrant)
regex_search() (in module chainfury.components.functional)
regex_substitute() (in module chainfury.components.functional)
register() (chainfury.agent.AIActionsRegistry method)
(chainfury.agent.ModelRegistry method)
(chainfury.agent.ProgramaticActionsRegistry method)
(chainfury_server.engines.registry.EngineRegistry method)
register_node() (chainfury.agent.AIActionsRegistry method)
register_read() (chainfury.agent.MemoryRegistry method)
register_write() (chainfury.agent.MemoryRegistry method)
response (chainfury_server.database.Prompt attribute)
result (chainfury.types.CFPromptResult attribute)
role (chainfury.components.openai.OpenAIChat.Message attribute)
(chainfury.components.tune.ChatNBX.Message attribute)
run() (chainfury_server.engines.fury.FuryEngine method)
(chainfury_server.engines.registry.EngineInterface method)
(in module chainfury.cli)
run_chain() (in module chainfury_server.api.chains)
S
SAD (chainfury_server.database.PromptRating attribute)
sample (chainfury.types.Dag attribute)
score (chainfury.types.ApiPromptFeedback attribute)
Secret (class in chainfury.base)
selected (chainfury.types.FENode attribute)
serper_api() (in module chainfury.components.serper)
SERPER_API_KEY() (chainfury.components.const.Env method)
session_id (chainfury.types.ApiPromptBody attribute)
(chainfury_server.database.Prompt attribute)
set_value() (chainfury.base.Var method)
sign_up() (in module chainfury_server.api.user)
SimplerTimes (class in chainfury.utils)
source (chainfury.types.Edge attribute)
sourceHandle (chainfury.types.Edge attribute)
STABILITY_KEY() (chainfury.components.const.Env method)
stability_text_to_image() (in module chainfury.components.stability)
step() (chainfury.base.Chain method)
stop (chainfury.components.openai.OpenAIChat attribute)
store_blob() (in module chainfury.utils)
stream (chainfury.components.openai.OpenAIChat attribute)
stream() (chainfury.base.Chain method)
(chainfury_server.engines.fury.FuryEngine method)
(chainfury_server.engines.registry.EngineInterface method)
submit() (chainfury_server.engines.fury.FuryEngine method)
(chainfury_server.engines.registry.EngineInterface method)
Subway (class in chainfury.client)
T
tag_id (chainfury_server.database.ChatBot attribute)
tags (chainfury.types.ApiAction attribute)
(chainfury.types.ApiActionUpdateRequest attribute)
target (chainfury.types.Edge attribute)
targetHandle (chainfury.types.Edge attribute)
task_id (chainfury.types.CFPromptResult attribute)
temperature (chainfury.components.openai.OpenAIChat attribute)
(chainfury.components.tune.ChatNBX attribute)
Template (class in chainfury_server.database)
terminal_top_with_text() (in module chainfury.utils)
threaded_map() (in module chainfury.utils)
time_taken (chainfury_server.database.Prompt attribute)
to_action() (chainfury.agent.AIActionsRegistry method)
(chainfury.agent.ProgramaticActionsRegistry method)
to_dag() (chainfury.base.Chain method)
to_dict() (chainfury.agent.AIAction method)
(chainfury.agent.Memory method)
(chainfury.base.Chain method)
(chainfury.base.Edge method)
(chainfury.base.Model method)
(chainfury.base.Node method)
(chainfury.base.Var method)
(chainfury_server.database.ChatBot method)
(chainfury_server.database.JWTPayload method)
(chainfury_server.database.Prompt method)
(chainfury_server.database.Template method)
to_json() (chainfury.base.Chain method)
(chainfury.base.Node method)
(in module chainfury.utils)
top_p (chainfury.components.openai.OpenAIChat attribute)
topological_sort() (in module chainfury.base)
type (chainfury.types.ApiAction.OutputModel attribute)
(chainfury.types.FENode attribute)
(chainfury.types.FENode.CFData attribute)
TYPE_NAME (chainfury.base.Model attribute)
types (chainfury.base.Node attribute)
tz (chainfury.utils.SimplerTimes attribute)
U
u() (chainfury.client.Subway method)
UnAuthException
unique_number() (in module chainfury_server.database)
unique_string() (in module chainfury_server.database)
UNRATED (chainfury_server.database.PromptRating attribute)
unregister() (chainfury.agent.AIActionsRegistry method)
update_chain() (in module chainfury_server.api.chains)
update_fields (chainfury.types.ApiActionUpdateRequest attribute)
update_keys (chainfury.types.ApiChain attribute)
user (chainfury.components.openai.OpenAIChat attribute)
User (class in chainfury_server.database)
user_id (chainfury_server.database.JWTPayload attribute)
user_rating (chainfury_server.database.Prompt attribute)
username (chainfury.types.ApiAuth attribute)
(chainfury.types.ApiChangePassword attribute)
(chainfury.types.ApiSignUp attribute)
(chainfury_server.database.JWTPayload attribute)
(chainfury_server.database.User attribute)
V
value (chainfury.types.FENode.CFData attribute)
Var (class in chainfury.base)
W
width (chainfury.types.FENode attribute)
worker_id (chainfury_server.database.ChainLog attribute)
X
x (chainfury.types.FENode.Position attribute)
Y
y (chainfury.types.FENode.Position attribute)