-
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
feat: Prompt and LLM should accept images #149
Conversation
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.
Could you also resolve the TODO commit here by changing the code to use your new Prompt
implementation? It should be easy and will also serve as a test that the implementation serves the desired use-case.
@kdziedzic68 Just to make sure - have you seen this comment above? |
...agbits-document-search/src/ragbits/document_search/ingestion/providers/unstructured/utils.py
Outdated
Show resolved
Hide resolved
e6a7dda
to
d49944d
Compare
fix without touching precise mypy requirements add auto detection images from fields remove raise from generate_raw docstring remove add user message pr comments use prompt structure in unstructured image describer pr comments remove redundancies remove redundant argument from llm generate fix import remove redundant type igonre do not assume role user for last message in formating chat for llm image fileds definition fix import
d49944d
to
c79db3e
Compare
Code Coverage Summary
Diff against main
Results for commit: ec442f4 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Trivy scanning results. .venv/lib/python3.10/site-packages/PyJWT-2.9.0.dist-info/METADATA (secrets)Total: 1 (MEDIUM: 1, HIGH: 0, CRITICAL: 0) MEDIUM: JWT (jwt-token) .venv/lib/python3.10/site-packages/litellm/llms/huggingface_llms_metadata/hf_text_generation_models.txt (secrets)Total: 1 (MEDIUM: 0, HIGH: 0, CRITICAL: 1) CRITICAL: HuggingFace (hugging-face-access-token) .venv/lib/python3.10/site-packages/litellm/proxy/_types.py (secrets)Total: 1 (MEDIUM: 1, HIGH: 0, CRITICAL: 0) MEDIUM: Slack (slack-web-hook) |
No description provided.