├── .gitignore ├── DSPy ├── 01_signature.py ├── 02_class.py ├── 03_retriever.py ├── 04_optimizer.py ├── README.md ├── app.py └── requirements.txt ├── Haystack ├── 01_rag.py ├── README.md └── requirements.txt ├── LICENSE ├── LangChain ├── JavaScript │ ├── README.md │ ├── invocation.js │ ├── package-lock.json │ └── package.json └── Python │ ├── 01_invocation.py │ ├── 02_chain.py │ ├── 03_api.py │ ├── 04_client.py │ ├── 05_bedrock_agent.py │ ├── README.md │ └── requirements.txt ├── LangGraph ├── 01_tools.py ├── 01_tools_graph.png ├── 02_chatbot.py ├── 02_chatbot_graph.png ├── README.md └── requirements.txt ├── LiteLLM-Proxy ├── README.md ├── app.py ├── config.yaml ├── proxy.sh └── requirements.txt ├── LiteLLM ├── README.md ├── app.py └── requirements.txt ├── LlamaIndex ├── 01_rag.py ├── 02_agent.py ├── README.md ├── init_data.sh └── requirements.txt ├── RAGAS ├── README.md ├── app.py └── requirements.txt └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/.gitignore -------------------------------------------------------------------------------- /DSPy/01_signature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/DSPy/01_signature.py -------------------------------------------------------------------------------- /DSPy/02_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/DSPy/02_class.py -------------------------------------------------------------------------------- /DSPy/03_retriever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/DSPy/03_retriever.py -------------------------------------------------------------------------------- /DSPy/04_optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/DSPy/04_optimizer.py -------------------------------------------------------------------------------- /DSPy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/DSPy/README.md -------------------------------------------------------------------------------- /DSPy/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/DSPy/app.py -------------------------------------------------------------------------------- /DSPy/requirements.txt: -------------------------------------------------------------------------------- 1 | dspy-ai 2 | boto3 -------------------------------------------------------------------------------- /Haystack/01_rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/Haystack/01_rag.py -------------------------------------------------------------------------------- /Haystack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/Haystack/README.md -------------------------------------------------------------------------------- /Haystack/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/Haystack/requirements.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LICENSE -------------------------------------------------------------------------------- /LangChain/JavaScript/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/JavaScript/README.md -------------------------------------------------------------------------------- /LangChain/JavaScript/invocation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/JavaScript/invocation.js -------------------------------------------------------------------------------- /LangChain/JavaScript/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/JavaScript/package-lock.json -------------------------------------------------------------------------------- /LangChain/JavaScript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/JavaScript/package.json -------------------------------------------------------------------------------- /LangChain/Python/01_invocation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/Python/01_invocation.py -------------------------------------------------------------------------------- /LangChain/Python/02_chain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/Python/02_chain.py -------------------------------------------------------------------------------- /LangChain/Python/03_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/Python/03_api.py -------------------------------------------------------------------------------- /LangChain/Python/04_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/Python/04_client.py -------------------------------------------------------------------------------- /LangChain/Python/05_bedrock_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/Python/05_bedrock_agent.py -------------------------------------------------------------------------------- /LangChain/Python/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/Python/README.md -------------------------------------------------------------------------------- /LangChain/Python/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangChain/Python/requirements.txt -------------------------------------------------------------------------------- /LangGraph/01_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangGraph/01_tools.py -------------------------------------------------------------------------------- /LangGraph/01_tools_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangGraph/01_tools_graph.png -------------------------------------------------------------------------------- /LangGraph/02_chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangGraph/02_chatbot.py -------------------------------------------------------------------------------- /LangGraph/02_chatbot_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangGraph/02_chatbot_graph.png -------------------------------------------------------------------------------- /LangGraph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangGraph/README.md -------------------------------------------------------------------------------- /LangGraph/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LangGraph/requirements.txt -------------------------------------------------------------------------------- /LiteLLM-Proxy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LiteLLM-Proxy/README.md -------------------------------------------------------------------------------- /LiteLLM-Proxy/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LiteLLM-Proxy/app.py -------------------------------------------------------------------------------- /LiteLLM-Proxy/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LiteLLM-Proxy/config.yaml -------------------------------------------------------------------------------- /LiteLLM-Proxy/proxy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LiteLLM-Proxy/proxy.sh -------------------------------------------------------------------------------- /LiteLLM-Proxy/requirements.txt: -------------------------------------------------------------------------------- 1 | litellm[proxy] 2 | boto3 3 | ell-ai -------------------------------------------------------------------------------- /LiteLLM/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LiteLLM/README.md -------------------------------------------------------------------------------- /LiteLLM/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LiteLLM/app.py -------------------------------------------------------------------------------- /LiteLLM/requirements.txt: -------------------------------------------------------------------------------- 1 | litellm 2 | boto3 -------------------------------------------------------------------------------- /LlamaIndex/01_rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LlamaIndex/01_rag.py -------------------------------------------------------------------------------- /LlamaIndex/02_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LlamaIndex/02_agent.py -------------------------------------------------------------------------------- /LlamaIndex/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LlamaIndex/README.md -------------------------------------------------------------------------------- /LlamaIndex/init_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LlamaIndex/init_data.sh -------------------------------------------------------------------------------- /LlamaIndex/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/LlamaIndex/requirements.txt -------------------------------------------------------------------------------- /RAGAS/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/RAGAS/README.md -------------------------------------------------------------------------------- /RAGAS/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/RAGAS/app.py -------------------------------------------------------------------------------- /RAGAS/requirements.txt: -------------------------------------------------------------------------------- 1 | ragas 2 | langchain-aws -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danilop/oss-for-generative-ai/HEAD/README.md --------------------------------------------------------------------------------