Skip to content

Commit

Permalink
Rename InferGPT to InferESG (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mic-smith authored Oct 23, 2024
1 parent 376ccb6 commit 23a0746
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ AZURE_STORAGE_CONNECTION_STRING="my-connection-string"
AZURE_STORAGE_CONTAINER_NAME=my-container-name
AZURE_INITIAL_DATA_FILENAME=test-data.json

# llm config
# llm
ANSWER_AGENT_LLM="openai"
INTENT_AGENT_llm="openai"
VALIDATOR_AGENT_LLM="mistral"
Expand All @@ -47,7 +47,7 @@ CHART_GENERATOR_LLM="openai"
ROUTER_LLM="openai"
FILE_AGENT_LLM="openai"

# llm model
# model
ANSWER_AGENT_MODEL="gpt-4o mini"
INTENT_AGENT_MODEL="gpt-4o mini"
VALIDATOR_AGENT_MODEL="mistral-large-latest"
Expand Down
2 changes: 1 addition & 1 deletion .idea/InferGPT.iml → .idea/InferESG.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to InferGPT
# Contributing to InferESG

Welcome to InferGPT! We appreciate your interest in contributing.
Welcome to InferESG! We appreciate your interest in contributing.
Before you get started, please take a moment to review this guide.

## Ways to Contribute
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ We aim to be able to answer complex questions that require a deep understanding
2. Which of the companies in this fund should I prioritise deep analysis on?
3. I'm learning about ESG - can you help me understand this area better?

## InferGPT Roadmap & Docs
## InferESG Roadmap & Docs
InferESG is based on InferGPT/LLM - more details below:

Want more context about how it works, our roadmap and documentation? Check out the [wiki](https://github.com/WaitThatShouldntWork/InferGPT/wiki)

For further reading on InferGPT's components, see any of the following
For further reading on InferESG's components, see any of the following

- [Full system testing](test/README.md)
- [Data persistence](data/README.md)
Expand Down
2 changes: 1 addition & 1 deletion assets/sum-my-subscriptions/happy_flows.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sequenceDiagram
Frontend -->> Director: "Hello! What can you do?"
Director -->> LLM: "Is this a processable question?"
LLM -->> Director: "No, return this generic response"
Director -->> Frontend: "I'm InferGPT and can..."
Director -->> Frontend: "I'm InferESG and can..."
```

## "What did I spend more on last month, Amazon or Netflix?"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ sequenceDiagram
end
UI -->> Director: Hello! What can you do?
Director -->> Director: Return pure-LLM response
Director -->> UI: I'm InferGPT and can...
Director -->> UI: I'm InferESG and can...
```
2 changes: 1 addition & 1 deletion backend/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Backend

Python service for the InferGPT backend.
Python service for the InferESG backend.

## Structure
- `/supervisors` storing all supervisor modules (agents that call other agents for a greater goal)
Expand Down
2 changes: 1 addition & 1 deletion backend/src/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def lifespan(app: FastAPI):
allow_headers=["*"],
)

health_prefix = "InferGPT healthcheck: "
health_prefix = "InferESG healthcheck: "
further_guidance = "Please check the README files for further guidance."

healthy_response = health_prefix + "backend is healthy. Neo4J is healthy."
Expand Down
2 changes: 1 addition & 1 deletion backend/src/prompts/templates/director.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
You are a Chat Bot called InferGPT.
You are a Chat Bot called InferESG.
Your sole purpose is to get the user to tell you their intention. The intention has to be specifically related
to the user. For example:
-spending
Expand Down
2 changes: 1 addition & 1 deletion backend/tests/api/app_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

client = TestClient(app)
utterance = "Hello there"
expected_message = "Hello to you too! From InferGPT"
expected_message = "Hello to you too! From InferESG"


@pytest.fixture
Expand Down
8 changes: 4 additions & 4 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ services:
retries: 5
start_interval: 5s
start_period: 60s
# InferGPT Backend
# InferESG Backend
backend:
env_file:
- .env
image: infergpt/backend
image: inferesg/backend
build:
context: backend
dockerfile: ./Dockerfile
Expand Down Expand Up @@ -100,9 +100,9 @@ services:
target: /backend
action: sync

# InferGPT Frontend
# InferESG Frontend
frontend:
image: infergpt/frontend
image: inferesg/frontend
build:
context: frontend
dockerfile: ./Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A directory for all util and service modules for storing, manipulating and retrieving data

InferGPT uses a Neo4j Knowledge Graph exclusively.
InferESG uses a Neo4j Knowledge Graph exclusively.

# Setup

Expand All @@ -27,7 +27,7 @@ Once installed follow the steps below:
3. Add the username and password to the root `.env` file.
4. Add the database uri to the `.env` file. The default value for this is `bolt://localhost:7687`
5. Run the database in Neo4j desktop.
6. Test the connection is working by asking InferGPT the keyphrase "healthcheck".
6. Test the connection is working by asking InferESG the keyphrase "healthcheck".
It will return with a status update on the state of the backend and database
7. Load the data located at data/create_graph.cypher into the database and run it

Expand Down
2 changes: 1 addition & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Frontend

UI service for interfacing with InferGPT.
UI service for interfacing with InferESG.

## Set up

Expand Down
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
<title>Infer-GPT</title>
<title>Infer-ESG</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const getResponse = async (
};

const unhappyHealthcheckResponse = createChatMessageResponse(
'InferGPT healthcheck: backend is unhealthy. Unable to healthcheck Neo4J. Please check the README files for further guidance',
'InferESG healthcheck: backend is unhealthy. Unable to healthcheck Neo4J. Please check the README files for further guidance',
);

const checkBackendHealth = async (): Promise<ChatMessageResponse> => {
Expand Down

0 comments on commit 23a0746

Please sign in to comment.