Find answers from the community

Home
Members
gavindoughtie
g
gavindoughtie
Offline, last seen 3 months ago
Joined September 25, 2024
Any insights making their way into PropertyGraphIndex now that the GraphRAG source is available ? https://microsoft.github.io/graphrag/
9 comments
j
L
g
g
gavindoughtie
·

Groq

Has anybody tried using groq with llama index? "just works" or are there subtleties?
3 comments
g
L
L
Trying to make use of another class with minimal examples, this time CypherTemplateRetriever and I'm getting some errors as it tries to parse my query string into parameters. Here's how I'm setting it up:

Plain Text
class AssessmentTemplateParams(BaseModel):
    """Template params for a cypher query."""

    keywords: list[str] = Field(
        description="A list of keywords to use for lookup in a knowledge graph."
    )

self.cypher_retriever = CypherTemplateRetriever(
            self.graph_store,
            llm=llm,
            output_cls=AssessmentTemplateParams,
            cypher_query=TEMPLATED_CYPHER_QUERY
        )
24 comments
L
g
I'm also getting this type warning for output_cls
4 comments
L
g
I see that TextToCypherRetriever has a slot for a cypher_validator and I'm looking for an example to crib from
5 comments
L
g
I have some code similar to this:

Plain Text
        # store is a neo4j PropertyGraphStore
        loader = BeautifulSoupWebReader()
        documents = loader.load_data(urls=[url])
        index = PropertyGraphIndex.from_documents(documents, store=store)


I expected the store to be populated with some inferred nodes from the web page at url but that doesn't seem to be happening. Is there an obvious thing I need to add?
1 comment
g
What should be a pretty silly question, but looking at the nodes returned from a PropertyGraphIndex retriever.retrieve call, I don't see the immediate path back from the returned nodes to the underlying entity nodes I added in the PropertyGraphStore (which I indexed via from_existing)
13 comments
g
L
This may be an issue for the Neo4J folks
19 comments
L
g
g
gavindoughtie
·

Name

Looking at the PropertyGraphStore EntityNode it seems like the name parameter should probably be called id?
6 comments
g
L