|
| 1 | +.. _profile: |
| 2 | + |
| 3 | +******************** |
| 4 | +``Profile`` API |
| 5 | +******************** |
| 6 | + |
| 7 | +.. autoclass:: select_ai.Profile |
| 8 | + :members: |
| 9 | + |
| 10 | +************************** |
| 11 | +Enable AI Service provider |
| 12 | +************************** |
| 13 | + |
| 14 | +.. literalinclude:: ../../../examples/1_enable_ai_provider.py |
| 15 | + :language: python |
| 16 | + |
| 17 | + |
| 18 | +************************** |
| 19 | +Create credential |
| 20 | +************************** |
| 21 | + |
| 22 | +.. literalinclude:: ../../../examples/2_create_ai_credential.py |
| 23 | + :language: python |
| 24 | + |
| 25 | + |
| 26 | +************************** |
| 27 | +Show SQL |
| 28 | +************************** |
| 29 | + |
| 30 | +.. literalinclude:: ../../../examples/3_show_sql.py |
| 31 | + :language: python |
| 32 | + |
| 33 | +************************** |
| 34 | +Run SQL |
| 35 | +************************** |
| 36 | + |
| 37 | +.. literalinclude:: ../../../examples/4_run_sql.py |
| 38 | + :language: python |
| 39 | + |
| 40 | +************************** |
| 41 | +Chat |
| 42 | +************************** |
| 43 | + |
| 44 | +.. literalinclude:: ../../../examples/5_chat.py |
| 45 | + :language: python |
| 46 | + |
| 47 | +************************** |
| 48 | +List Profiles |
| 49 | +************************** |
| 50 | + |
| 51 | +.. literalinclude:: ../../../examples/6_list_ai_profiles.py |
| 52 | + :language: python |
| 53 | + |
| 54 | +************************** |
| 55 | +Create Vector Index |
| 56 | +************************** |
| 57 | + |
| 58 | +.. literalinclude:: ../../../examples/7_vector_index.py |
| 59 | + :language: python |
| 60 | + |
| 61 | +************************** |
| 62 | +Generate Synthetic Data |
| 63 | +************************** |
| 64 | + |
| 65 | +.. literalinclude:: ../../../examples/8_generate_synthetic_data.py |
| 66 | + :language: python |
| 67 | + |
| 68 | +************************** |
| 69 | +Conversation |
| 70 | +************************** |
| 71 | + |
| 72 | +.. literalinclude:: ../../../examples/9_conversation.py |
| 73 | + :language: python |
| 74 | + |
| 75 | +*************************** |
| 76 | +Disable AI service provider |
| 77 | +*************************** |
| 78 | + |
| 79 | +.. literalinclude:: ../../../examples/10_disable_ai_provider.py |
| 80 | + :language: python |
0 commit comments