Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Gen app builder - unable to import unstructured data through SDK/REST API

njk
Bronze 2
Bronze 2

Hi All,

We are trying to ingest unstructured data from bigquery table into the Search & Conversation app but we are getting the error "To create document without content, content config of data store must be NO_CONTENT". However, we are able to ingest the same bigquery table through the console.

We are following the below documentation page: 

https://cloud.google.com/generative-ai-app-builder/docs/samples/genappbuilder-import-documents?hl=en

Please advise.

Solved Solved
4 2 1,582
1 ACCEPTED SOLUTION

Hi @njk

Welcome and thank you for reaching out to our community.

I understand that you are having challenges importing unstructured data to your Search & Conversation app and we appreciate you providing the reference document that you are using. I've looked into your use case and it seems that you may need to specify the "data_schema" in your code, instead of using "custom", as written in the sample code, you can try using "document".

Adding this reference guide as it contains useful information for unstructured data stores.

Hope this helps.

View solution in original post

2 REPLIES 2

Hi @njk

Welcome and thank you for reaching out to our community.

I understand that you are having challenges importing unstructured data to your Search & Conversation app and we appreciate you providing the reference document that you are using. I've looked into your use case and it seems that you may need to specify the "data_schema" in your code, instead of using "custom", as written in the sample code, you can try using "document".

Adding this reference guide as it contains useful information for unstructured data stores.

Hope this helps.

njk
Bronze 2
Bronze 2

Thank you @lsolatorio, this has resolved the problem.