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

Implement natural language API #2027

Closed
dhermes opened this issue Jul 26, 2016 · 4 comments
Closed

Implement natural language API #2027

dhermes opened this issue Jul 26, 2016 · 4 comments
Assignees
Labels
api: language Issues related to the Cloud Natural Language API API.

Comments

@dhermes
Copy link
Contributor

dhermes commented Jul 26, 2016

@dhermes dhermes self-assigned this Jul 26, 2016
@dhermes
Copy link
Contributor Author

dhermes commented Jul 26, 2016

When constructing a Document for analysis, the content can either be raw bytes from the request or a reference to an object in a Cloud Storage bucket (gcsContentUri).

@tseaver What approach have we taken in similar situations where one service "reaches into" another? I could construct a method which accepts a reference to a gcloud.storage.blob.Blob or just accept bucket and object names as strings and construct the gs://{bucket}/{obj} string for the user. WDYT?

@tseaver
Copy link
Contributor

tseaver commented Jul 26, 2016

The BigQuery LoadTableFromStorageJob is probably the closest equivalent. The other one which is somewhat reltated is the Logging sink to Storage bucket, but there we just pass the user-supplied URI through to the back-end.

@dhermes
Copy link
Contributor Author

dhermes commented Aug 8, 2016

See #2062

@dhermes
Copy link
Contributor Author

dhermes commented Aug 29, 2016

Closed via #2211

@dhermes dhermes closed this as completed Aug 29, 2016
@dhermes dhermes added the api: language Issues related to the Cloud Natural Language API API. label Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: language Issues related to the Cloud Natural Language API API.
Projects
None yet
Development

No branches or pull requests

2 participants