This commit is contained in:
EURAC\marperini 2024-04-11 14:29:43 +02:00
commit 7d521ef1c8
3 changed files with 11 additions and 3 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM python:3.11-slim
RUN apt-get update && apt-get upgrade -y && \
useradd -m -s /bin/bash app
USER app
RUN pip install scrapegraphai

View File

@ -12,11 +12,11 @@ load_dotenv()
# Define the configuration for the graph
# ************************************************
openai_key = os.getenv("OPENAI_APIKEY")
gemini_key = os.getenv("GOOGLE_APIKEY")
graph_config = {
"llm": {
"api_key": openai_key,
"api_key": gemini_key,
"model": "gpt-3.5-turbo",
},
}

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "scrapegraphai"
version = "0.1.3"
version = "0.1.4"
description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."
authors = [
"Marco Vinciguerra <mvincig11@gmail.com>",