{"id":25817319,"url":"https://github.com/pilarcode/rag_apis","last_synced_at":"2025-02-28T06:34:04.799Z","repository":{"id":223184451,"uuid":"737351701","full_name":"pilarcode/rag_apis","owner":"pilarcode","description":"🤖 Chatbot to recommend services from the api specification","archived":false,"fork":false,"pushed_at":"2024-02-20T20:31:55.000Z","size":1277,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-21T21:25:48.988Z","etag":null,"topics":["azureopenai","chromadb","gradio","langchain","llm","rag"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pilarcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-30T18:06:17.000Z","updated_at":"2024-02-18T19:17:13.000Z","dependencies_parsed_at":"2024-02-18T21:25:35.828Z","dependency_job_id":"f43bc362-80a5-42c1-b50e-d0e8b6fa9a06","html_url":"https://github.com/pilarcode/rag_apis","commit_stats":null,"previous_names":["pilarcode/rag_apis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilarcode%2Frag_apis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilarcode%2Frag_apis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilarcode%2Frag_apis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilarcode%2Frag_apis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilarcode","download_url":"https://codeload.github.com/pilarcode/rag_apis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241112472,"owners_count":19911693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azureopenai","chromadb","gradio","langchain","llm","rag"],"created_at":"2025-02-28T06:34:04.393Z","updated_at":"2025-02-28T06:34:04.794Z","avatar_url":"https://github.com/pilarcode.png","language":"Python","readme":"# QA chatbot\nChatbot to answer questions about api services. \n\n\n\u003cdiv id=\"header\" align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/pilarcode/rag_langchain/blob/main/app/assets/question_answer_es.png\" width=\"1000\"/\u003e\n \n\u003c/div\u003e\n\n# Data \nApi specification about pets.\n\n\n# Development\n### Init repo\n\n```bash\n$ git init .\n```\nand link it to the cloud repo. e.g.:\n```bash\n$ git remote add origin https://github.com/pilarcode/rag_langchain.git\n$ git branch -M main\n$ git push -uf origin main\n```\n\n# Deployment \n\nTo generate the containerized app and run it on-prem or on a VM, follow these steps:\n\n1. Build the Docker image:\n\n```bash\ndocker build -t mrag .\n```\n\n2. Run the Docker container:\n\n```bash\ndocker run -it -p 8046:8046 mrag\n```\n\n\n# Run\n\nTo interact with the assistant, open your browser. e.g., http://localhost:8046\n\n\n# Implemented with this tools \n* LangChain\n* Gradio\n* AzureOpenAI llm: gpt 3.5 turbo\n* AzureOpenAI embeddings: text-embedding-ada-002\n* Vector stores: Chroma\n* Jupyter notebooks\n* Python\n\n\n# Tests\n\n\n\u003cdiv id=\"header\" align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/pilarcode/rag_langchain/blob/main/app/assets/greetings.png\" width=\"1000\"/\u003e\n  \u003cp\u003eThe user says hi and the smart assistant should offer assistance to the users\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv id=\"header\" align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/pilarcode/rag_langchain/blob/main/app/assets/question_answer_en.png\" width=\"1000\"/\u003e\n  \u003cp\u003eThe user asks a question about a service in English\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv id=\"header\" align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/pilarcode/rag_langchain/blob/main/app/assets/question_answer_fr.png\" width=\"1000\"/\u003e\n  \u003cp\u003eThe user asks a question about a service in French\u003c/p\u003e\n\u003c/div\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilarcode%2Frag_apis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilarcode%2Frag_apis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilarcode%2Frag_apis/lists"}