vertexai instructions

This commit is contained in:
LUIS NOVO 2024-10-22 22:52:51 -03:00
parent 5b1033fc11
commit e70788910d
3 changed files with 9 additions and 2 deletions

View file

@ -6,4 +6,5 @@ data/
.ruff_cache/ .ruff_cache/
.env .env
sqlite-db/ sqlite-db/
temp/ temp/
google-credentials.json

View file

@ -14,6 +14,12 @@ OPENAI_API_KEY=
# EXAMPLE - anthropic/claude-3-5-sonnet-20240620 # EXAMPLE - anthropic/claude-3-5-sonnet-20240620
ANTHROPIC_API_KEY= ANTHROPIC_API_KEY=
# VERTEXAI
# USE MODEL NAMES AS "vertexai/<modelname>"
# EXAMPLE - vertexai/gemini-1.5-pro-001
VERTEX_PROJECT=my-google-cloud-project-name
GOOGLE_APPLICATION_CREDENTIALS=./google-credentials.json
# OLLAMA # OLLAMA
# USE MODEL NAMES AS "ollama/<modelname>" # USE MODEL NAMES AS "ollama/<modelname>"
# EXAMPLE - ollama/gemma2 # EXAMPLE - ollama/gemma2

2
.gitignore vendored
View file

@ -10,7 +10,7 @@ __pycache__/
*.so *.so
todo.md todo.md
temp/ temp/
google-credentials.json
# Distribution / packaging # Distribution / packaging
.Python .Python
build/ build/