kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[BUG] nano graph not writing the graph

Open vipervs opened this issue 1 year ago • 2 comments

Description

as you can see the nano graph is creating relationships correctly but at the end it does not write the graph. Im using gpt4-o-mini and text-embedding-3-large


INFO:openai._base_client:Retrying request to /chat/completions in 0.487440 seconds INFO:openai._base_client:Retrying request to /chat/completions in 0.860676 seconds INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

("entity"<|>"Ayers JW"<|>"person"<|>"Ayers JW is a researcher who discusses the potential of behavioral medicine in leading the web data revolution.")## ("entity"<|>"Butler D"<|>"person"<|>"Butler D is an author who critiques Google's approach to flu prediction, highlighting its inaccuracies.")## ("entity"<|>"Huang J"<|>"person"<|>"Huang J is a researcher involved in examining the marketing of electronic cigarettes on Twitter.")## ("entity"<|>"Myslín M"<|>"person"<|>"Myslín M is a researcher who uses Twitter to study smoking behavior and perceptions of emerging tobacco products.")## ("entity"<|>"Chou WS"<|>"person"<|>"Chou WS is a researcher who analyzes obesity in social media through a mixed methods approach.")## ("entity"<|>"Dasarathy B"<|>"person"<|>"Dasarathy B is an author who provides an introductory survey on nearest neighbor concepts and techniques.")## ("entity"<|>"Fleiss J"<|>"person"<|>"Fleiss J is an author known for his work on statistical methods for rates and proportions.")## ("entity"<|>"Taiwan"<|>"geo"<|>"Taiwan is a location where the 18th Pacific-Asia Conference on Knowledge Discovery and Data Mining was held.")## ("entity"<|>"J Med Internet Res"<|>"organization"<|>"J Med Internet Res is a journal that publishes research related to medical internet research and health informatics.")## ("entity"<|>"Transl Behav Med"<|>"organization"<|>"Transl Behav Med is a journal that features research on behavioral medicine and its applications.")## ("entity"<|>"Tob Control"<|>"organization"<|>"Tob Control is a journal that focuses on tobacco control research and public health implications.")## ("entity"<|>"Statistical Methods for Rates and Proportions"<|>"event"<|>"Statistical Methods for Rates and Proportions is a significant work that discusses statistical techniques relevant to classification tasks.")## ("relationship"<|>"Ayers JW"<|>"J Med Internet Res"<|>"Ayers JW's research is published in J Med Internet Res, indicating a direct connection between the researcher and the journal."<|>8)## ("relationship"<|>"Butler D"<|>"J Med Internet Res"<|>"Butler D's critique of Google's flu prediction is featured in J Med Internet Res, linking his work to the journal."<|>7)## ("relationship"<|>"Huang J"<|>"Tob Control"<|>"Huang J's research on electronic cigarette marketing is published in Tob Control, establishing a relationship between the researcher and the journal."<|>8)## ("relationship"<|>"Myslín M"<|>"J Med Internet Res"<|>"Myslín M's study on smoking behavior is published in J Med Internet Res, indicating a connection between the researcher and the journal."<|>9)## ("relationship"<|>"Chou WS"<|>"Transl Behav Med"<|>"Chou WS's analysis of obesity in social media is published in Transl Behav Med, linking the researcher to the journal."<|>8)## ("relationship"<|>"Dasarathy B"<|>"Statistical Methods for Rates and Proportions"<|>"Dasarathy B's work on nearest neighbor techniques is discussed in the context of Statistical Methods for Rates and Proportions, establishing a relationship."<|>6)## ("relationship"<|>"Fleiss J"<|>"Statistical Methods for Rates and Proportions"<|>"Fleiss J's contributions to statistical methods are foundational to the work titled Statistical Methods for Rates and Proportions, indicating a strong relationship."<|>9)## ("relationship"<|>"Taiwan"<|>"18th Pacific-Asia Conference on Knowledge Discovery and Data Mining"<|>"Taiwan is the location where the conference was held, establishing a geographical relationship with the event."<|>10)<|COMPLETE|>

INFO:openai._base_client:Retrying request to /chat/completions in 0.409987 seconds INFO:openai._base_client:Retrying request to /chat/completions in 0.997307 seconds INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

("entity"<|>"Agarwal A"<|>"person"<|>"Agarwal A is an author involved in sentiment analysis research, contributing to the workshop on languages in social media.")## ("entity"<|>"Xie B"<|>"person"<|>"Xie B is a co-author of the sentiment analysis study, collaborating on research related to Twitter data.")## ("entity"<|>"Vovsha I"<|>"person"<|>"Vovsha I is a contributor to the sentiment analysis research presented at the workshop.")## ("entity"<|>"Rambo w O"<|>"person"<|>"Rambo w O is an author associated with the sentiment analysis of Twitter data.")## ("entity"<|>"Passonneau R"<|>"person"<|>"Passonneau R is a co-author of the research on sentiment analysis presented at the workshop.")## ("entity"<|>"Cole-Lewis H"<|>"person"<|>"Cole-Lewis H is the lead author of the study assessing electronic cigarette-related tweets for sentiment and content.")## ("entity"<|>"Varghese A"<|>"person"<|>"Varghese A is a co-author of the study on electronic cigarette-related tweets, contributing to the research findings.")## ("entity"<|>"Sanders A"<|>"person"<|>"Sanders A is a co-author involved in the sentiment analysis of electronic cigarette-related tweets.")## ("entity"<|>"Schwarz M"<|>"person"<|>"Schwarz M is a co-author of the research paper assessing electronic cigarette-related tweets.")## ("entity"<|>"Pugatch J"<|>"person"<|>"Pugatch J is a co-author contributing to the study on electronic cigarette-related tweets.")## ("entity"<|>"Augustson E"<|>"person"<|>"Augustson E is a co-author of the research paper on electronic cigarette-related tweets.")## ("entity"<|>"Workshop on Languages in Social Media"<|>"event"<|>"The Workshop on Languages in Social Media is an event where research on sentiment analysis of Twitter data was presented.")## ("entity"<|>"Journal of Medical Internet Research"<|>"organization"<|>"The Journal of Medical Internet Research is the publication where the study on electronic cigarette-related tweets was originally published.")## ("entity"<|>"Portland, Oregon"<|>"geo"<|>"Portland, Oregon is the location where the Workshop on Languages in Social Media took place.")## ("relationship"<|>"Agarwal A"<|>"Workshop on Languages in Social Media"<|>"Agarwal A presented research at the Workshop on Languages in Social Media, indicating a direct involvement in the event."<|>8)## ("relationship"<|>"Xie B"<|>"Workshop on Languages in Social Media"<|>"Xie B contributed to the research presented at the Workshop on Languages in Social Media, showing a connection to the event."<|>7)## ("relationship"<|>"Vovsha I"<|>"Workshop on Languages in Social Media"<|>"Vovsha I was involved in the research presented at the Workshop on Languages in Social Media, linking them to the event."<|>7)## ("relationship"<|>"Cole-Lewis H"<|>"Journal of Medical Internet Research"<|>"Cole-Lewis H's study on electronic cigarette-related tweets was published in the Journal of Medical Internet Research, establishing a relationship between the author and the organization."<|>9)## ("relationship"<|>"Varghese A"<|>"Journal of Medical Internet Research"<|>"Varghese A's contributions to the study were published in the Journal of Medical Internet Research, indicating a connection to the organization."<|>8)## ("relationship"<|>"Sanders A"<|>"Journal of Medical Internet Research"<|>"Sanders A's work on the electronic cigarette-related tweets was published in the Journal of Medical Internet Research, linking them to the organization."<|>8)## ("relationship"<|>"Schwarz M"<|>"Journal of Medical Internet Research"<|>"Schwarz M's research on electronic cigarette-related tweets was published in the Journal of Medical Internet Research, establishing a relationship with the organization."<|>8)## ("relationship"<|>"Pugatch J"<|>"Journal of Medical Internet Research"<|>"Pugatch J's contributions to the study were published in the Journal of Medical Internet Research, indicating a connection to the organization."<|>8)## ("relationship"<|>"Augustson E"<|>"Journal of Medical Internet Research"<|>"Augustson E's work on the electronic cigarette-related tweets was published in the Journal of Medical Internet Research, linking them to the organization."<|>8)## ("relationship"<|>"Workshop on Languages in Social Media"<|>"Portland, Oregon"<|>"The Workshop on Languages in Social Media took place in Portland, Oregon, establishing a geographical relationship with the event."<|>10)<|COMPLETE|>

INFO:openai._base_client:Retrying request to /chat/completions in 0.447163 seconds INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

("entity"<|>"Heather Cole-Lewis"<|>"person"<|>"Heather Cole-Lewis is the lead author of the study assessing electronic cigarette-related tweets, contributing significantly to the research.")## ("entity"<|>"G Eysenbach"<|>"person"<|>"G Eysenbach is the editor of the proceedings for the Workshop on Languages in Social Media, overseeing the publication process.")## ("entity"<|>"N Zhang"<|>"person"<|>"N Zhang is a peer reviewer for the research presented at the Workshop on Languages in Social Media, providing feedback on the study.")## ("entity"<|>"R Hilscher"<|>"person"<|>"R Hilscher is a peer reviewer for the research presented at the Workshop on Languages in Social Media, contributing to the evaluation of the study.")## ("entity"<|>"10.2196/jmir.4392"<|>"concept"<|>"10.2196/jmir.4392 is the DOI reference for the published study on electronic cigarette-related tweets, providing a unique identifier for the research.")## ("entity"<|>"26307512"<|>"concept"<|>"26307512 is the PMID reference for the study, serving as a unique identifier in the PubMed database.")## ("entity"<|>"Creative Commons Attribution License"<|>"concept"<|>"The Creative Commons Attribution License allows for unrestricted use and distribution of the published work, provided proper citation is given.")## ("entity"<|>"e208"<|>"event"<|>"e208 refers to the specific article number for the publication in the Journal of Medical Internet Research, indicating its place in the journal.")## ("entity"<|>"2011 Jun 23"<|>"event"<|>"2011 Jun 23 is the date when the Workshop on Languages in Social Media was held, marking a significant event in the timeline of the research.")## ("entity"<|>"25.08.2015"<|>"event"<|>"25.08.2015 is the publication date of the study in the Journal of Medical Internet Research, indicating when the research became publicly available.")## ("relationship"<|>"Heather Cole-Lewis"<|>"Journal of Medical Internet Research"<|>"Heather Cole-Lewis's study on electronic cigarette-related tweets was published in the Journal of Medical Internet Research, establishing a relationship with the organization."<|>9)## ("relationship"<|>"G Eysenbach"<|>"Workshop on Languages in Social Media"<|>"G Eysenbach, as the editor, played a role in the proceedings of the Workshop on Languages in Social Media, linking him to the event."<|>7)## ("relationship"<|>"N Zhang"<|>"Workshop on Languages in Social Media"<|>"N Zhang's role as a peer reviewer for the research connects him to the Workshop on Languages in Social Media."<|>6)## ("relationship"<|>"R Hilscher"<|>"Workshop on Languages in Social Media"<|>"R Hilscher's involvement as a peer reviewer for the research links him to the Workshop on Languages in Social Media."<|>6)## ("relationship"<|>"10.2196/jmir.4392"<|>"Journal of Medical Internet Research"<|>"10.2196/jmir.4392 serves as the DOI for the study published in the Journal of Medical Internet Research, establishing a connection to the organization."<|>8)## ("relationship"<|>"26307512"<|>"Journal of Medical Internet Research"<|>"26307512 is the PMID for the study published in the Journal of Medical Internet Research, linking it to the organization."<|>8)## ("relationship"<|>"Creative Commons Attribution License"<|>"Journal of Medical Internet Research"<|>"The Creative Commons Attribution License applies to the publication in the Journal of Medical Internet Research, indicating the terms of use for the research."<|>7)## ("relationship"<|>"e208"<|>"Journal of Medical Internet Research"<|>"e208 is the article number for the publication in the Journal of Medical Internet Research, linking it to the organization."<|>8)## ("relationship"<|>"2011 Jun 23"<|>"Workshop on Languages in Social Media"<|>"2011 Jun 23 is the date of the Workshop on Languages in Social Media, marking a significant event in the timeline of the research."<|>10)## ("relationship"<|>"25.08.2015"<|>"Journal of Medical Internet Research"<|>"25.08.2015 is the publication date of the study in the Journal of Medical Internet Research, establishing a temporal relationship with the organization."<|>9)<|COMPLETE|>

INFO:nano-graphrag:Writing graph with 0 nodes, 0 edgeselations(duplicated)

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

No response

OS

No response

Additional information

No response

vipervs avatar Oct 31 '24 14:10 vipervs

Ok it was working with Claude 3 Haiku:


INFO:nano-graphrag:Writing graph with 290 nodes, 188 edges

vipervs avatar Nov 01 '24 08:11 vipervs

@vipervs Please also raise your request and model configuration to https://github.com/gusye1234/nano-graphrag/. (as mentioned in the other issue).

taprosoft avatar Nov 01 '24 09:11 taprosoft