how to add/assign knowledgebase while creating age...
# support
k
how to add/assign knowledgebase while creating agent through api, explain me in step by step
v
@Kavish Certainly! To add or assign a Knowledge Base while creating an agent through an API, you would typically follow these steps: Step 1: Create the Knowledge Base - Before you can assign a Knowledge Base to an agent, you need to create one. This usually involves defining the domain or topic, and uploading relevant documents or data. Step 2: Use the API to Create an Agent - You'll need to call the API endpoint responsible for creating agents. This endpoint will vary depending on the platform you're using. Step 3: Assign the Knowledge Base to the Agent - During the agent creation process, there will be a parameter or option to associate a Knowledge Base with the agent. You'll need to provide the identifier of the Knowledge Base you created in Step 1. Step 4: Configure the Agent - After assigning the Knowledge Base, you may need to configure the agent to use the Knowledge Base appropriately. This could involve setting up intents, entities, and other conversational elements that leverage the Knowledge Base. Step 5: Test the Agent - Once the Knowledge Base is assigned and the agent is configured, you should test the agent to ensure it is correctly using the Knowledge Base to respond to queries. Please note that the exact API calls and parameters will depend on the specific Voice API or platform you are using. If you can provide me with the name of the platform or API, I can give you more detailed instructions. If you need the exact API endpoints and parameters, you may need to refer to the platform's API documentation or ask support for more info on this.
You can continue this conversation by mentioning me in the message.
k
@Vapi Before you can assign a Knowledge Base to an agent, you need to create one. This usually involves defining the domain or topic, and uploading relevant documents or data. ```how to create one using api using local file
d
@Vapi I would be using 11Lab for voice and can you tell me which API i need to use and sugegst me payload for creating the knowledge base and then how to associate with agent
any update @Vapi
v
@dl_amit I apologize for the delay. To create a Knowledge Base using an API with 11Lab for voice, you would typically follow these steps: 1. **Prepare Your Local File**: Ensure that your local file containing the knowledge data is in the correct format as required by the 11Lab API. This could be a text file, a CSV, or any other format supported by the API. 2. **API Endpoint for Creating a Knowledge Base**: You will need to use the specific API endpoint provided by 11Lab for creating a Knowledge Base. This endpoint is usually documented in the API reference guide provided by 11Lab. 3. **Payload for Creating a Knowledge Base**: The payload will typically be in JSON format and will include details such as the name of the Knowledge Base, the domain or topic, and the data from your local file. You might need to convert your local file to a base64 string if the API requires the file content to be included in the payload. 4. **Associate the Knowledge Base with an Agent**: After creating the Knowledge Base, you will use another API endpoint to associate it with your agent. This usually involves sending the agent's ID and the Knowledge Base's ID in the request. Since I don't have access to the specific API documentation for 11Lab, I can't provide the exact endpoints or payload. You would need to consult the 11Lab API documentation for the exact details on how to perform these actions. If you have access to the documentation, please refer to it for the precise API endpoints, HTTP methods, and payload structures. If you need further assistance with the API calls or constructing the payload, please ask support for more info on this. They will be able to provide you with the necessary details and examples.
d
can i update the agent for new knowledgebase @Vapi ?
v
@dl_amit Yes, you can update an agent to use a new Knowledge Base. The process typically involves the following steps: 1. **Create or Update the Knowledge Base**: If you haven't already, create a new Knowledge Base with the updated information. If the Knowledge Base already exists, update it with the new data. 2. **Identify the Agent**: Determine the unique identifier (ID) for the agent you want to update. 3. **API Call to Update the Agent**: Use the appropriate API endpoint provided by 11Lab to update the agent's configuration. This will likely involve sending a request to an endpoint designed for updating agent settings. 4. **Associate the New Knowledge Base**: In the API request, include the identifier of the new Knowledge Base you want the agent to use. 5. **Test the Changes**: After updating the agent, test it to ensure that it is now using the new Knowledge Base correctly. The exact API endpoint, HTTP method, and request payload will depend on 11Lab's API specifications. You will need to refer to the 11Lab API documentation for the correct endpoint and payload format. If you do not have the documentation or are unsure about the process, please ask support for more info on this. They can provide you with the specific instructions and guidance you need to successfully update the agent with a new Knowledge Base.
d
@Vapi Do you recommend to create separate agent for each persona or update the agent with persona and new knowledgebase before making outbound call? we can have thiusands of persona
respond @Vapi
I am waiting for your response @Vapi
v
@dl_amit Creating separate agents for each persona can be beneficial if each persona requires a distinctly different set of knowledge, behaviors, or conversational styles. This approach allows for greater customization and can prevent confusion that might arise from a single agent trying to handle multiple personas. However, managing thousands of separate agents can be complex and resource-intensive. If the personas share common knowledge and only differ in certain aspects, it might be more efficient to update a single agent with the relevant persona and Knowledge Base before making an outbound call. This approach would allow you to maintain a core set of knowledge and functionalities while dynamically adjusting the persona-specific elements as needed. Here are some considerations to help you decide: - **Complexity**: Separate agents increase complexity but allow for more tailored interactions. - **Maintenance**: A single agent is easier to maintain, but may be less flexible. - **Resource Usage**: Multiple agents can consume more resources, both in terms of server capacity and management overhead. - **Scalability**: Updating a single agent with different personas may scale better if the differences between personas are minor. - **Personalization**: Separate agents can offer a higher degree of personalization for each interaction. Ultimately, the decision should be based on your specific use case, the degree of personalization required, and your capacity to manage multiple agents or dynamically update a single agent. If you have the infrastructure and resources to manage multiple agents without significant overhead, that might be the preferred approach for maximum personalization. If not, updating a single agent dynamically could be a more practical and scalable solution. Please consider your specific requirements and constraints carefully before making a decision. If you need further assistance or guidance, please ask support for more info on this.
d
what is maximum number of agent you can support @Vapi ?
v
@dl_amit As an AI developed to support the VAPI: Voice API for voice developers, I don't have a limit on the number of agents I can theoretically support in terms of providing information, guidance, and assistance. However, the actual limit on the number of agents that can be supported or managed within a specific system or platform, like 11Lab, would depend on the platform's infrastructure, scalability, and any set limitations by the service provider. For precise information on the maximum number of agents that can be supported on the 11Lab platform, you would need to refer to their official documentation or contact their support team. They would be able to provide you with the most accurate and up-to-date information regarding system capabilities and any potential limitations. If you need assistance with finding this information or have any other questions, please let me know, and I'll do my best to help. If I can't provide the answer, I'll direct you to ask support for more info on this.
d
I need help on this @Vapi
v
@dl_amit Please ask support for more info on this. They will be able to provide you with the specific details regarding the maximum number of agents that the 11Lab platform can support. The support team will have access to the most current and accurate information and can assist you with any technical or account-related queries.
d
@User can you please guide me on this
s
Do let me know how it goes.
d
@Shubham Bajaj can I get some details about standard plan and enterprise plan? We want to understand the pricing and commitment aspects a bit. I can dm you my email id if needed for further discussion.
s
@dl_amit For the enterprise plan, you can submit a request through over dashboard and someone from our team will get back to you. Would that work for you?
d
I did that 2 weeks back and no one came back.
@Shubham Bajaj I also have a bigger issue. My manager ahs added me as an admin into our vapi org account but I am not getting any request to join. Who can help me on this please?
s
@dl_amit can you share your manager orgId and your vapi account email?
d
our org id is 6dfaac21-274b-4a2d-affa-999a454059c8 and my email id to be added is amit@rethem.io into that org id as admin. Please note that my email id has also a trial account added
d
I dont see when I login with my email id. I only see my trial account
it was not there till now
@Shubham Bajaj what is the best way to reach support?
I got this help after 2-3 days
s
@dl_amit create #1211483291191083018 ticket and I will look into it.
We receive many queries each day, so it may take up to a day to reach out to you.
d
does enterprise plan has better way to handle this?
s
Yes you can opt for slack support and can find more details about it from the dashboard billing section under addons. TLDR: it will cost you $5000 a month.
6 Views