Skip to content

aiera-inc/aiera-assistant

Repository files navigation

Aiera Assistant

This repository packages a basic OpenAI Assistant conversational chat for use with Aiera's API. Contact sales@aiera.com for more info.

The application is built with streamlit and OpenAI's beta Assistants API. Aiera Assistant is a custom assistant built on the preview of gpt4-turbo-preview.

image

SETUP

1. Set up your environment

Use conda to create a virtual environment and install the dependencies specified in the environment.yml file:

conda env create -f environment.yml
conda activate aiera-assistant

2. Configuration

Set up your environment using the following variables:

Environment Variable Description
OPENAI_API_KEY key provided by OpenAI
OPENAI_ORG_ID org id provided by OpenAI
OPENAI_PERSIST_FILES true/false, whether to persist files uploaded to OpenAI
AIERA_API_KEY API key as provided by Aiera. Contact us at sales@aiera.com
LOGGING_LEVEL standard python logging level

3. Create the assistant

Launch Jupyter and create the assistant by executing the cells in the AieraAssistant.ipynb notebook.

jupyter lab

Configure your environment to use the id of the assistant you've just created:

export OPENAI_ASSISTANT_ID={your id}

4. Install the package

pip install -e .

5. Run the application using streamlit

streamlit run aiera_assistant/main.py

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy