-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: 🎸 sources #1591
feat: 🎸 sources #1591
Conversation
added sources in front and backend
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Risk Level 2 - /home/runner/work/quivr/quivr/frontend/app/chat/[chatId]/components/ChatDialogueArea/components/ChatDialogue/components/QADisplay/components/MessageRow/components/SourcesButton.tsx The code is generally well-written and follows good practices. However, there are a few areas that could be improved for better performance and readability.
{sources.split(', ').map((source, index) => (
<li key={source} className=\"truncate\">{source.trim()}</li>
))}
<div className=\"absolute z-50 min-w-max p-2 bg-white shadow-lg rounded-md border border-gray-200 position-popup\"> In the CSS file: .position-popup {
top: `${popupPosition.top}px`;
left: `${popupPosition.left}px`;
} Remember to update the state and the CSS file whenever the Risk Level 3 - /home/runner/work/quivr/quivr/backend/llm/qa_base.py
Example code: def _determine_api_key(self, openai_api_key, user_openai_api_key):
\"\"\"If user provided an API key, use it.\"\"\"
if user_openai_api_key is not None:
return user_openai_api_key
return openai_api_key 🔑🎨🔍 Powered by Code Review GPT |
🤖 I have created a release *beep* *boop* --- ## 0.0.106 (2023-11-06) ## What's Changed * feat: 🎸 sources by @StanGirard in #1591 **Full Changelog**: v0.0.105...v0.0.106 --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## 0.0.106 (2023-11-06) ## What's Changed * feat: 🎸 sources by @StanGirard in QuivrHQ/quivr#1591 **Full Changelog**: QuivrHQ/quivr@v0.0.105...v0.0.106 --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
added sources in front and backend