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

Implement the LLM Client module #3

Closed
4 tasks done
este6an13 opened this issue Mar 3, 2024 · 0 comments
Closed
4 tasks done

Implement the LLM Client module #3

este6an13 opened this issue Mar 3, 2024 · 0 comments
Labels
feature New feature

Comments

@este6an13
Copy link
Contributor

este6an13 commented Mar 3, 2024

Create an LLMClient class with the following properties: model, embedding function, and api key.

Implement the necessary methods for:

  • Initializing the model.
  • Setting up the RAG chain.
  • Receiving queries.
  • Generating results.
este6an13 added a commit that referenced this issue Mar 7, 2024
- add `LLMClient` class to `llm_client` module
- add `__init__` method to `LLMClient` class
- add `setup_model` method to `LLMClient` class
- add `pytest` step to `pipeline.yml`
- add `TestLLMClient` unit tests
este6an13 added a commit that referenced this issue Mar 7, 2024
- add `LLMClient` class to `llm_client` module
- add `__init__` method to `LLMClient` class
- add `setup_model` method to `LLMClient` class
- add `pytest` step to `pipeline.yml`
- add `TestLLMClient` unit tests
@este6an13 este6an13 added the feature New feature label Mar 9, 2024
este6an13 added a commit that referenced this issue Mar 12, 2024
- add `setup_chain` method to `LLMClient` class
- add `test_setup_chain` unit test
este6an13 added a commit that referenced this issue Mar 12, 2024
- add `setup_chain` method to `LLMClient` class
- add `test_setup_chain` unit test
este6an13 added a commit that referenced this issue Mar 12, 2024
- add `setup_chain` method to `LLMClient` class
- add `test_setup_chain` unit test
este6an13 added a commit that referenced this issue Mar 12, 2024
- add `query` method to `LLMClient` class
- add `test_query` unit test
este6an13 added a commit that referenced this issue Mar 12, 2024
- add `query` method to `LLMClient` class
- add `test_query` unit test
este6an13 added a commit that referenced this issue Mar 16, 2024
- use `ChatHuggingFace` to instantiate a `Hugging Face` models
- use `HuggingFaceEndpoint` to connect to the `Hugging Face` model
- add `hugging-face` to `LLMClient`
- add `TestHuggingFaceLLMClient` unit test #20
- update `langchain` to `0.1.12` version #23
- install `transformers` dependency
- install `Jinja2` dependency
este6an13 added a commit that referenced this issue Mar 16, 2024
- use `ChatHuggingFace` to instantiate a `Hugging Face` models
- use `HuggingFaceEndpoint` to connect to the `Hugging Face` model
- add `hugging-face` to `LLMClient`
- add `TestHuggingFaceLLMClient` unit test #20
- update `langchain` to `0.1.12` version #23
- install `transformers` dependency
- install `Jinja2` dependency
este6an13 added a commit that referenced this issue Mar 16, 2024
- use `ChatHuggingFace` to instantiate a `Hugging Face` models
- use `HuggingFaceEndpoint` to connect to the `Hugging Face` model
- add `hugging-face` to `LLMClient`
- add `TestHuggingFaceLLMClient` unit test #20
- update `langchain` to `0.1.12` version #23
- install `transformers` dependency
- install `Jinja2` dependency
- add `HUGGINGFACEHUB_API_TOKEN` to `pipeline.yml`
este6an13 added a commit that referenced this issue Mar 16, 2024
- use `ChatHuggingFace` to instantiate a `Hugging Face` models
- use `HuggingFaceEndpoint` to connect to the `Hugging Face` model
- add `hugging-face` to `LLMClient`
- add `TestHuggingFaceLLMClient` unit test #20
- update `langchain` to `0.1.12` version #23
- install `transformers` dependency
- install `Jinja2` dependency
- add `HUGGINGFACEHUB_API_TOKEN` to `pipeline.yml`
este6an13 added a commit that referenced this issue Mar 16, 2024
- use `ChatHuggingFace` to instantiate a `Hugging Face` models
- use `HuggingFaceEndpoint` to connect to the `Hugging Face` model
- add `hugging-face` to `LLMClient`
- add `TestHuggingFaceLLMClient` unit test #20
- update `langchain` to `0.1.12` version #23
- install `transformers` dependency
- install `Jinja2` dependency
- add `HUGGINGFACEHUB_API_TOKEN` to `pipeline.yml`
este6an13 added a commit that referenced this issue Mar 25, 2024
- add `fastapi` to direct requirements
- add `uvicorn` to direct requirements
- add get endpoint to `api` module
- fix `PROJECT_ROOT` import in `context_builder` #4
- add `input` variable to llm client prompt #3
este6an13 added a commit that referenced this issue Mar 25, 2024
- add `fastapi` to direct requirements
- add `uvicorn` to direct requirements
- add get endpoint to `api` module
- fix `PROJECT_ROOT` import in `context_builder` #4
- add `input` variable to llm client prompt #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant