This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
compute.
ai_chat_stream
ai_chat_stream(workspace_id: str, question: str) -> Iterator[Any]
Chat Stream with AI in GoodData workspace.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | workspace identifier |
| question | str | question for the AI |
Returns
| type | description |
|---|---|
| Iterator[Any] |
Example
host = "https://www.example.com"
token = "<your_personal_access_token>"
sdk = GoodDataSdk.create(host, token)
chat_result = sdk.compute.ai_chat_stream(workspace_id, "Display the revenue by product")