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

Remove google-cloud-data-qna which has been replaced by Duet AI in Looker #12217

Open
mfernandezsidn opened this issue Jan 23, 2024 · 3 comments
Assignees
Labels
api: bigquerydatatransfer Issues related to the BigQuery Data Transfer Service API. type: cleanup An internal cleanup or hygiene concern.

Comments

@mfernandezsidn
Copy link

I can't find any documentation in the internet and I don't know how this functionality is used.

I want to connect the dataqna_v1alpha with my biquery project but I can't find the right way to do this. Any help?

This is the code I have so far which I have copied-pasted from this repository

`from google.cloud import dataqna_v1alpha

class DataQnA:
def init(self):
pass

def sample_create_question(self):
    # Create a client
    client = dataqna_v1alpha.QuestionServiceClient()

    # Initialize request argument(s)
    question = dataqna_v1alpha.Question()
    # question.scopes = ['scopes_value1', 'scopes_value2']
    question.query = "How does this work?"

    request = dataqna_v1alpha.CreateQuestionRequest(
        parent="parent_value",
        question=question,
    )

    # Make the request
    response = client.create_question(request=request)

    # Handle the response
    print(response)

test = DataQnA()
test.sample_create_question()`

@parthea parthea self-assigned this Jan 23, 2024
@parthea parthea added api: bigquerydatatransfer Issues related to the BigQuery Data Transfer Service API. type: question Request for information or clarification. Not an issue. status: investigating The issue is under investigation, which is determined to be non-trivial. labels Jan 23, 2024
@parthea
Copy link
Contributor

parthea commented Jan 23, 2024

Hi @mfernandezsidn,

An update was posted on the announcement for BigQuery DataQnA recommending to use Conversational Queries as part of Duet AI in Looker instead:

Update Nov 13, 2023: We introduced Conversational Queries as part of Duet AI in Looker at Cloud Next 2023, to continue our mission of providing a natural language interface to query business data. To learn more about Duet AI in Looker, please see our blog post.

From https://cloud.google.com/blog/products/business-intelligence/whats-new-for-looker-and-business-intelligence-at-next-23,

Chat with your business data and design your future with a product built for it. Contact your Google Cloud representative to learn more.

I'm going to keep this issue open to track updating our documentation

@parthea parthea added type: docs Improvement to the documentation for an API. and removed type: question Request for information or clarification. Not an issue. status: investigating The issue is under investigation, which is determined to be non-trivial. labels Jan 23, 2024
@mfernandezsidn
Copy link
Author

Hi @parthea

Thanks for your response. There is no way to do the implementation with Python?

@parthea
Copy link
Contributor

parthea commented Jan 23, 2024

@mfernandezsidn,

The issue is not specific to the python library but rather the API. The BigQuery Data QnA API was not released as GA and it is now recommended to use Duet AI in Looker.

You can request to sign up for Duet AI in Looker Preview using this form
https://docs.google.com/forms/d/e/1FAIpQLSefBWbxchQFyZB9EOOcRxYTRi-16TezwRExW-x-XJRfeklCiA/viewform

Duet AI in Looker Preview
Hello!

Looker (Google Cloud core) and Looker Studio Pro admins may complete this form to request access to Duet AI in Looker Preview including Project Alchemist Experimental Preview. This program contains different products and features at a Pre-GA stage of development which you are eligible to request participation in. 

Please complete the next steps for each product or feature area you are interested in participating in. Each area may have further conditions or limitations on participation.

Duet AI in Looker Preview has six capabilities-- four on Looker Studio Pro, and two on Looker (Google Cloud core). 

We will be enabling access to Duet AI in Looker Preview in weekly batches. We will send a notification with next steps once your organization has been enabled. Completing this form does not guarantee access to any of the six capabilities.

When you go to this form which exists at the bottom of this page, there is a note that says

UPDATE: Ask Looker is now a part of "Duet AI in Looker" , and called Conversational Queries. You can express interest in testing out our new LLM-backed feature by signing up at this link.

@parthea parthea changed the title How to use DataQnA API?? Remove google-cloud-data-qna which has been replaced by Duet AI in Looker Jan 23, 2024
@parthea parthea added type: cleanup An internal cleanup or hygiene concern. and removed type: docs Improvement to the documentation for an API. labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerydatatransfer Issues related to the BigQuery Data Transfer Service API. type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

No branches or pull requests

2 participants