SYMBOL INDEX (171 symbols across 16 files) FILE: crates/avante-html2md/src/lib.rs type MyError (line 6) | enum MyError { method fmt (line 12) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function do_html2md (line 22) | fn do_html2md(html: &str) -> Result { function do_fetch_md (line 32) | fn do_fetch_md(url: &str) -> Result { function avante_html2md (line 55) | fn avante_html2md(lua: &Lua) -> LuaResult { function test_fetch_md (line 77) | fn test_fetch_md() { FILE: crates/avante-repo-map/src/lib.rs type Func (line 10) | pub struct Func { type Class (line 18) | pub struct Class { type Enum (line 27) | pub struct Enum { type Union (line 33) | pub struct Union { type Variable (line 39) | pub struct Variable { type Definition (line 45) | pub enum Definition { function get_ts_language (line 55) | fn get_ts_language(language: &str) -> Option { constant C_QUERY (line 77) | const C_QUERY: &str = include_str!("../queries/tree-sitter-c-defs.scm"); constant CPP_QUERY (line 78) | const CPP_QUERY: &str = include_str!("../queries/tree-sitter-cpp-defs.sc... constant GO_QUERY (line 79) | const GO_QUERY: &str = include_str!("../queries/tree-sitter-go-defs.scm"); constant JAVA_QUERY (line 80) | const JAVA_QUERY: &str = include_str!("../queries/tree-sitter-java-defs.... constant JAVASCRIPT_QUERY (line 81) | const JAVASCRIPT_QUERY: &str = include_str!("../queries/tree-sitter-java... constant LUA_QUERY (line 82) | const LUA_QUERY: &str = include_str!("../queries/tree-sitter-lua-defs.sc... constant PYTHON_QUERY (line 83) | const PYTHON_QUERY: &str = include_str!("../queries/tree-sitter-python-d... constant PHP_QUERY (line 84) | const PHP_QUERY: &str = include_str!("../queries/tree-sitter-php-defs.sc... constant RUST_QUERY (line 85) | const RUST_QUERY: &str = include_str!("../queries/tree-sitter-rust-defs.... constant ZIG_QUERY (line 86) | const ZIG_QUERY: &str = include_str!("../queries/tree-sitter-zig-defs.sc... constant TYPESCRIPT_QUERY (line 87) | const TYPESCRIPT_QUERY: &str = include_str!("../queries/tree-sitter-type... constant RUBY_QUERY (line 88) | const RUBY_QUERY: &str = include_str!("../queries/tree-sitter-ruby-defs.... constant SCALA_QUERY (line 89) | const SCALA_QUERY: &str = include_str!("../queries/tree-sitter-scala-def... constant SWIFT_QUERY (line 90) | const SWIFT_QUERY: &str = include_str!("../queries/tree-sitter-swift-def... constant ELIXIR_QUERY (line 91) | const ELIXIR_QUERY: &str = include_str!("../queries/tree-sitter-elixir-d... constant CSHARP_QUERY (line 92) | const CSHARP_QUERY: &str = include_str!("../queries/tree-sitter-c-sharp-... function get_definitions_query (line 94) | fn get_definitions_query(language: &str) -> Result { function get_closest_ancestor_name (line 124) | fn get_closest_ancestor_name(node: &Node, source: &str) -> String { function find_ancestor_by_type (line 136) | fn find_ancestor_by_type<'a>(node: &'a Node, parent_type: &str) -> Optio... function find_first_ancestor_by_types (line 147) | fn find_first_ancestor_by_types<'a>( function find_descendant_by_type (line 161) | fn find_descendant_by_type<'a>(node: &'a Node, child_type: &str) -> Opti... function ruby_method_is_private (line 173) | fn ruby_method_is_private<'a>(node: &'a Node, source: &'a [u8]) -> bool { function find_child_by_type (line 191) | fn find_child_by_type<'a>(node: &'a Node, child_type: &str) -> Option( function zig_is_declaration_public (line 212) | fn zig_is_declaration_public<'a>(node: &'a Node, declaration_type: &str,... function zig_is_variable_declaration_public (line 221) | fn zig_is_variable_declaration_public<'a>(node: &'a Node, source: &'a [u... function zig_is_function_declaration_public (line 225) | fn zig_is_function_declaration_public<'a>(node: &'a Node, source: &'a [u... function zig_find_type_in_parent (line 229) | fn zig_find_type_in_parent<'a>(node: &'a Node, source: &'a [u8]) -> Opti... function csharp_is_primary_constructor (line 239) | fn csharp_is_primary_constructor(node: &Node) -> bool { function csharp_find_parent_type_node (line 246) | fn csharp_find_parent_type_node<'a>(node: &'a Node) -> Option> { function ex_find_parent_module_declaration_name (line 250) | fn ex_find_parent_module_declaration_name<'a>(node: &'a Node, source: &'... function ruby_find_parent_module_declaration_name (line 267) | fn ruby_find_parent_module_declaration_name<'a>( function get_node_text (line 291) | fn get_node_text<'a>(node: &'a Node, source: &'a [u8]) -> String { function get_node_type (line 295) | fn get_node_type<'a>(node: &'a Node, source: &'a [u8]) -> String { function is_first_letter_uppercase (line 306) | fn is_first_letter_uppercase(name: &str) -> bool { function extract_definitions (line 314) | fn extract_definitions(language: &str, source: &str) -> Result String { function stringify_variable (line 1201) | fn stringify_variable(variable: &Variable) -> String { function stringify_enum_item (line 1209) | fn stringify_enum_item(item: &Variable) -> String { function stringify_union_item (line 1217) | fn stringify_union_item(item: &Variable) -> String { function stringify_class (line 1225) | fn stringify_class(class: &Class) -> String { function stringify_enum (line 1238) | fn stringify_enum(enum_def: &Enum) -> String { function stringify_union (line 1246) | fn stringify_union(union_def: &Union) -> String { function stringify_definitions (line 1255) | fn stringify_definitions(definitions: &Vec) -> String { function get_definitions_string (line 1273) | pub fn get_definitions_string(language: &str, source: &str) -> LuaResult... function avante_repo_map (line 1281) | fn avante_repo_map(lua: &Lua) -> LuaResult { function test_rust (line 1297) | fn test_rust() { function test_zig (line 1355) | fn test_zig() { function test_go (line 1426) | fn test_go() { function test_python (line 1473) | fn test_python() { function test_typescript (line 1504) | fn test_typescript() { function test_javascript (line 1554) | fn test_javascript() { function test_ruby (line 1601) | fn test_ruby() { function test_ruby2 (line 1643) | fn test_ruby2() { function test_lua (line 1698) | fn test_lua() { function test_c (line 1718) | fn test_c() { function test_cpp (line 1743) | fn test_cpp() { function test_scala (line 1809) | fn test_scala() { function test_elixir (line 1848) | fn test_elixir() { function test_csharp (line 1888) | fn test_csharp() { function test_swift (line 1942) | fn test_swift() { function test_php (line 1987) | fn test_php() { function test_java (line 2015) | fn test_java() { function test_unsupported_language (line 2041) | fn test_unsupported_language() { FILE: crates/avante-templates/src/lib.rs type State (line 7) | struct State<'a> { function new (line 12) | fn new() -> Self { type SelectedCode (line 20) | struct SelectedCode { type SelectedFile (line 27) | struct SelectedFile { type TemplateContext (line 34) | struct TemplateContext { function render (line 54) | fn render(state: &State, template: &str, context: TemplateContext) -> Lu... function initialize (line 89) | fn initialize(state: &State, cache_directory: String, project_directory:... function avante_templates (line 126) | fn avante_templates(lua: &Lua) -> LuaResult { FILE: crates/avante-tokenizers/src/lib.rs type Tiktoken (line 9) | struct Tiktoken { method new (line 14) | fn new(model: &str) -> Self { method encode (line 19) | fn encode(&self, text: &str) -> (Vec, usize, usize) { type HuggingFaceTokenizer (line 27) | struct HuggingFaceTokenizer { method new (line 37) | fn new(model: &str) -> Self { method encode (line 53) | fn encode(&self, text: &str) -> (Vec, usize, usize) { method get_cached_tokenizer (line 61) | fn get_cached_tokenizer(url: &str) -> PathBuf { function is_valid_url (line 31) | fn is_valid_url(url: &str) -> bool { type TokenizerType (line 82) | enum TokenizerType { type State (line 87) | struct State { method new (line 92) | fn new() -> Self { function encode (line 99) | fn encode(state: &State, text: &str) -> LuaResult<(Vec, usize, usiz... function from_pretrained (line 110) | fn from_pretrained(state: &State, model: &str) { function avante_tokenizers (line 119) | fn avante_tokenizers(lua: &Lua) -> LuaResult { function test_tiktoken (line 144) | fn test_tiktoken() { function test_hf (line 155) | fn test_hf() { function test_roundtrip (line 166) | fn test_roundtrip() { function test_public_url (line 181) | fn test_public_url() { FILE: py/rag-service/src/libs/db.py function get_db_connection (line 46) | def get_db_connection() -> Generator[sqlite3.Connection, None, None]: function init_db (line 56) | def init_db() -> None: FILE: py/rag-service/src/libs/utils.py function uri_to_path (line 14) | def uri_to_path(uri: str) -> Path: function path_to_uri (line 19) | def path_to_uri(file_path: Path) -> str: function is_local_uri (line 27) | def is_local_uri(uri: str) -> bool: function is_remote_uri (line 32) | def is_remote_uri(uri: str) -> bool: function is_path_node (line 37) | def is_path_node(node: BaseNode) -> bool: function get_node_uri (line 45) | def get_node_uri(node: BaseNode) -> str | None: function inject_uri_to_node (line 60) | def inject_uri_to_node(node: BaseNode) -> None: FILE: py/rag-service/src/main.py function try_acquire_leadership (line 73) | def try_acquire_leadership() -> bool: function lifespan (line 94) | async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: # noqa:... function is_remote_resource_exists (line 273) | def is_remote_resource_exists(url: str) -> bool: function fetch_markdown (line 287) | def fetch_markdown(url: str) -> str: function markdown_to_links (line 300) | def markdown_to_links(base_url: str, markdown: str) -> list[str]: class ResourceURIRequest (line 410) | class ResourceURIRequest(BaseModel): class ResourceRequest (line 416) | class ResourceRequest(ResourceURIRequest): class SourceDocument (line 422) | class SourceDocument(BaseModel): class RetrieveRequest (line 430) | class RetrieveRequest(BaseModel): class RetrieveResponse (line 441) | class RetrieveResponse(BaseModel): class FileSystemHandler (line 448) | class FileSystemHandler(FileSystemEventHandler): method __init__ (line 451) | def __init__(self: FileSystemHandler, directory: Path) -> None: method on_modified (line 455) | def on_modified(self: FileSystemHandler, event: FileSystemEvent) -> None: method on_created (line 460) | def on_created(self: FileSystemHandler, event: FileSystemEvent) -> None: method handle_file_change (line 465) | def handle_file_change(self: FileSystemHandler, file_path: Path) -> None: function is_valid_text (line 481) | def is_valid_text(text: str) -> bool: function clean_text (line 497) | def clean_text(text: str) -> str: function process_document_batch (line 502) | def process_document_batch(documents: list[Document]) -> bool: # noqa: ... function get_gitignore_files (line 596) | def get_gitignore_files(directory: Path) -> list[str]: function get_gitcrypt_files (line 613) | def get_gitcrypt_files(directory: Path) -> list[str]: function get_pathspec (line 695) | def get_pathspec(directory: Path) -> pathspec.PathSpec | None: function scan_directory (line 704) | def scan_directory(directory: Path) -> list[str]: function update_index_for_file (line 811) | def update_index_for_file(directory: Path, abs_file_path: Path) -> None: function split_documents (line 851) | def split_documents(documents: list[Document]) -> list[Document]: function index_remote_resource_async (line 909) | async def index_remote_resource_async(resource: Resource) -> None: function index_local_resource_async (line 972) | async def index_local_resource_async(resource: Resource) -> None: function readiness_probe (line 1021) | async def readiness_probe() -> dict[str, str]: function add_resource (line 1039) | async def add_resource(request: ResourceRequest, background_tasks: Backg... function remove_resource (line 1127) | async def remove_resource(request: ResourceURIRequest): # noqa: D103, A... function retrieve (line 1158) | async def retrieve(request: RetrieveRequest): # noqa: D103, ANN201, C90... class IndexingStatusRequest (line 1301) | class IndexingStatusRequest(BaseModel): class IndexingStatusResponse (line 1307) | class IndexingStatusResponse(BaseModel): function get_indexing_status_for_resource (line 1334) | async def get_indexing_status_for_resource(request: IndexingStatusReques... class ResourceListResponse (line 1362) | class ResourceListResponse(BaseModel): function list_resources (line 1389) | async def list_resources() -> ResourceListResponse: function health_check (line 1407) | async def health_check() -> dict[str, str]: FILE: py/rag-service/src/models/indexing_history.py class IndexingHistory (line 9) | class IndexingHistory(BaseModel): FILE: py/rag-service/src/models/resource.py class Resource (line 9) | class Resource(BaseModel): FILE: py/rag-service/src/providers/dashscope.py function initialize_embed_model (line 11) | def initialize_embed_model( function initialize_llm_model (line 42) | def initialize_llm_model( FILE: py/rag-service/src/providers/factory.py function initialize_embed_model (line 13) | def initialize_embed_model( function initialize_llm_model (line 97) | def initialize_llm_model( FILE: py/rag-service/src/providers/ollama.py function initialize_embed_model (line 11) | def initialize_embed_model( function initialize_llm_model (line 40) | def initialize_llm_model( FILE: py/rag-service/src/providers/openai.py function initialize_embed_model (line 11) | def initialize_embed_model( function initialize_llm_model (line 41) | def initialize_llm_model( FILE: py/rag-service/src/providers/openrouter.py function initialize_llm_model (line 9) | def initialize_llm_model( FILE: py/rag-service/src/services/indexing_history.py class IndexingHistoryService (line 13) | class IndexingHistoryService: method delete_indexing_status (line 14) | def delete_indexing_status(self, uri: str) -> None: method delete_indexing_status_by_document_id (line 26) | def delete_indexing_status_by_document_id(self, document_id: str) -> N... method update_indexing_status (line 38) | def update_indexing_status( method get_indexing_status (line 106) | def get_indexing_status(self, doc: Document | None = None, base_uri: s... FILE: py/rag-service/src/services/resource.py class ResourceService (line 7) | class ResourceService: method add_resource_to_db (line 10) | def add_resource_to_db(self, resource: Resource) -> None: method update_resource_indexing_status (line 29) | def update_resource_indexing_status(self, uri: str, indexing_status: s... method update_resource_status (line 52) | def update_resource_status(self, uri: str, status: str, error: str | N... method get_resource (line 75) | def get_resource(self, uri: str) -> Resource | None: method get_resource_by_name (line 86) | def get_resource_by_name(self, name: str) -> Resource | None: method get_all_resources (line 97) | def get_all_resources(self) -> list[Resource]: