Knowledge Graph Extraction & Visualization with local LLM from Unstructured Text: a History example
#################################
# Definition of used LLM
#################################
##########################################################################
def graphPrompt(input: str, metadata={}, model="mixtral:latest"):
if model == None:
model = "mixtral:latest"
chunk_id = metadata.get('chunk_id', None)
# model_info = client.show(model_name=m... See more
# Definition of used LLM
#################################
##########################################################################
def graphPrompt(input: str, metadata={}, model="mixtral:latest"):
if model == None:
model = "mixtral:latest"
chunk_id = metadata.get('chunk_id', None)
# model_info = client.show(model_name=m... See more
Knowledge Graph Extraction & Visualization with local LLM from Unstructured Text: a History example
Knowledge graph prompt.