Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substance.summary returns empty string #13

Open
dlbnco opened this issue May 15, 2019 · 4 comments
Open

Substance.summary returns empty string #13

dlbnco opened this issue May 15, 2019 · 4 comments

Comments

@dlbnco
Copy link

dlbnco commented May 15, 2019

Most if not all substances are returning the summary field as an empty string.

Example

Query.substances

https://api.psychonautwiki.org/?query=query%7Bsubstances(query:%22MDMA%22)%7Bname%20summary%7D%7D

{
  substances(query: "MDMA") {
    name
    summary
  }
}
{
  "data": {
    "substances": [
      {
        "name": "MDMA",
        "summary": ""
      }
    ]
  }
}
@19h
Copy link
Member

19h commented May 17, 2019

Yes, the summaries are currently not implemented. No substance is returning a summary: https://api.psychonautwiki.org/?query=query%7Bsubstances(limit:5000)%7Bname%20summary%7D%7D.

I plan on eventually using Parsoid to provide programmatic text access to the articles. The summaries must either be provided by an elaborate NLP library (from the other text of the article) or by our users. The latter is a significant effort, so I'm planning this carefully.

@dlbnco
Copy link
Author

dlbnco commented Jul 26, 2020

The summaries must either be provided by an elaborate NLP library (from the other text of the article)

Should be easier now with GPT-3 :)

@19h
Copy link
Member

19h commented Jul 26, 2020

At this point GPT-3 is nothing but a massive PR stunt for OpenAI being able to start billing enterprise customers for usage of their API. There's documentation on what GPT-3 is, but there's no place beyond OpenAI itself where this is usable.

@razorstorm
Copy link

Would it make sense for the summary field to simply return the intro text for the substance? (i.e. the first few paragraphs on the article before the table of contents)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants