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

Add "Ask Dataverse" tool to Dataverse #9663

Closed
sekmiller opened this issue Jun 20, 2023 · 2 comments · Fixed by #9737
Closed

Add "Ask Dataverse" tool to Dataverse #9663

sekmiller opened this issue Jun 20, 2023 · 2 comments · Fixed by #9737
Assignees
Labels
Size: 3 A percentage of a sprint. 2.1 hours.
Milestone

Comments

@sekmiller
Copy link
Contributor

sekmiller commented Jun 20, 2023

Overview of the Feature Request
Stefano is working on a tool that will enable users to ask natural language queries of Dataverse table files. The purpose of this issue is to make changes to the Dataverse App to accommodate this new type of tool. Per Stefano we are going to call it a query tool and use a chatbot icon on tabular files to indicate the availability of the tool.

What kind of user is the feature intended for?
intended for guests for data exploration

What inspired the request?

What existing behavior do you want changed?

Any brand new behavior do you want to add to Dataverse?
Add an external tool for Dataverse natural language queries of data

Any open or closed issues related to this feature request?

@sekmiller sekmiller self-assigned this Jun 20, 2023
@sekmiller sekmiller moved this from ▶ SPRINT READY to IQSS Team - In Progress 💻 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jun 20, 2023
@sekmiller sekmiller added the Size: 10 A percentage of a sprint. 7 hours. label Jun 20, 2023
sekmiller added a commit that referenced this issue Jun 23, 2023
sekmiller added a commit that referenced this issue Jun 23, 2023
@cmbz cmbz added Size: 3 A percentage of a sprint. 2.1 hours. and removed Size: 10 A percentage of a sprint. 7 hours. labels Jul 19, 2023
@scolapasta scolapasta added this to the 5.14 milestone Jul 20, 2023
@sekmiller sekmiller changed the title Spike: add "Ask Dataverse" tool to Dataverse Add "Ask Dataverse" tool to Dataverse Jul 20, 2023
sekmiller added a commit that referenced this issue Jul 26, 2023
@sekmiller
Copy link
Contributor Author

{
  "displayName": "Ask Dataverse",
  "description": "A tool that allows you to ask questions about Dataverse tables.",
  "toolName": "askDV",
  "scope": "file",
  "types": [
    "query"
  ],
  "toolUrl": "https://askdataverse.shinyapps.io/askdata",
  "contentType": "text/tab-separated-values",
  "httpMethod":"GET",
  "toolParameters": {
    "queryParameters": [
      {
        "fileid": "{fileId}"
      },
      {
        "datasetPid": "{datasetPid}"
      },
      {
        "siteUrl": "{siteUrl}"
      }
    ]
  }
}

sekmiller added a commit that referenced this issue Jul 26, 2023
sekmiller added a commit that referenced this issue Jul 26, 2023
sekmiller added a commit that referenced this issue Jul 26, 2023
sekmiller added a commit that referenced this issue Jul 28, 2023
sekmiller added a commit that referenced this issue Jul 28, 2023
sekmiller added a commit that referenced this issue Jul 31, 2023
pdurbin added a commit that referenced this issue Jul 31, 2023
sekmiller added a commit that referenced this issue Jul 31, 2023
pdurbin added a commit that referenced this issue Jul 31, 2023
pdurbin added a commit that referenced this issue Jul 31, 2023
@kcondon
Copy link
Contributor

kcondon commented Jul 31, 2023

Issues found:

  1. When using the link, '''https://github.com/IQSS/askdataverse/blob/main/askthedata/askthedata.json''' for use in '''curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools --upload-file askthedata.json''' it really should point to the raw form, otherwise the contents are incorrect and the curl command will fail: '''https://raw.githubusercontent.com/IQSS/askdataverse/main/askthedata/askthedata.json'''
  2. When clicking on the ask the data icon, getting cert error:
Screen Shot 2023-07-31 at 2 10 20 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 3 A percentage of a sprint. 2.1 hours.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants