PHP Script Modification - Add an Additional API Request To Existing Script
Budget: $45 – $50 USD
Project Deadline: 1 Day
Project Budget: $50
Project Type: PHP (8.2 and above)
Server Type: Linux Ubuntu
Project Overview:
We have an existing PHP script that calls the OpenAI API & outputs the response in decoded JSON format.
We want to add Replicate API (https://replicate.com/meta/meta-llama-3-70b-instruct/api) to the script so we have the option of using the Replicate API instead of the OpenAI API.
A user should be able to specify which API the script should use via a line in the code.
So...
- Currently: Script uses OpenAI API
- New Version: Script uses both OpenAI API & Replicate API
The output format from Replicate API must match the OpenAI API response, as the output is used in an existing Web App.
New API Documentation: https://replicate.com/meta/meta-llama-3-70b-instruct/api
5* FEEDBACK WILL BE LEFT FOR YOU
Project Budget: $50
Project Type: PHP (8.2 and above)
Server Type: Linux Ubuntu
Project Overview:
We have an existing PHP script that calls the OpenAI API & outputs the response in decoded JSON format.
We want to add Replicate API (https://replicate.com/meta/meta-llama-3-70b-instruct/api) to the script so we have the option of using the Replicate API instead of the OpenAI API.
A user should be able to specify which API the script should use via a line in the code.
So...
- Currently: Script uses OpenAI API
- New Version: Script uses both OpenAI API & Replicate API
The output format from Replicate API must match the OpenAI API response, as the output is used in an existing Web App.
New API Documentation: https://replicate.com/meta/meta-llama-3-70b-instruct/api
5* FEEDBACK WILL BE LEFT FOR YOU