Index _ | A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | R | S | T | U | V | W _ __aiter__() (kani.streaming.StreamManager method) __await__() (kani.streaming.StreamManager method) __call__() (kani.PromptPipeline method) __str__() (kani.MessagePart method) A add_to_history() (kani.Kani method) ai_function() (in module kani) AIFunction (class in kani) AIParam (class in kani) all_message_contents() (in module kani.utils.message_formatters) always_included_messages (kani.Kani attribute) always_len (kani.Kani property) AnthropicEngine (class in kani.engines.anthropic) apply() (kani.PromptPipeline method) ApplyContext (class in kani.prompts) arguments (kani.FunctionCall attribute) ASSISTANT (kani.ChatRole attribute) assistant() (kani.ChatMessage class method) assistant_message_contents() (in module kani.utils.message_formatters) assistant_message_contents_thinking() (in module kani.utils.message_formatters) assistant_message_thinking() (in module kani.utils.message_formatters) B BaseClient (class in kani.engines.httpclient) BaseCompletion (class in kani.engines.base) BaseEngine (class in kani.engines) build_prompt() (kani.engines.huggingface.HuggingEngine method) (kani.engines.llamacpp.LlamaCppEngine method) C chat_history (kani.Kani attribute) chat_in_terminal() (in module kani) chat_in_terminal_async() (in module kani) chat_round() (kani.Kani method) chat_round_str() (kani.Kani method) chat_round_stream() (kani.Kani method) ChatMessage (class in kani) ChatRole (class in kani) close() (kani.engines.BaseEngine method) (kani.engines.httpclient.BaseClient method) CommandREngine (class in kani.engines.huggingface.cohere) Completion (class in kani.engines) completion() (kani.streaming.StreamManager method) completion_tokens (kani.engines.base.BaseCompletion property) (kani.engines.Completion property) content (kani.ChatMessage attribute) conversation_dict() (kani.PromptPipeline method) conversation_fmt() (kani.PromptPipeline method) copy_with() (kani.ChatMessage method) create_json_schema() (kani.AIFunction method) D do_function_call() (kani.Kani method) E engine (kani.engines.WrapperEngine attribute) ensure_bound_function_calls() (kani.PromptPipeline method) ensure_start() (kani.PromptPipeline method) ExceptionHandleResult (class in kani) execute() (kani.PromptPipeline method) (kani.prompts.PipelineStep method) explain() (kani.PromptPipeline method) (kani.prompts.PipelineStep method) explain_example_kwargs() (kani.prompts.PipelineStep method) F from_function() (kani.ToolCall class method) from_function_call() (kani.ToolCall class method) full_round() (kani.Kani method) full_round_str() (kani.Kani method) full_round_stream() (kani.Kani method) FUNCTION (kani.ChatRole attribute) function (kani.ToolCall attribute) function() (kani.ChatMessage class method) function_call (kani.ChatMessage property) function_call_fmt() (kani.PromptPipeline method) function_token_reserve() (kani.engines.BaseEngine method) (kani.engines.huggingface.cohere.CommandREngine method) (kani.engines.huggingface.HuggingEngine method) FunctionCall (class in kani) FunctionCallException FunctionCallResult (class in kani) functions (kani.prompts.ApplyContext attribute) FunctionSpecError G get() (kani.engines.httpclient.BaseClient method) get_model_completion() (kani.Kani method) get_model_stream() (kani.Kani method) get_prompt() (kani.Kani method) H handle_function_call_exception() (kani.Kani method) HTTPException HTTPStatusException HTTPTimeout HuggingEngine (class in kani.engines.huggingface) I id (kani.ToolCall attribute) idx (kani.prompts.ApplyContext attribute) is_last (kani.prompts.ApplyContext attribute) is_last_of_type (kani.prompts.ApplyContext property) is_tool_call_error (kani.ChatMessage attribute) K Kani (class in kani) kani.exceptions module kani.prompts module kani.utils.message_formatters module KaniException kwargs (kani.FunctionCall property) L LlamaCppEngine (class in kani.engines.llamacpp) LlamaEngine (class in kani.engines.huggingface.llama2) load() (kani.Kani method) M macro_apply() (kani.PromptPipeline method) max_context_size (kani.engines.BaseEngine attribute) merge_consecutive() (kani.PromptPipeline method) message (kani.engines.base.BaseCompletion property) (kani.engines.Completion property) message() (kani.streaming.StreamManager method) message_len() (kani.engines.BaseEngine method) (kani.engines.huggingface.cohere.CommandREngine method) (kani.engines.huggingface.HuggingEngine method) (kani.engines.llamacpp.LlamaCppEngine method) message_token_len() (kani.Kani method) MessagePart (class in kani) messages (kani.prompts.ApplyContext attribute) MessageTooLong MissingMessagePartType MissingModelDependencies module kani.exceptions kani.prompts kani.utils.message_formatters msg (kani.prompts.ApplyContext attribute) N name (kani.ChatMessage attribute) (kani.FunctionCall attribute) NoSuchFunction O OpenAIEngine (class in kani.engines.openai) P parts (kani.ChatMessage property) PipelineStep (class in kani.prompts) post() (kani.engines.httpclient.BaseClient method) predict() (kani.engines.BaseEngine method) (kani.engines.huggingface.cohere.CommandREngine method) (kani.engines.huggingface.HuggingEngine method) (kani.engines.llamacpp.LlamaCppEngine method) print_stream() (in module kani) prompt_tokens (kani.engines.base.BaseCompletion property) (kani.engines.Completion property) PromptError PromptPipeline (class in kani) R remove() (kani.PromptPipeline method) request() (kani.engines.httpclient.BaseClient method) role (kani.ChatMessage attribute) (kani.streaming.StreamManager attribute) S save() (kani.Kani method) SERVICE_BASE (kani.engines.httpclient.BaseClient attribute) stream() (kani.engines.BaseEngine method) (kani.engines.huggingface.cohere.CommandREngine method) (kani.engines.huggingface.HuggingEngine method) (kani.engines.llamacpp.LlamaCppEngine method) StreamManager (class in kani.streaming) SYSTEM (kani.ChatRole attribute) system() (kani.ChatMessage class method) T text (kani.ChatMessage property) token_reserve (kani.engines.BaseEngine attribute) (kani.engines.huggingface.cohere.CommandREngine attribute) tool_call_id (kani.ChatMessage attribute) tool_calls (kani.ChatMessage attribute) ToolCall (class in kani) translate_role() (kani.PromptPipeline method) type (kani.ToolCall attribute) U USER (kani.ChatRole attribute) user() (kani.ChatMessage class method) V VicunaEngine (class in kani.engines.huggingface.vicuna) W with_args() (kani.FunctionCall class method) wrap() (kani.PromptPipeline method) WrappedCallException WrapperEngine (class in kani.engines)