from clarifai.client.workflow import Workflow
workflow_url ='https://clarifai.com/clarifai/content-generation-template/workflows/question-answering-gpt-4-turbo'text ='What are the differences between aerobic and anaerobic exercise, and how can someone balance them in a weekly fitness routine?'prediction = Workflow(workflow_url).predict_by_bytes( text.encode(), input_type="text")# Get workflow resultsprint(prediction.results[0].outputs[-1].data.text.raw)
Using Workflow
To utilize the Question Answering workflow, you can input text through the Blue Plus Try your own Input button and it will provide the informative and accurate responses to a wide range of questions.
Workflow ID
question-answering-gpt-4-turbo
Description
It excel at providing informative and accurate responses to a wide range of questions across diverse domains.
Last Updated
Apr 08, 2024
Privacy
PUBLIC
Share
Copy URL
Twitter
Facebook
Reddit
LinkedIn
Email
Help
question-answering-gpt-4-turbo workflow by clarifai | Clarifai - The World's AI