- Install packages
npm i
- Download the backend (pAI-OS) from the following repository and run the instructions:
-
Create .env file In the root of the project, create a
.env
file and add the following line with the correct value of the server URL:REACT_APP_API_URL=http://localhost:3080/api/v1
-
Start the frontend
npm start
Welcome to PAI-Assistant, a personal assistant project designed for students and professors to enhance their learning and teaching experiences. This guide will walk you through the steps to create, customize, and deploy your personal assistant using the PAI-Assistant UI.
- Introduction
- Prerequisites
- Creating a Persona
- Creating an Assistant
- Managing Knowledge Base
- Testing Your Assistant
- Setting Assistant Privacy
- Deploying Your Assistant
- Interacting with Your Assistant
PAI-Assistant allows users to create personal assistants that retrieve information from a personalized knowledge base using a persona of their choice. Follow these instructions to set up your assistant.
Before you begin, make sure you have access to:
- PAI OS project Donwloaded and Running. https://github.com/pAI-OS/paios/
- Ollama installed in your computer. https://ollama.com/
- Any documents or knowledge base content you wish to upload.
- Navigate to the Persona tab in the PAI-Assistant UI.
- Create a new persona. This will define the personality of your assistant, determining how it will interact with users.
- Description: Write a description of who your assistant is and how you’d like it to respond to queries.
- Save your persona.
- After creating a persona, proceed to create a new assistant.
- Assign a Name and Description to your assistant. These fields are purely informational and won’t affect how your assistant communicates.
- Select the persona that your assistant will use.
- Upload documents (PDFs, Word, or .txt files) to your assistant's Knowledge Base. This is the information your assistant will refer to when generating responses.
- You can update, delete, or view a list of the uploaded documents at any time.
- Test your assistant to ensure it retrieves the correct information from the knowledge base. This step will help you verify if the assistant behaves as expected.
- Interact with the assistant to see how it responds using the selected persona and knowledge.
- You can set your assistant’s visibility to Private, Public, or leave it as a Draft.
- Private: Only you or authorized users can access the assistant.
- Public: Anyone with the link can interact with your assistant.
- Draft: Keep the assistant in development mode until it's ready for use.
- Once you're satisfied with your assistant, deploy it to make it available for use.
- Navigate to your Assistants page to view all your assistants.
- To begin interacting with your assistant, go to the Assistants page.
- Click the Go to Course button to launch the assistant.
- Now you can play with your assistant, ask questions, and test its responses based on the persona and knowledge you’ve configured.