wpcom/v2/text-completion endpoint will no longer be maintained. We (mobile apps) use this ai-text-completion endpoint for AI generation-related features. Product Creation using AI, for example.
Solution
Replace wpcom/v2/text-completion endpoint usage with wpcom/v2/jetpack-ai-query endpoint.
Stop checking for ai-assistant feature as eligibility check. Instead, enable the AI features for all Jetpack sites. The wpcom/v2/jetpack-ai-query endpoint will take care of limiting usage. We can do this only after we add a way to advertise Jetpack AI and ask users to buy the plan. Otherwise they will face errors during the AI flow after the usage limit is exceeded.
Clone of https://github.com/woocommerce/woocommerce-ios/issues/12727
Problem
wpcom/v2/text-completion
endpoint will no longer be maintained. We (mobile apps) use thisai-text-completion
endpoint for AI generation-related features. Product Creation using AI, for example.Solution
wpcom/v2/text-completion
endpoint usage withwpcom/v2/jetpack-ai-query
endpoint.Stop checking forWe can do this only after we add a way to advertise Jetpack AI and ask users to buy the plan. Otherwise they will face errors during the AI flow after the usage limit is exceeded.ai-assistant
feature as eligibility check. Instead, enable the AI features for all Jetpack sites. Thewpcom/v2/jetpack-ai-query
endpoint will take care of limiting usage.Internal - p1714400452069809-slack-C02TQF5VAJD