This chat application integrates OpenAI's Assistant API to provide an interactive chat interface. It enables users to interact with an AI assistant, offering functionalities like creating and deleting assistants, managing threads, and processing user inputs for various tasks.
- Real-time chat interface with AI assistant.
- Integration with OpenAI's Assistant API for advanced functionalities.
- Custom chat functionalities including creating assistants, threads, and message handling.
To set up this project locally, follow these steps:
-
Clone the repository:
git clone [https://github.com/admineral/openAssistant]
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add your OpenAI API key and any other necessary configuration.
- Create a
-
Start the application:
npm run dev
- The application can be accessed at
localhost:3000
after starting the server. - Example use cases are provided to guide interactions with the AI assistant.
- Users can type messages and interact with the AI assistant in real-time.
Contributions to this project are welcome. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
. - Make your changes and commit them:
git commit -m 'Commit message'
. - Push to the original branch:
git push origin [project-name]/[location]
. - Create the pull request.
Alternatively, see the GitHub documentation on creating a pull request.