quivr/backend/modules/brain
Stan Girard 2c71e0edc7
feat: Add pricing calculation method to GPT4Brain class and update user usage in chat controller (#2210)
This pull request adds a new method called `calculate_pricing` to the
`GPT4Brain` class in the codebase. This method calculates the pricing
for the GPT4Brain model. Additionally, the user usage in the chat
controller has been updated to include the new pricing calculation
method.
2024-02-18 23:05:13 -08:00
..
controller feat: 🎸 telemetry (#2169) 2024-02-07 20:44:37 -08:00
dto feat(integration): improve (#2199) 2024-02-16 11:32:13 -08:00
entity feat(integration): improve (#2199) 2024-02-16 11:32:13 -08:00
integrations feat: Add pricing calculation method to GPT4Brain class and update user usage in chat controller (#2210) 2024-02-18 23:05:13 -08:00
rags feat(custom): big brain (#2198) 2024-02-16 17:14:30 -08:00
repository feat(integrations): integration with Notion in the backend (#2123) 2024-02-05 21:02:46 -08:00
service feat(integration): implementation (#2191) 2024-02-14 20:07:53 -08:00
tests feat(integrations): integration with Notion in the backend (#2123) 2024-02-05 21:02:46 -08:00
__init__.py refactor: to modules (#1754) 2023-11-30 22:29:28 +01:00
api_brain_qa.py feat(integrations): integration with Notion in the backend (#2123) 2024-02-05 21:02:46 -08:00
composite_brain_qa.py feat(integrations): integration with Notion in the backend (#2123) 2024-02-05 21:02:46 -08:00
knowledge_brain_qa.py feat: Add pricing calculation method to GPT4Brain class and update user usage in chat controller (#2210) 2024-02-18 23:05:13 -08:00
qa_headless.py feat(lcel): migrated to lcel and pydantic (#2185) 2024-02-14 14:01:35 -08:00
qa_interface.py feat: Add pricing calculation method to GPT4Brain class and update user usage in chat controller (#2210) 2024-02-18 23:05:13 -08:00