Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
fix: default origin and rag port (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
gphorvath authored Mar 7, 2024
1 parent 0336a45 commit 011afe1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PUBLIC_DEFAULT_MODEL=llamacpp
PUBLIC_DEFAULT_MODEL=llama-cpp-python
PUBLIC_TRANSCRIPTION_MODEL=whisper
PUBLIC_DEFAULT_SYSTEM_PROMPT="You are a helpful AI assistant created by Defense Unicorns."
PUBLIC_DEFAULT_TEMPERATURE=0.1
Expand All @@ -7,10 +7,10 @@ PUBLIC_OPENAI_API_HOST=http://127.0.0.1:8080/openai/v1
PUBLIC_AI4NS_BRANDING=false

ORIGIN=http://localhost:3000
SUMMARIZATION_MODEL=llamacpp
INTERMEDIATE_SUMMARIZATION_PROMPT="You are a summarizer tasked with creating summaries. Your key activities include identifying the main points and key details in the given text, and condensing the information into a concise summary that accurately reflects the original text. It is important to avoid any risks such as misinterpreting the text, omitting crucial information, or distorting the original meaning. Use clear and specific language, ensuring that the summary is coherent, well-organized, and effectively communicates the main ideas of the original text."
SUMMARIZATION_MODEL=llama-cpp-python
INTERMEDIATE_SUMMARIZATION_PROMPT="You are a summarizer tasked with creating summaries. Your key activities include identifying the main points and key details in the given text, and condensing the information into a concise summary that accurately reflects the original text. It is important to avoid any risks such as misinterpreting the text, omitting crucial information, or distorting the original meaning. Use clear and specific language, ensuring that the summary is coherent, well-organized, and effectively communicates the main ideas of the original text."
FINAL_SUMMARIZATION_PROMPT="You are a summarizer tasked with creating summaries. You will return an coherent and concise summary using 3 concise sections that are each separated by a newline character: 1) BOTTOM LINE UP FRONT: this section will be a concise paragraph containing an overarching, executive summary of all the notes. 2) NOTES: this section will be bullet points highlighting and summarizing key points, risks, issues, and opportunities. 3) ACTION ITEMS: this section will focus on listing any action items, unanswered questions, or issues present in the text; if there are none that can be identified from the notes, just return 'None' for ACTION ITEMS; if possible, also include the individual or team assigned to each item in ACTION ITEMS."
OPENAI_API_KEY=my-test-key
OPENAI_API_HOST=http://127.0.0.1:3000/openai/v1
RAG_API_HOST=http://localhost:8080
RAG_API_HOST=http://localhost:8000
CONCURRENT_REQUESTS=false
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
push:
tags:
- "*"



jobs:
build-and-publish:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.2.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.2.1"
appVersion: "0.2.2"
2 changes: 1 addition & 1 deletion zarf-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package:
create:
set:
image_repository: "ghcr.io/defenseunicorns/leapfrogai/leapfrogai-ui"
image_version: 0.2.1
image_version: 0.2.2
name: leapfrogai-ui
max_package_size: "1000000000"
4 changes: 2 additions & 2 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ variables:
sensitive: true
- name: LEAPFROGAI_RAG_URL
description: The URL for the Leapfrog AI rag api
default: http://rag.leapfrogai.svc.cluster.local:8080
default: http://rag.leapfrogai.svc.cluster.local:8000
prompt: true
sensitive: true
- name: DOMAIN
description: The domain to use for the application, Istio-ingress configuration
default: https://localhost:8080
default: https://ai.uds.dev
prompt: true
sensitive: true
- name: MODEL
Expand Down

0 comments on commit 011afe1

Please sign in to comment.