Changeset 3081493
- Timestamp:
- 05/05/2024 12:01:44 PM (2 years ago)
- Location:
- ai-content-creator/trunk
- Files:
-
- 5 edited
-
admin/funciones.php (modified) (4 diffs)
-
admin/opciones.php (modified) (1 diff)
-
ai-content-creator.php (modified) (1 diff)
-
classes/class-aiccgeneracion.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ai-content-creator/trunk/admin/funciones.php
r2915256 r3081493 167 167 function aicc_modelos() { 168 168 $modelos = array( 169 'gpt-4-turbo', 169 170 'gpt-4', 170 171 'gpt-3.5-turbo', … … 187 188 188 189 switch ( $modelo ) { 190 case 'gpt-4-turbo': 191 $nombre = 'GPT-4 Turbo'; 192 break; 189 193 case 'gpt-4': 190 194 $nombre = 'GPT-4'; 191 195 break; 192 196 case 'gpt-3.5-turbo': 193 $nombre = 'GPT-3.5 ';197 $nombre = 'GPT-3.5 Turbo'; 194 198 break; 195 199 case 'text-davinci-003': … … 303 307 if ( 'gpt-3.5-turbo' === $modelo 304 308 || 'gpt-4' === $modelo 309 || 'gpt-4-turbo' === $modelo 305 310 || 'gpt-4-32k' === $modelo 306 311 ) { … … 386 391 $palabras_relevantes = array_filter( 387 392 $palabras_relevantes, 388 function ( $palabra ) {393 function ( $palabra ) { 389 394 // Asegura la compatibilidad con PHP 5.4. 390 395 $palabra_trim = trim( $palabra ); -
ai-content-creator/trunk/admin/opciones.php
r2915485 r3081493 322 322 aicc_mostrar_campo_radio_modelo( $modelo, 'gpt-3.5-turbo', $texto ); 323 323 324 $texto = __( ' Currently in a limited beta and only accessible to those who have been grantedaccess.', 'ai-content-creator' ) . ' ' . sprintf( __( 'Price %s higher than GPT-3.5', 'ai-content-creator' ), '30x' );324 $texto = __( 'Reqires a minimum payment of 5 USD to grant access.', 'ai-content-creator' ) . ' ' . sprintf( __( 'Price %s higher than GPT-3.5', 'ai-content-creator' ), '30x' ); 325 325 aicc_mostrar_campo_radio_modelo( $modelo, 'gpt-4', $texto ); 326 327 $texto = __( 'Updated GPT-4.', 'ai-content-creator' ) . ' ' . __( 'Price is lower than GPT-4', 'ai-content-creator' ); 328 aicc_mostrar_campo_radio_modelo( $modelo, 'gpt-4-turbo', $texto ); 326 329 327 330 $texto = '(' . __( 'Under development', 'ai-content-creator' ) . ')'; -
ai-content-creator/trunk/ai-content-creator.php
r3080858 r3081493 4 4 * Plugin URI: https://taller.abcdatos.net/ai-content-creator-wordpress/ 5 5 * Description: Creates new posts content using AI API 6 * Version: 1.1. 46 * Version: 1.1.5-dev 7 7 * Author: ABCdatos 8 8 * Author URI: https://taller.abcdatos.net/ -
ai-content-creator/trunk/classes/class-aiccgeneracion.php
r3080807 r3081493 914 914 private function precio_token_solicitud() { 915 915 switch ( $this->modelo() ) { 916 case 'gpt-4-turbo': 917 $precio_token = 0.00001; 918 break; 916 919 case 'gpt-4': 917 920 $precio_token = 0.00003; … … 933 936 private function precio_token_respuesta() { 934 937 switch ( $this->modelo() ) { 938 case 'gpt-4-turbo': 939 $precio_token = 0.00003; 940 break; 935 941 case 'gpt-4': 936 942 $precio_token = 0.00006; -
ai-content-creator/trunk/readme.txt
r3080858 r3081493 99 99 == Changelog == 100 100 101 = 1.1.3 = 101 = 1.1.5 = 102 *May 05 2024* 103 * GPT-4 Turbo supported. 104 105 = 1.1.4 = 102 106 *May 03 2024* 103 107 * Corrected fatal error. … … 159 163 == Upgrade Notice == 160 164 165 = 1.1.5 = 166 * GPT-4 Turbo supported, cheaper than GPT-4 and with updated database. 167 161 168 = 1.1.0 = 162 169 * Includes an easy featured image selection for each article from Pixabay.
Note: See TracChangeset
for help on using the changeset viewer.