Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Merge branch 'feature/document-intelligence'
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinderVosDeWael committed Apr 11, 2024
2 parents 84fb46c + fdb33fd commit 598a143
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
AZURE_DOCUMENT_INTELLIGENCE_KEY=key
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=endpoint
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=endpoint
OPENAI_API_KEY=key
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN npm ci && npm run build
FROM node:18-alpine

ENV OPENAI_API_KEY=overwrite-me
ENV AZURE_DOCUMENT_INTELlIGENCE_KEY=overwrite-me
ENV AZURE_DOCUMENT_INTELlIGENCE_ENDPOINT=overwrite-me
# Maximum request body size of 512MB - required for large audio files.
ENV BODY_SIZE_LIMIT=512000000

Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Agate

Agate (working name) is a web interface for various OpenAI tools. It is built using Sveltekit and Typescript.
Running Agate requires that an OpenAI API key is set in the environment variable `OPENAI_API_KEY`.

## Installation

Expand All @@ -13,10 +12,4 @@ npm install

## Developing

The development server requires that an OpenAI API key is set in the environment variable. This need not
be a real key (though any request to OpenAI will fail, and failure handling is not done elegantly yet).

```bash
export OPENAI_API_KEY=your-key
npm run dev
```
The development server requires a few environment variables. See `.env.example` for a list of required variables.

0 comments on commit 598a143

Please sign in to comment.