LΓ©o Bourrel commited on
Commit
b7f6a3a
β€’
1 Parent(s): 6ddc1e6

feat: move to subfolder sorbobotapp

Browse files
app.py β†’ sorbobotapp/app.py RENAMED
File without changes
chat_history.py β†’ sorbobotapp/chat_history.py RENAMED
File without changes
connection.py β†’ sorbobotapp/connection.py RENAMED
File without changes
conversation_retrieval_chain.py β†’ sorbobotapp/conversation_retrieval_chain.py RENAMED
@@ -1,11 +1,9 @@
1
  import inspect
2
  from typing import Any, Dict, Optional
3
 
4
- from langchain.chains.conversational_retrieval.base import (
5
- ConversationalRetrievalChain,
6
- _get_chat_history,
7
- )
8
  from langchain.callbacks.manager import CallbackManagerForChainRun
 
 
9
 
10
 
11
  class CustomConversationalRetrievalChain(ConversationalRetrievalChain):
 
1
  import inspect
2
  from typing import Any, Dict, Optional
3
 
 
 
 
 
4
  from langchain.callbacks.manager import CallbackManagerForChainRun
5
+ from langchain.chains.conversational_retrieval.base import (
6
+ ConversationalRetrievalChain, _get_chat_history)
7
 
8
 
9
  class CustomConversationalRetrievalChain(ConversationalRetrievalChain):
css.py β†’ sorbobotapp/css.py RENAMED
File without changes
message.py β†’ sorbobotapp/message.py RENAMED
File without changes
model.py β†’ sorbobotapp/model.py RENAMED
File without changes
{models β†’ sorbobotapp/models}/article.py RENAMED
File without changes
{models β†’ sorbobotapp/models}/distance.py RENAMED
@@ -1,6 +1,5 @@
1
  import enum
2
 
3
-
4
  distance_strategy_limit = {
5
  "l2": 1.05,
6
  "cosine": 0.55,
 
1
  import enum
2
 
 
3
  distance_strategy_limit = {
4
  "l2": 1.05,
5
  "cosine": 0.55,
utils.py β†’ sorbobotapp/utils.py RENAMED
File without changes
vector_store.py β†’ sorbobotapp/vector_store.py RENAMED
File without changes