Skip to content

Commit

Permalink
Merge pull request #140 from deepset-ai/fix-decomposition-2
Browse files Browse the repository at this point in the history
moving import up
  • Loading branch information
TuanaCelik authored Sep 27, 2024
2 parents 045357b + a273b93 commit ba1e9bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions notebooks/query_decomposition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"from datasets import load_dataset\n",
"from openai import OpenAI, Stream\n",
"from openai.types.chat import ChatCompletion, ChatCompletionChunk\n",
"from typing import List, Any, Dict, Optional, Callable, Union"
"from typing import List, Any, Dict, Optional, Callable, Union\n",
"from pydantic import BaseModel"
]
},
{
Expand Down Expand Up @@ -223,8 +224,6 @@
},
"outputs": [],
"source": [
"from pydantic import BaseModel\n",
"\n",
"class Question(BaseModel):\n",
" question: str\n",
" answer: Optional[str] = None\n",
Expand Down

0 comments on commit ba1e9bf

Please sign in to comment.