Skip to content

Commit

Permalink
intro message
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Jul 24, 2024
1 parent e72d267 commit 443bbe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion LLamaIndex-Mem0/Chat_with_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self):

# Set up Llama Index with Anthropic
llm = Anthropic(temperature=0.0, model='claude-3-opus-20240229')
embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-base-en-v1.5")
embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-base-en-v1.5") #Embedding model will be downloaded during the first use
Settings.llm = llm
Settings.embed_model = embed_model
Settings.chunk_size = 512
Expand Down Expand Up @@ -81,6 +81,7 @@ def query_properties(self, user_id):
ai_assistant = RealEstateAssistant()

def main():
print("Welcome to our Real Estate Assistant! Give me few ideas of what you are looking for and let it find a perfect property for you")
while True:
question = input("Question: ")
if question.lower() in ['q', 'exit']:
Expand Down
8 changes: 4 additions & 4 deletions LLamaIndex-Mem0/Docker-Compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ services:
- "8009:8000"
command: tail -f /dev/null ##command: streamlit run app.py
environment:
- OPENAI_API_KEY=sk-proj-yourapi
- ANTHROPIC_API_KEY=sk-ant-api03-yourapi
- OPENAI_API_KEY=sk-proj-yourapi #without quotes here
- ANTHROPIC_API_KEY=sk-ant-api03-yourapi #without quotes here

#docker exec -it properties_chat /bin/bash
#podman exec -it properties_chat /bin/bash
#docker exec -it Chat_with_Properties /bin/bash
#podman exec -it Chat_with_Properties /bin/bash

0 comments on commit 443bbe2

Please sign in to comment.