Spaces:
Paused
Paused
File size: 5,222 Bytes
9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 ef213b3 9fda4b9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | Loaded as API: https://auxteam-tiny-factory.hf.space
Client.predict() Usage Info
---------------------------
Named API endpoints: 18
- predict(business_description, customer_profile, num_personas, blablador_api_key, api_name="/generate_personas") -> output_generated_or_matched_persona
Parameters:
- [Textbox] business_description: str (required)
- [Textbox] customer_profile: str (required)
- [Number] num_personas: float (not required, defaults to: 1)
- [Textbox] blablador_api_key: str | None (not required, defaults to: None)
Returns:
- [Json] output_generated_or_matched_persona: str | float | bool | list | dict (any valid json)
- predict(criteria, api_name="/find_best_persona") -> output_generated_or_matched_persona
Parameters:
- [Textbox] criteria: str (required)
Returns:
- [Json] output_generated_or_matched_persona: str | float | bool | list | dict (any valid json)
- predict(context, api_name="/identify_personas") -> value_20
Parameters:
- [Textbox] context: str (required)
Returns:
- [Json] value_20: str | float | bool | list | dict (any valid json)
- predict(name, persona_count, network_type, focus_group_name, api_name="/generate_social_network") -> value_28
Parameters:
- [Textbox] name: str (required)
- [Number] persona_count: float (not required, defaults to: 10)
- [Dropdown] network_type: Literal['scale_free', 'small_world'] (not required, defaults to: scale_free)
- [Textbox] focus_group_name: str | None (not required, defaults to: None)
Returns:
- [Json] value_28: str | float | bool | list | dict (any valid json)
- predict(simulation_id, content_text, format, api_name="/predict_engagement") -> value_35
Parameters:
- [Textbox] simulation_id: str (required)
- [Textbox] content_text: str (required)
- [Textbox] format: str (not required, defaults to: text)
Returns:
- [Json] value_35: str | float | bool | list | dict (any valid json)
- predict(simulation_id, content_text, format, api_name="/start_simulation_async") -> value_42
Parameters:
- [Textbox] simulation_id: str (required)
- [Textbox] content_text: str (required)
- [Textbox] format: str (not required, defaults to: text)
Returns:
- [Json] value_42: str | float | bool | list | dict (any valid json)
- predict(simulation_id, api_name="/get_simulation_status") -> value_45
Parameters:
- [Textbox] simulation_id: str (required)
Returns:
- [Json] value_45: str | float | bool | list | dict (any valid json)
- predict(simulation_id, sender, message, api_name="/send_chat_message") -> value_53
Parameters:
- [Textbox] simulation_id: str (required)
- [Textbox] sender: str (not required, defaults to: User)
- [Textbox] message: str (required)
Returns:
- [Json] value_53: str | float | bool | list | dict (any valid json)
- predict(simulation_id, api_name="/get_chat_history") -> value_55
Parameters:
- [Textbox] simulation_id: str (required)
Returns:
- [Json] value_55: str | float | bool | list | dict (any valid json)
- predict(content_text, num_variants, api_name="/generate_variants") -> value_61
Parameters:
- [Textbox] content_text: str (required)
- [Number] num_variants: float (not required, defaults to: 5)
Returns:
- [Json] value_61: str | float | bool | list | dict (any valid json)
- predict(api_name="/list_simulations") -> value_65
Parameters:
- None
Returns:
- [Json] value_65: str | float | bool | list | dict (any valid json)
- predict(simulation_id, api_name="/list_personas") -> value_69
Parameters:
- [Textbox] simulation_id: str (required)
Returns:
- [Json] value_69: str | float | bool | list | dict (any valid json)
- predict(simulation_id, persona_name, api_name="/get_persona") -> value_75
Parameters:
- [Textbox] simulation_id: str (required)
- [Textbox] persona_name: str (required)
Returns:
- [Json] value_75: str | float | bool | list | dict (any valid json)
- predict(simulation_id, api_name="/delete_simulation") -> value_80
Parameters:
- [Textbox] simulation_id: str (required)
Returns:
- [Json] value_80: str | float | bool | list | dict (any valid json)
- predict(simulation_id, api_name="/export_simulation") -> value_85
Parameters:
- [Textbox] simulation_id: str (required)
Returns:
- [Json] value_85: str | float | bool | list | dict (any valid json)
- predict(simulation_id, api_name="/get_network_graph") -> value_90
Parameters:
- [Textbox] simulation_id: str (required)
Returns:
- [Json] value_90: str | float | bool | list | dict (any valid json)
- predict(api_name="/list_focus_groups") -> value_94
Parameters:
- None
Returns:
- [Json] value_94: str | float | bool | list | dict (any valid json)
- predict(name, simulation_id, api_name="/save_focus_group") -> value_98
Parameters:
- [Textbox] name: str (required)
- [Textbox] simulation_id: str (required)
Returns:
- [Json] value_98: str | float | bool | list | dict (any valid json)
None
|