Pre-trained OpenAI agent
# support
r
Hey guys, thanks for the great work you are doing and congratulation for fundraise. I have a question about OpenAI GPTs. Is it possible to : 1. First, create an custom agent on ChatGPT, using a premium account and so i can train and improve it. 2. Use this custom Agent from ChatGPT for Vapi Do I need to create a Custom LLM ? Thank you guys
v
You can continue this conversation by mentioning me in the message.
@RealKhalass Hello! Thank you for your kind words and congratulations. Regarding your questions: 1. **Custom Agent on ChatGPT**: OpenAI does offer the ability to fine-tune models based on specific data or requirements, which can be considered as creating a custom agent. However, the specifics of training and improving a custom agent with a premium account on ChatGPT would depend on the current offerings and capabilities provided by OpenAI. You would typically need to follow OpenAI's guidelines for fine-tuning a model. 2. **Using Custom Agent with Vapi**: If you have a custom agent (a fine-tuned model) on OpenAI's platform, you can indeed use it with Vapi. You would need to integrate the API endpoints provided by OpenAI for your custom model with Vapi's system. This would involve specifying your custom model's ID when making API requests through Vapi. Regarding the creation of a Custom Large Language Model (LLM), it is not strictly necessary unless you have specific needs that cannot be met by the existing OpenAI models or fine-tuning capabilities. Creating a Custom LLM is a more complex and resource-intensive process, typically reserved for specialized applications. If you need more detailed instructions or assistance with the integration process or fine-tuning, please let me know, and I'll be happy to help!
Got it. Tagging @User for additional help.
r
How can i do this part please "If you have a custom agent (a fine-tuned model) on OpenAI's platform, you can indeed use it with Vapi. You would need to integrate the API endpoints provided by OpenAI for your custom model with Vapi's system. This would involve specifying your custom model's ID when making API requests through Vapi."
@Vapi How can i do this part please "If you have a custom agent (a fine-tuned model) on OpenAI's platform, you can indeed use it with Vapi. You would need to integrate the API endpoints provided by OpenAI for your custom model with Vapi's system. This would involve specifying your custom model's ID when making API requests through Vapi."
v
@RealKhalass To integrate your custom agent (fine-tuned model) from OpenAI with Vapi, you'll need to follow these steps: 1. **Fine-Tune Your Model**: Use OpenAI's fine-tuning feature to train your custom agent based on your specific data and requirements. 2. **Retrieve Your Model ID**: Once your model is trained, OpenAI will provide you with a unique model ID for your custom agent. 3. **Configure Vapi with Your Custom Model**: To use your custom agent with Vapi, you'll need to authenticate your Vapi instance with OpenAI and configure it to use your custom model ID when making API requests. If you haven't already authenticated your server with Vapi, you can do so by POSTing your server’s API key and URL to the
/credential
endpoint. Here's an example of how you might configure the credentials:
Copy code
json
{
  "provider": "custom-llm",
  "apiKey": "your-openai-api-key"
}
4. **Make API Requests**: When making API requests through Vapi, specify your custom model's ID in the request. This will direct Vapi to use your custom agent for processing the requests. If you need assistance with any of these steps or have further questions, please let me know, and I'll be happy to help!
r
@Vapi and it will be able to support for example 5 calls at the same time ? I will use it for education training
v
@RealKhalass Yes, Vapi can support multiple concurrent calls, including 5 calls at the same time, especially if you are on the Pay-As-You-Go plan, which allows up to 10 concurrent calls. If you are on the Enterprise plan, you can scale up to millions of calls because GPUs are reserved for you on our Enterprise cluster. For educational training purposes, where you might expect simultaneous interactions, Vapi is designed to handle such concurrency without issues. Just ensure that your implementation adheres to the concurrent call limits of your chosen plan. If you have any more questions or need further clarification, feel free to ask!
r
@Vapi what is the the /credential endpoint
v
@RealKhalass The
/credential
endpoint is typically part of an API that allows you to manage authentication credentials for accessing the API's services. In the context of Vapi, the
/credential
endpoint would be used to create, retrieve, update, or delete credentials that are necessary for authenticating your requests to the Vapi system. When you interact with the
/credential
endpoint, you might perform actions such as: - **Creating a new credential**: This would involve sending a request to the
/credential
endpoint with the necessary information to generate a new API key or token that you would use in subsequent API calls. - **Retrieving an existing credential**: You can use this endpoint to get details about your existing credentials, such as creation date, last update date, and the orgId they are associated with. - **Updating a credential**: If you need to change details related to a credential, such as updating permissions or other settings, you would use this endpoint. - **Deleting a credential**: When a credential is no longer needed or if it has been compromised, you would use the
/credential
endpoint to remove it from the system. If you need to interact with the
/credential
endpoint, you would typically use an HTTP client and make a request with the appropriate method (GET, POST, PUT, DELETE) depending on the action you want to perform. If you require specific details on how to use the
/credential
endpoint with Vapi, please let me know, and I can provide further assistance or direct you to the relevant documentation.
r
give me e
@Vapi give me the exact way to use my custom agent from OpenAI on Vapi
@User give me the exact way to use my custom agent from OpenAI on Vapi
2 Views