Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YangLing0818/buffer-of-thought-llm
/ functions
Functions
146 in github.com/YangLing0818/buffer-of-thought-llm
⨍
Functions
146
◇
Types & classes
17
Method
all_keys
(self)
lightrag/base.py:62
Function
azure_openai_complete
( prompt, system_prompt=None, history_messages=[], **kwargs )
lightrag/llm.py:480
Function
azure_openai_embedding
( texts: list[str], model: str = "text-embedding-3-small", base_url: str = None, api_key: str
lightrag/llm.py:560
Function
bedrock_complete
( prompt, system_prompt=None, history_messages=[], **kwargs )
lightrag/llm.py:492
Function
bedrock_embedding
( texts: list[str], model: str = "amazon.titan-embed-text-v2:0", aws_access_key_id=None, aws_s
lightrag/llm.py:627
Method
clustering
(self, algorithm: str)
lightrag/base.py:119
Function
convert_response_to_json
(response: str)
lightrag/utils.py:55
Method
drop
(self)
lightrag/storage.py:55
Method
drop
(self)
lightrag/base.py:80
Method
edge_degree
(self, src_id: str, tgt_id: str)
lightrag/storage.py:210
Method
embed_nodes
(self, algorithm: str)
lightrag/storage.py:231
Method
embed_nodes
(self, algorithm: str)
lightrag/base.py:122
Function
extract_answer
(text)
meta_buffer_utilis.py:97
Method
filter_keys
(self, data: list[str])
lightrag/storage.py:47
Function
final_decro
Not using async.Semaphore to aovid use nest-asyncio
lightrag/utils.py:77
Method
get_by_id
(self, id)
lightrag/storage.py:32
Method
get_by_ids
(self, ids, fields=None)
lightrag/storage.py:35
Method
get_edge
( self, source_node_id: str, target_node_id: str )
lightrag/storage.py:213
Method
get_node
(self, node_id: str)
lightrag/storage.py:204
Method
get_node_edges
(self, source_node_id: str)
lightrag/storage.py:218
Function
gpt_4o_complete
( prompt, system_prompt=None, history_messages=[], **kwargs )
lightrag/llm.py:456
Method
has_edge
(self, source_node_id: str, target_node_id: str)
lightrag/storage.py:201
Function
hf_embedding
(texts: list[str], tokenizer, embed_model)
lightrag/llm.py:693
Function
hf_model_complete
( prompt, system_prompt=None, history_messages=[], **kwargs )
lightrag/llm.py:504
Method
index_done_callback
(self)
lightrag/storage.py:114
Method
index_done_callback
(self)
lightrag/storage.py:195
Method
index_done_callback
commit the storage operations after indexing
lightrag/base.py:36
Method
llm_model_func
( self, prompt, system_prompt=None, history_messages=[], **kwargs )
meta_buffer.py:27
Method
llm_model_func
( self, prompt, system_prompt=None, history_messages=[], **kwargs )
lightrag/llm.py:775
Function
lmdeploy_model_if_cache
Args: model (str): The path to the model. It could be one of the following options: - i) A local director
lightrag/llm.py:351
Method
node_degree
(self, node_id: str)
lightrag/storage.py:207
Function
ollama_embedding
(texts: list[str], embed_model)
lightrag/llm.py:703
Function
ollama_model_complete
( prompt, system_prompt=None, history_messages=[], **kwargs )
lightrag/llm.py:517
Method
query
(self, query: str, top_k=5)
lightrag/storage.py:101
Method
query
(self, query: str, top_k: int)
lightrag/base.py:50
Method
query_done_callback
commit the storage operations after querying
lightrag/base.py:40
Function
save_data_to_file
(data, file_name)
lightrag/utils.py:184
Function
siliconcloud_embedding
( texts: list[str], model: str = "netease-youdao/bce-embedding-base_v1", base_url: str = "https://
lightrag/llm.py:588
Method
stable_largest_connected_component
Refer to https://github.com/microsoft/graphrag/index/graph/utils/stable_lcc.py Return the largest connected component of the graph, with nodes
lightrag/storage.py:134
Method
upsert
(self, data: dict[str, dict])
lightrag/storage.py:75
Method
upsert
Use 'content' field from value for embedding, use key as id. If embedding_func is None, use 'embedding' field from value
lightrag/base.py:53
Method
upsert_edge
( self, source_node_id: str, target_node_id: str, edge_data: dict[str, str] )
lightrag/storage.py:226
Method
upsert_node
(self, node_id: str, node_data: dict[str, str])
lightrag/storage.py:223
Function
wait_func
(*args, **kwargs)
lightrag/utils.py:82
Function
wrap_embedding_func_with_attrs
Wrap a function with attributes
lightrag/utils.py:96
Function
xml_to_json
(xml_file)
lightrag/utils.py:189
← previous
101–146 of 146, ranked by callers