ChatSphere is an innovative AI-powered search engine, designed to revolutionize the way users interact with information. Unlike traditional search engines, ChatSphere integrates multiple Large Language Models (LLMs), providing users with the flexibility to choose the AI that best suits their needs for any given query.
Key Features:
Multiple AI Models: ChatSphere offers access to a variety of LLMs, each with unique strengths. Whether users need concise answers, detailed explanations, or creative ideas, they can select the model that fits their specific requirements.
User-Centric Interface: The search engine is built with a focus on simplicity and usability. The clean and intuitive design ensures that users can easily navigate through options and find the information they need with minimal effort.
Contextual Understanding: Leveraging advanced AI capabilities, ChatSphere delivers results that are contextually relevant, helping users get more accurate and useful information quickly.
Scalable and Extensible: The architecture of ChatSphere is designed to scale with the evolving needs of users, allowing for easy integration of additional LLMs and other AI tools in the future.
Vision:
ChatSphere is not just another search engine; it represents a
new paradigm in information retrieval. By putting the power of choice in the
hands of users, VedaVerse aims to create a personalized
search experience that adapts to diverse needs and preferences.
For the purpose of this project, we need the following installed on our systems:
Expand a section based on the OS you are using:
Next, go ahead and create a GitHub account.
Run the following commands to configure git on your system
git config --global user.name "Your Name"
git config --global user.email "youremail@email.com"
The email you enter here has to be the same with which you created your GitHub account
Setup your GitHub account and add an SSH key. Follow this guide.
Fork this repository
Clone the forked repository with this command:
git clone git@github.com:<your-username>/ChatSphere.git
Make sure to replace <your-username> with your GitHub Username
Open the repository in your favorite text editor/IDE.
Install npm dependencies of the project by running the following command in the project's root directory:
npm install
Navigate to the GROQ API Reference. Login,
and create a new key. Copy the key and make a .env
file in the root folder
of the project, and add the following contents:
EXPO_PUBLIC_GROQ_API_KEY=Your_API_Key
Now that the dependencies are installed, you can view the working demo of the page by running:
npm run web
Navigate to http://localhost:8081 to view the output
Hurray!! You are now ready to contribute to the project
Skip steps 1 - 4 if you followed all the steps from Setup and Installation
Make sure to fork this repository into your GitHub account - this way you will be able to create Pull Requests to merge your code in the repository.
Clone the forked repository in your system
Run npm install
in the root directory of the cloned repository.
Make the changes you want to do.
Once you are done, commit your code to git using the following commands:
git add .
git commit -m "A useful commit message"
Push your commits to your GitHub repository
git push -u origin master
Make a Pull Request
That's it! The PR you made would be reviewed by a Team Member of ours, and based on the code you have written the PR would be requested for changes, if any, and eventually Merged!
This project follows a specific design which needs to be implemented in the UI. You can check that on Figma
This guide helps you to follow the best practices to follow while writing code - so that you write the best way
Formatting your code is very important - it helps to maintain consistency across the project and also helps increase readability.
A helpful tool for code formatting is Prettier. You can
install it from the Extensions
tab in VS Code:
Look around in the repository, and find the .prettierrc
file. This file
contains all the necessary configurations for code formatting of this project.
Now the only thing you need with prettier to format your code is to save the file! Prettier formats code on each file save automatically!!
You can refer the following documents to know more about guidelines on how to write better code:
Happy Learning!