Index A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | Q | R | S | T | U | V | W A AbstractAstPrinter (class in kork.ast_printer) AbstractContextRetriever (class in kork) (class in kork.retrieval) AbstractExampleRetriever (class in kork) (class in kork.examples) accept() (kork.ast.Expr method) (kork.ast.Stmt method) add_implementation() (kork.ast.ExternFunctionDef method) arbitrary_types_allowed (kork.chain.CodeChain.Config attribute) (kork.CodeChain.Config attribute) (kork.prompt_adapter.FewShotPromptValue.Config attribute) args (kork.ast.FunctionCall attribute) (kork.foreign_funcs.FunctionInfo attribute) args() (kork.parser.AstParser method) as_html_dict() (in module kork.display) as_img_tag() (in module kork.display) Assign (class in kork.ast) ast_printer (kork.chain.CodeChain attribute) (kork.CodeChain attribute) AstParser (class in kork.parser) AstPrinter (class in kork) (class in kork.ast_printer) B Binary (class in kork.ast) binary() (kork.parser.AstParser method) block() (kork.parser.AstParser method) body (kork.ast.FunctionDef attribute) C c_() (in module kork) (in module kork.examples) callback_manager (kork.CodeChain attribute) clone() (kork.Environment method) (kork.environment.Environment method) code (kork.chain.CodeResult attribute) (kork.display.HtmlResult attribute) CodeChain (class in kork) (class in kork.chain) CodeChain.Config (class in kork) (class in kork.chain) CodeResult (class in kork.chain) context_retriever (kork.chain.CodeChain attribute) (kork.CodeChain attribute) correct (kork.display.HtmlResult attribute) create_environment() (in module kork.environment) D display_code_result() (in module kork.display) display_html_results() (in module kork.display) doc_string (kork.ast.ExternFunctionDef attribute) docstring (kork.foreign_funcs.FunctionInfo attribute) E elements (kork.ast.List_ attribute) Environment (class in kork) (class in kork.environment) environment (kork.chain.CodeResult attribute) (kork.interpreter.InterpreterResult attribute) (kork.InterpreterResult attribute) errors (kork.chain.CodeResult attribute) (kork.display.HtmlResult attribute) (kork.interpreter.InterpreterResult attribute) (kork.InterpreterResult attribute) example_retriever (kork.chain.CodeChain attribute) (kork.CodeChain attribute) examples (kork.prompt_adapter.FewShotTemplate attribute) expected (kork.display.HtmlResult attribute) Expr (class in kork.ast) expr (kork.ast.Grouping attribute) expr() (kork.parser.AstParser method) extern_function_decl() (kork.parser.AstParser method) external_functions (kork.retrieval.SimpleContextRetriever attribute) (kork.SimpleContextRetriever attribute) ExternFunctionDef (class in kork.ast) extra (kork.chain.CodeChain.Config attribute) (kork.CodeChain.Config attribute) (kork.prompt_adapter.FewShotPromptValue.Config attribute) F false() (kork.parser.AstParser method) FewShotPromptValue (class in kork.prompt_adapter) FewShotPromptValue.Config (class in kork.prompt_adapter) FewShotTemplate (class in kork.prompt_adapter) format() (kork.prompt_adapter.FewShotTemplate method) format_examples() (in module kork) (in module kork.examples) format_prompt() (kork.prompt_adapter.FewShotTemplate method) format_text() (in module kork.examples) from_defaults() (kork.chain.CodeChain class method) (kork.CodeChain class method) from_functions() (kork.retrieval.SimpleContextRetriever class method) (kork.SimpleContextRetriever class method) from_programs() (kork.examples.SimpleExampleRetriever class method) (kork.SimpleExampleRetriever class method) function_call() (kork.parser.AstParser method) function_decl() (kork.parser.AstParser method) FunctionCall (class in kork.ast) FunctionDef (class in kork.ast) FunctionInfo (class in kork.foreign_funcs) G get_symbol() (kork.Environment method) (kork.environment.Environment method) group() (kork.parser.AstParser method) Grouping (class in kork.ast) H HtmlResult (class in kork.display) I identifier() (kork.parser.AstParser method) image_base64() (in module kork.display) implementation (kork.ast.ExternFunctionDef attribute) input_formatter (kork.chain.CodeChain attribute) (kork.CodeChain attribute) input_key (kork.chain.CodeChain attribute) (kork.CodeChain attribute) instruction_template (kork.chain.CodeChain attribute) (kork.CodeChain attribute) (kork.prompt_adapter.FewShotTemplate attribute) intepret() (kork.interpreter.Interpreter method) Interpreter (class in kork.interpreter) interpreter (kork.chain.CodeChain attribute) (kork.CodeChain attribute) InterpreterResult (class in kork) (class in kork.interpreter) K kork module kork.ast module kork.ast_printer module kork.chain module kork.display module kork.environment module kork.examples module kork.exceptions module kork.foreign_funcs module kork.interpreter module kork.parser module kork.prompt_adapter module kork.retrieval module kork.utils module kork.version module KorkException, [1] KorkInterpreterException KorkRunTimeException KorkSyntaxException L language_name (kork.chain.CodeChain attribute) (kork.CodeChain attribute) left (kork.ast.Binary attribute) list() (kork.parser.AstParser method) List_ (class in kork.ast) list_external_functions() (kork.Environment method) (kork.environment.Environment method) Literal (class in kork.ast) llm (kork.chain.CodeChain attribute) (kork.CodeChain attribute) LLMParseException M memory (kork.CodeChain attribute) messages (kork.prompt_adapter.FewShotPromptValue attribute) module kork kork.ast kork.ast_printer kork.chain kork.display kork.environment kork.examples kork.exceptions kork.foreign_funcs kork.interpreter kork.parser kork.prompt_adapter kork.retrieval kork.utils kork.version N name (kork.ast.Assign attribute) (kork.ast.ExternFunctionDef attribute) (kork.ast.FunctionCall attribute) (kork.ast.FunctionDef attribute) (kork.ast.Param attribute) (kork.ast.VarDecl attribute) (kork.ast.Variable attribute) (kork.foreign_funcs.FunctionInfo attribute) null() (kork.parser.AstParser method) number() (kork.parser.AstParser method) O operator (kork.ast.Binary attribute) (kork.ast.Unary attribute) P Param (class in kork.ast) param() (kork.parser.AstParser method) ParamList (class in kork.ast) params (kork.ast.ExternFunctionDef attribute) (kork.ast.FunctionDef attribute) (kork.ast.ParamList attribute) params() (kork.parser.AstParser method) parent (kork.Environment attribute) (kork.environment.Environment attribute) parse() (in module kork.parser) prepare_context() (kork.chain.CodeChain method) (kork.CodeChain method) Program (class in kork.ast) program() (kork.parser.AstParser method) Q query (kork.display.HtmlResult attribute) R r_() (in module kork) (in module kork.examples) raw (kork.chain.CodeResult attribute) (kork.display.HtmlResult attribute) result (kork.display.HtmlResult attribute) retrieve() (kork.AbstractContextRetriever method) (kork.AbstractExampleRetriever method) (kork.examples.AbstractExampleRetriever method) (kork.examples.SimpleExampleRetriever method) (kork.retrieval.AbstractContextRetriever method) (kork.retrieval.SimpleContextRetriever method) (kork.SimpleContextRetriever method) (kork.SimpleExampleRetriever method) return_type (kork.ast.ExternFunctionDef attribute) (kork.ast.FunctionDef attribute) (kork.foreign_funcs.FunctionInfo attribute) right (kork.ast.Binary attribute) (kork.ast.Unary attribute) run_interpreter() (in module kork) (in module kork.interpreter) S scientific() (kork.parser.AstParser method) set_symbol() (kork.Environment method) (kork.environment.Environment method) SimpleContextRetriever (class in kork) (class in kork.retrieval) SimpleExampleRetriever (class in kork) (class in kork.examples) statement() (kork.parser.AstParser method) Stmt (class in kork.ast) stmts (kork.ast.Program attribute) string (kork.prompt_adapter.FewShotPromptValue attribute) string() (kork.parser.AstParser method) T to_extern_func_def() (in module kork.foreign_funcs) to_kork_function_call() (in module kork.foreign_funcs) to_messages() (kork.prompt_adapter.FewShotPromptValue method) (kork.prompt_adapter.FewShotTemplate method) to_string() (kork.prompt_adapter.FewShotPromptValue method) (kork.prompt_adapter.FewShotTemplate method) true() (kork.parser.AstParser method) type() (kork.parser.AstParser method) type_ (kork.ast.Param attribute) U Unary (class in kork.ast) unary_r() (kork.parser.AstParser method) unwrap_code() (in module kork.utils) unwrap_tag() (in module kork.utils) V value (kork.ast.Assign attribute) (kork.ast.Literal attribute) (kork.ast.VarDecl attribute) var_decl() (kork.parser.AstParser method) VarDecl (class in kork.ast) Variable (class in kork.ast) variable_assign() (kork.parser.AstParser method) variables (kork.Environment attribute) (kork.environment.Environment attribute) verbose (kork.CodeChain attribute) visit() (kork.ast_printer.AbstractAstPrinter method) (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) visit_assign() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_binary() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_extern_function_def() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_function_call() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_function_def() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_grouping() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_list_() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_literal() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_param() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) visit_param_list() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) visit_program() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_unary() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_var_decl() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) visit_variable() (kork.ast_printer.AstPrinter method) (kork.AstPrinter method) (kork.interpreter.Interpreter method) Visitor (class in kork.ast) W wrap_in_tag() (in module kork.utils)