-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand root README.md #10
base: main
Are you sure you want to change the base?
Expand root README.md #10
Conversation
### Configure the environment variables | ||
|
||
For local development, you need to configure the user certificates to access the *Stratio GenAI Developer Proxy* service. You need the URL of the service and the path of the folder where you uncompressed the user certificates. | ||
For your convenience, we provide a script that generates an `.env` file with all the needed variables by just giving it the path to your certificates folder and the host of the *Stratio GenAI Developer Proxy*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to check the env generated to see if all the variables are actually needed, and I think it would be nice to explain why the variable is needed (i. e., which component of GenAI core expects it to be defined)
4f0eeba
to
7a3a27c
Compare
7a3a27c
to
119e138
Compare
You should edit the `pyproject.toml` file and add a block like the following (changing the url with the actual URL of your *Stratio GenAI Developer Proxy*): | ||
```toml | ||
[[tool.poetry.source]] | ||
name = "genai-api-pypi" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pijada, en el original se llamaba "stratio-releases"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cd genai-examples/basic-actor-chain-example | ||
Also, in order to make Poetry trust this server, you need to configure it to use the CA of the cluster (the one included in the `zip` file with [your certificates](#user-certificates-and-vault-client-development-mode)): | ||
``` | ||
$ poetry config certificates.genai-api-pypi.cert /path/to/ca-cert.crt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@grios-stratio a mi me da un poco igual el nombre del repo, pero cambialo en todos los proyectos de examples. Si lo cambias solo aquí al ejecutar este comando no les va a funcionar.
@@ -1,34 +1,70 @@ | |||
## Stratio GenAI Chain Examples | |||
|
|||
This repository is intended to developers who want to create GenAI chains. | |||
This repository is intended for developers who want to create GenAI chains using the *Stratio GenAI Core* framework so the chains can be easily be deployed in *Stratio GenAI API*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cuando esté todo mergeado deberíamos pedir a teresa que lo revise. es un repo público.
No description provided.