Advanced Usage
The StealthGPT API is designed to be flexible and adaptable to various use cases. In this section, we'll offer guidance on how to fine-tune the API for specific requirements and optimize the content generation and rephrasing process.
Adjusting Tone Styles
We have updated our tone options to provide more control over the style and complexity of the generated content. You can now select from the following tones to better suit your specific needs:
Standard Tone: Ideal for casual writing. This tone produces content that is easy to read and understand, suitable for general purposes.
High School Tone: Mimics the simplistic style of a high school student. Content generated in this tone is expected to score high on the Flesch-Kincaid Readability Score and may contain grammatical errors. This tone is useful when a more youthful or less formal style is desired.
College Tone: Mimics the semi-complex style of a college student. Content generated in this tone is expected to score moderately on the Flesch-Kincaid Readability Score and may include minor grammatical errors. This tone is suitable for academic writing at an undergraduate level.
Ph.D. Tone: Mimics the complex style of an advanced degree student. Content generated in this tone is expected to score low on the Flesch-Kincaid Readability Score and will not contain any grammatical errors. This tone is ideal for sophisticated academic writing that requires a higher level of complexity and formality.
To apply a specific tone, include the desired tone in your API request parameters. By selecting the appropriate tone, you can tailor the content to better match your target audience or specific use case.
Optimal Performance and Character Limitations
For optimal performance and content quality, we recommend using the StealthGPT API for responses requiring 2,000 characters or less. While the API can generate content above this threshold, we cannot guarantee the same level of quality and coherence for longer responses.
Our team is continuously working on improving the API's capabilities to deliver longer, coherent, and stealthier responses. We appreciate your understanding and encourage you to experiment with the API to find the optimal character range for your specific use case.
Adjusting Prompt Phrasing
The quality and relevance of the generated content greatly depend on the phrasing of your prompts. Experiment with different phrasings or provide additional context to guide the API in generating content that better aligns with your goals. For instance, if you're looking for a more formal tone, you can specify that in your prompt:
Using Content Templates
When generating content with specific structures or formats, you can use content templates to guide the API. By providing placeholders or examples within your prompt, you can ensure that the generated content adheres to your desired format. Make sure to stringify your content before passing it into the JSON object.
Example prompt:
Handling Lists and Enumerations
If you need the API to generate a list or enumeration, you can specify this in your prompt. For example:
Combining Multiple API Requests
For longer or more complex content, you may need to break your prompt into smaller, more focused requests. By making multiple API requests, you can piece together content that covers different aspects of your topic or project.
Iterative Rephrasing
To achieve a higher degree of stealthiness, you can send the same content to the API for rephrasing multiple times. Each iteration of rephrasing may result in more unique and discrete text. However, be cautious, as too many iterations may lead to a loss of coherence or meaning in the content.
Handling API Limitations
If you encounter rate limits or other API limitations, consider implementing a queuing mechanism or rate-limiting strategy in your application to manage and distribute your API requests efficiently.
By applying these advanced usage tips, you can optimize the StealthGPT API to better suit your specific needs and generate content that aligns with your requirements. If you need further assistance or have questions, please refer to the other sections of the documentation or contact our support team.
Last updated