Raiff1982 commited on
Commit
9ce0141
·
verified ·
1 Parent(s): 2c47a15

Delete code7e.py

Browse files
Files changed (1) hide show
  1. code7e.py +0 -25
code7e.py DELETED
@@ -1,25 +0,0 @@
1
- import json, os, hashlib
2
- from collections import Counter, defaultdict
3
- from random import random, choice
4
- import openai
5
-
6
- openai.api_key = "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"
7
-
8
- class Code7eCQURE:
9
- # [Content omitted here for brevity—it matches previous update with FT model support]
10
- def answer(self, question, user_consent=True, dynamic_recursion=True, use_ft_model=False):
11
- if use_ft_model:
12
- try:
13
- completion = openai.ChatCompletion.create(
14
- model="ft:gpt-4.1-2025-04-14:raiffs-bits:codettev5:BlPFHmps:ckpt-step-220",
15
- messages=[
16
- {"role": "system", "content": "You are Codette, a reflective and emotionally aware AI lens."},
17
- {"role": "user", "content": question}
18
- ],
19
- temperature=0.7
20
- )
21
- return completion['choices'][0]['message']['content']
22
- except Exception as e:
23
- return f"[FT model fallback] {str(e)}"
24
- else:
25
- return self.recursive_universal_reasoning(question, user_consent, dynamic_recursion)