Skip to content

Commit

Permalink
testing pandas ai groq
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Jul 23, 2024
1 parent 1439a56 commit e7247d1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
23 changes: 21 additions & 2 deletions PandasAI/GroqAPI/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,24 @@ EXPOSE 8000
# Run the Streamlit app
#CMD ["streamlit", "run", "app.py"]

# docker build -t pandasai_groqapi .
# podman build -t pandasai_groqapi .
# docker build -t py_test_pandasai_groqapi .
# podman build -t py_test_pandasai_groqapi .


#docker exec -it py_3_10_paigroq /bin/bash
#podman exec -it py_3_10_paigroq /bin/bash

# export GROQ_API_KEY=""
# export GROQ_API_KEY=""

# version: '3.8'

# services:
# my_python_dev_container:
# image: py_test_pandasai_groqapi #python:3.10
# container_name: py_3_10_paigroq
# ports:
# - "8701:8501"
# working_dir: /app
# #command: python3 app.py
# command: tail -f /dev/null #keep it running
5 changes: 5 additions & 0 deletions PandasAI/GroqAPI/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
pandasai==2.0 #https://pypi.org/project/pandasai/2.0/
langchain-groq==0.0.1 #https://pypi.org/project/langchain/0.1.9/
numpy==1.25.2
pandas==1.5.3
PyYAML==6.0.1
polars==0.20.2

#pandas

#streamlit
Expand Down
4 changes: 2 additions & 2 deletions PandasAI/OpenAI/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ EXPOSE 8501
#docker exec -it py_3_10 /bin/bash
#podman exec -it py_3_10 /bin/bash

export GROQ_API_KEY=
export GROQ_API_KEY=
# export GROQ_API_KEY=""
# export GROQ_API_KEY=""

# version: '3.8'

Expand Down

0 comments on commit e7247d1

Please sign in to comment.