Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
evoprompt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Grießhaber Daniel
evoprompt
Merge requests
!1
Refactor models
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Refactor models
refactor-models
into
master
Overview
17
Commits
22
Changes
6
Merged
Max Kimmich
requested to merge
refactor-models
into
master
7 months ago
Overview
17
Commits
22
Changes
6
Expand
There are now separate methods for creating messages for chat mode
Subclasses only take care of calling the model-specific completion methods
Model calls can be cached: _call_model will take care of it
Models are not taken into account for caching directly, but the options and kwargs used to initialize them are
Currently using the joblib.Memory module, not sure what the best option for caching (other options include ring, diskcache) is
Hasn't been tested using OpenAI API so far.
Edited
7 months ago
by
Max Kimmich
0
0
Merge request reports
Activity
All activity
Filter activity
Deselect all
Approvals
Assignees & reviewers
Comments (from bots)
Comments (from users)
Commits & branches
Edits
Labels
Lock status
Mentions
Merge request status
Tracking
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Please
register
or
sign in
to reply
Loading