Skip to content
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

Reference architecture for RAG #80

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dtonda
Copy link

@dtonda dtonda commented Sep 30, 2024

Code files for the following Reference Architecture : https://blog.ovhcloud.com/reference-architecture-retrieval-augmented-generation-rag/

@philippart-s
Copy link
Collaborator

@dtonda please move the files in ai/ai-endpoints/pyton-rag and update the Python section of the readme file.

Copy link
Collaborator

@philippart-s philippart-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dtonda small changes to do and refacto the examples location 😉

S3_container_name = "rag-knowledge-files"
ovhcloud_embedding_endpoint_url = 'https://multilingual-e5-base.endpoints.kepler.ai.cloud.ovh.net/api/text2vec'
ovhcloud_llm_endpoint_url = 'https://mixtral-8x22b-instruct-v01.endpoints.kepler.ai.cloud.ovh.net/api/openai_compat/v1/chat/completions'
postgre_host = 'postgresql-5840cdf3-oa2f926d2.database.cloud.ovh.net'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to use an environment variable than a plain host

# Fixed variables
ovhcloud_embedding_endpoint_url = 'https://multilingual-e5-base.endpoints.kepler.ai.cloud.ovh.net/api/text2vec'
ovhcloud_llm_endpoint_url = 'https://mixtral-8x22b-instruct-v01.endpoints.kepler.ai.cloud.ovh.net/api/openai_compat/v1/chat/completions'
postgre_host = 'postgresql-5840cdf3-oa2f926d2.database.cloud.ovh.net'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to use an environment variable than a plain host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants