AskYoDa: A Versatile Solution for Customizable AI Chatbots
Tags: ai, customisedchatbot, chatgpt, llm
Published: 2023-10-20 07:48:51

AI's rapid advancement, driven by exponential growth, has led to superhuman proficiency in tasks like [image recognition](https://www.edenai.co/feature/face-recognition-apis?referral=new-product-askyoda), [natural language processing](https://www.edenai.co/technologies/text?referral=new-product-askyoda), and gaming. This evolution is fueled by factors such as increased data availability, powerful hardware, and improved machine learning algorithms.

While NLP-based AI chatbots have made significant progress, they often face limitations within predefined data scopes, necessitating ongoing AI development to integrate user-specific databases for seamless interactions and to meet dynamic information needs.

‍

##**What is [AskYoDa](https://www.edenai.co/products/askyoda?referral=new-product-askyoda) (Ask Your Data)?**
AskYoDa is an ingenious solution created by our team of engineers at Eden AI to enable customers to easily build their own AI chatbots in response to these limitations. It provides powerful collaboration capabilities, a scalable platform, and a secure portal to sophisticated language models.

With AskYoDa, you can easily build a customized AI assistant that meets your unique database needs. You can train your chatbot on your own data or on your business using various programming languages such as Python, JavaScript and more.

In addition, AskYoDa supports chatbot training with [OpenAI](https://www.edenai.co/providers/openai?referral=new-product-askyoda), [Cohere](https://www.edenai.co/providers/cohere?referral=new-product-askyoda), [Anthropic](https://www.edenai.co/providers/anthropic?referral=new-product-askyoda), [Google](https://www.edenai.co/providers/google-cloud?referral=new-product-askyoda) and [AI21Labs](https://www.edenai.co/providers/ai21labs), making it a versatile and comprehensive solution. The API's accessibility makes it uncomplicated to integrate with existing software.

{% youtube fo5pIT-S4-c %}

‍

##**How to use AskYoDa with the Eden AI API?**

**Step 1. Access the Eden AI API**
To start using AskYoDa you need to [create an account on Eden AI for free](https://app.edenai.run/user/register?referral=new-product-askyoda). Then, you'll be able to get your API key directly from the homepage and use it with free credits offered by Eden AI.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vmi0hevh4ejkh87yzrm7.png)

**[Get your API key for FREE](https://app.edenai.run/user/register?referral=new-product-askyoda)**


‍

**Step 2. Create the Project**
Go to Eden AI products and find AskYoDa. You have two options to customise your project settings: **Quickstart** or **Start from scratch**.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tg4h4vujs78bqcjh4oym.png)




In the **start from scratch** option, you have the flexibility to select your current database provider, presently qdrant. Additionally, you can choose your embedding provider from a selection that includes Open AI, Google, and Cohere and your LLM model.

‍

In the future, there will be additional choices available, such as adjusting the chunk size, overlap, selecting an [OCR provider](https://www.edenai.co/providers?technologies=OCR+%26+Document+Parsing?referral=new-product-askyoda), and a [speech-to-text provider](https://www.edenai.co/providers?technologies=Speech?referral=new-product-askyoda).

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7meyrp8pthmmmn93noz.png)



**Step 3. Upload your Data**
After creating your project, you can upload your data in the form of texts, URLs, PDFs, MP3, or WAV. The PDFs will be automatically parsed by OCR and the audio files will undergo speech-to-text conversion. There is also a code snippet available to **add data**. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hmxn6c7bamu3msswqzxp.png)



**Step 4. Interact with your Data**
Then enter your prompt and ask questions on your data. You can also change the LLM model. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rckke6ttgz5gjlt0cjlh.png)



**Step 5. Integrate the API into your application**
With AskYoDa, you can integrate it into your app using the provided [API documentation and guidelines](https://docs.edenai.co/reference/aiproducts_askyoda_create?referral=new-product-askyoda). Eden AI API offers comprehensive documentation and code snippets, enabling smooth integration with your preferred programming language. With the API you can import data, delete chunk, create, retrieve, list and delete projects.

Here is the code snippet to ask questions to your chatbot.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d79wjjfu54ye5x6xxbv9.png)



‍
**Step 6. Make API requests**
To build your own chatbot with your data using Eden AI API, construct an API request with the necessary parameters. Ensure that you adhere to the API's formatting and authentication requirements when making requests.



‍**Step 7. Set up your account for more API calls**
We offer $10 free credits to get started with our API. Purchase additional credits if needed:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i8l33qo46r6cgh9h3wis.png)





**Step 8. Start scaling and monitoring the performance of your API**
As your application grows, monitor the performance and scalability of the AskYoDa API integrated through Eden AI. Ensure that the API usage remains within acceptable limits and explore options for scaling up or optimizing API calls if necessary.

Regularly review the AskYoDa API on Eden AI to take advantage of any new updates or additions.



##**How does AskYoDa work?**
AskYoDa operates on an embedding framework. Upon uploading data, it undergoes segmentation into data chunks based on predetermined chunk sizes.

Then users can search within these data segments, with each segment accompanied by a relevance score indicating its alignment with the search query, along with metadata details such as the source and upload timestamp.

Users can also select the number of queries returned. These data segments are transformed into respective vectors and stored within the vector database. When a user submits a prompt, it is likewise converted into vectors and compared against those in the database, ultimately selecting the most closely matching data chunk for use.

‍

##**What are the uses of AskYoDa API?**
AskYoDa has a wide range of uses across various industries and applications. Here are some everyday use cases: ‍

‍

**1. Industries/Companies**
Companies that rely on chatbots often face limitations in manually answering every user query. With AskYoDa, businesses can leverage their company data by inputting it into the database and allowing AskYoDa to handle user questions efficiently. Furthermore, companies have the option to seamlessly integrate AskYoDa with their Discord channels or Slack workspaces and train them to respond effectively, streamlining their customer support processes.

‍

**2. Students**
For students, conventional chatbots like ChatGPT and Bard have inherent limitations, preventing them from providing comprehensive answers to all academic queries. To bridge this gap, students can leverage AskYoDa by uploading their entire course content.

This empowers them to seek clarification and resolve doubts more effectively, creating a valuable resource for educational assistance. 

‍

**3. Content Creators**
AskYoDa offers a valuable tool for content creators seeking to diversify their creative output. It can be harnessed to generate a wide array of creative text formats, including poems, code snippets, scripts, musical compositions, emails, letters, and more.

This capability proves invaluable for content creators aiming to produce high-quality and diverse content quickly and effortlessly, enhancing their creative endeavors.

‍

**4. Researchers**
Researchers often require swift access to diverse sources of information for their work. AskYoDa serves as a valuable tool for research purposes, enabling researchers to explore various topics and gather information efficiently from a range of sources. This feature streamlines the research process and enhances productivity.

‍

##**Conclusion**
AskYoDa offers a revolutionary solution for customizable AI chatbots, addressing limitations by facilitating data integration and training in multiple programming languages.

It has broad applications across industries, making it a versatile tool to train the chatbot with your own data for businesses, students, content creators, and researchers.

‍

**[Create your Account on Eden AI](https://app.edenai.run/user/register?referral=new-product-askyoda)**